When I want to Ctrl + Click the error link in terminal VS Code (first project), it showing Open folder in new window (I felt uncomfortable when this happened)
Open folder in new window
but when open second project file and ctrl + click the error link in terminal VS Code, it showing Open file in editor
Open file in editor
I want to set default my terminal, if I ctrl + click on terminal, it showing Open file in editor (second project).
Do you know how to do it?
Say I have a project/folder open in VS Code and I want to open the folder in Windows Explorer, is there keyboard shortcut or a VS Code Extension for that? Sometimes I also need to go to the project folder in command prompt.
In Visual Studio 2017, there's a menu option to open the folder and an extension for quickly getting to the project folder in command prompt -- see below:
How do I handle these in VS Code?
Right click on a file or folder from the left side explorer of VSCode, then select "Reveal in Explorer". Now you can see the folder in windows explorer.
Description:
When i open a selected file from windows explorer using right click menu with "Open with VS Code", VSCode only open the file i selsected. It did't reopen the previous files like sublime.
Is there any way to change this behavior?
already set "window.restoreWindows": "all"
OS: Windows 10 1803
VSCode 1.24.0
I love VSCode. But I can't find a way to close an opened folder. It seems that you can only open one folder at a time. And the only way to close it is to close the whole program?
Am I missing something?
The command to close the currently opened folder can be found from File -> Close Folder.
You can also use the shortcut:
Ctrl+K F
(press and hold Ctrl, then press and release K, then release Ctrl, and then press F)
And on a Mac:
⌘+k f
With the 0.3.0 update we added a new command to close a folder. You can find it under the File menu.
VSCode doesn't have an explicit close folder gesture yet. You can either select File > Open Folder in a open windows of VSCode or select File > New Window and in there File > Open. Having multiple open folders inside a single window isn't supported.
As VS Code remembers the last session when opened, you can:
open New Window (Ctrl+Shift+N) - this will open new VS Code with no project folders opened,
close the old window (with opened project folder),
close the new one.
Next time you run VS Code, it should look like the last window you closed and thus without any folders opened.
Note that this process closes ALL opened folders.
For all what you have in your mind for "Visual Studio Code" use simply "Command Palette" throught
menu: VS Code / View / Command Palette...
keyboard: CMD / CTRL + SHIFT + P
and then you can find all by text.
text: Close All Editors
keyboard: CMD / CTRL + K + W
Also you can find and redefine all "Key Bindings" here
menu: VS Code / Code / Preferences / Keyboard Shortcuts
keyboard: CMD / CTRL + K + S
if open a folder in workspace ( File > Add Folder to Workspace ) you can close folder with [ right click on folder name > remove folder from workspace ] but if you open folder from (file > open folder) you can close with [File > Close Folder]
I often have to edit the build path of my project in eclipse. Is there a keyboard shortcut that will open the window as "configure build path" option in Eclipse?
Right click on any project in package explorer, select Build Path..> Configure Build Path...
Select any project in package explorer press Alt + Enter.
First step is necessary as property dialog remembers the previously selected node.