Visual Studio Code for macOS, simple trick

in #visualstudiocode7 years ago (edited)

This is a simple command line trick for Visual Studio Code under macOS.

Open your VS code as usual, press ⇧⌘P and write "shell command". The command palette will show two options, install shell command or uninstall shell command.

Obviously choose the first one. Close the Visual Studio code.

Now with terminal go to your project folder, e.g. cd /Documents/myNodejsProject/

and write

code .

don't forget the dot at the end. The Editor will open you project with files and folders ready to code it. You can run the command for other project at the same time, will open a new VS code windows for the project itself.

You can do it with file -> open folder inside the VS code itself, but i think this simple trick is better.

Sort:  

Congratulations @tosolini! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.16
TRX 0.25
JST 0.034
BTC 95780.50
ETH 2701.26
SBD 0.68