some people use VS Code for other things‥

It seems that once we install nRF Connect into VS Code it completely takes over and now when I open any file in VS Code I see all of the nRF connect tabs and controls which is more than a little bit annoying

Please make it possible / easy to use VS Code without nRF Connect

Parents Reply Children
  • Hi

    If you only open a file, it will open in the workspace previous open in VS Code.

    To use workspace, you need to open a folder along with the file.
    For an example, say that we have two folders: "~/ncs" and "~/tmp". Our extension is only enabled in the "~/ncs" folder:

    #open with our extension disabled:
    code ~/tmp/ src/main.c 
    
    #open with our extension enabled:
    code ~/ncs/ src/main

    See How do I open a VS Code "workspace"?:
    " The easiest way to open a workspace is using the File menu and selecting one of the available folder entries for opening. Alternatively if you launch VS Code from a terminal, you can pass the path to a folder as the first argument to the code command for opening. "

    Regards,
    Sigurd Hellesvik

Related