locked
VS2010 Isolated Shell: Opening files in new tabs RRS feed

  • Question

  • Good afternoon,

    I've created a full language package and am using the Visual Studio Isolated Shell for distributing the language package.  My last step is adding all of the registry values so that my solution/code/project files will open using my custom isolated shell.  I would like projects/solutions to open in a new instance of the shell, but I would like code to open in a tab of a currently open shell (similar to current behavior in VS2010).

    Currently my code will open a new instance of the shell.  How can I change this behavior?  Here is the applicable registry information for my code file (same as project/solution).  I assume there is just a switch that I can pass to my program ...

     

    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0]
    @="Verilog Source file"
    
    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\DefaultIcon]
    @="C:\\%RootFolder%\\icons\\__VerilogSource.ico"
    
    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\shell]
    @=""
    
    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\shell\Open]
    @=""
    
    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\shell\Open\Command]
    @="\"C:\\%RootFolder%\\VerilogStudioShell.exe\" \"%1\""

    Thanks,

     

    Giawa

    Tuesday, August 16, 2011 9:48 PM

Answers

  • Changed command to:

    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\shell\Open\Command]
    @="\"C:\\%RootFolder%\\VerilogStudioShell.exe\" /Edit \"%1\""

    Easy enough.  Thanks,

    Giawa


    • Marked as answer by Giawa Tuesday, August 16, 2011 10:03 PM
    Tuesday, August 16, 2011 10:02 PM

All replies

  • Changed command to:

    [HKEY_CLASSES_ROOT\VerilogStudio.v.10.0\shell\Open\Command]
    @="\"C:\\%RootFolder%\\VerilogStudioShell.exe\" /Edit \"%1\""

    Easy enough.  Thanks,

    Giawa


    • Marked as answer by Giawa Tuesday, August 16, 2011 10:03 PM
    Tuesday, August 16, 2011 10:02 PM
  • Hi Giawa,

    Glad to know you have resolved this issue.

    Cheers,

    Yi


    Yi Feng Li [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Saturday, August 20, 2011 6:33 AM