Answers for "vs code open with code"

23

open visual studio code from terminal mac

#Add Bash alias in .bash_profile ?
$ alias code="open -a /Applications/Visual Studio Code.app"

#Open Visual Studio Code by command
$ code .
Posted by: Guest on November-02-2020
2

Right click on Windows folder and open with Visual Studio Code

Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT*shellOpen with VS Code]
@="Edit with VS Code"
"Icon"="C:\Program Files (x86)\Microsoft VS Code\Code.exe,0"
[HKEY_CLASSES_ROOT*shellOpen with VS Codecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%1""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOTDirectoryshellvscode]
@="Open Folder as VS Code Project"
"Icon"=""C:\Program Files (x86)\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryshellvscodecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%1""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscode]
@="Open Folder as VS Code Project"
"Icon"=""C:\Program Files (x86)\Microsoft VS Code\Code.exe",0"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellvscodecommand]
@=""C:\Program Files (x86)\Microsoft VS Code\Code.exe" "%V""



Use This Lines And save file as .reg extension file and run it
ex: addVscode.reg
Posted by: Guest on November-28-2020

Browse Popular Code Answers by Language