Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

code in terminal

cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Comment

open vs code from terminal

# go to the directory and type
code . 
# it open vs code here . means open code in current directory
Comment

open vs code from terminal

Launch VS Code.
Open the Command Palette (Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
Restart the terminal
Navigate to project folder in terminal, 
Type code . press enter
Comment

PREVIOUS NEXT
Code Example
Shell :: mocha quiet 
Shell :: check all background process in linux 
Shell :: command line make file 
Shell :: copy only directory contents to another directory 
Shell :: update vs code ubuntu 
Shell :: read a file and count how many lines 
Shell :: remove in terminal 
Shell :: windows openssh passwordless login 
Shell :: netstat -anp | grep :80 | wc -l 
Shell :: stop gnix 
Shell :: du command 
Shell :: bash get result of function 
Shell :: sbatch: error: Batch script contains DOS line breaks ( ) sbatch: error: instead of expected UNIX line breaks ( ). 
Shell :: salir de vim 
Shell :: git checkout next commit 
Shell :: first 3 lines of a file 
Shell :: convert audio to mp3 with ffmpeg 
Shell :: find file 
Shell :: stop avd 
Shell :: git format-patch 
Shell :: nginx dockerfile 
Shell :: odoo docker 
Shell :: convert dos to unix with tr 
Shell :: multi line comment in shell script 
Shell :: how to update power shell with command 
Shell :: less command show line numbers 
Shell :: zip files linux 
Shell :: how to clone a private repo 
Shell :: emporary failure resolving 
Shell :: copy file to remote server 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =