Last active
August 28, 2017 08:56
-
-
Save joma74/69f338f3c1f39adb42e68a551969977c to your computer and use it in GitHub Desktop.
!VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| All about MS VS Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| function storeNmbinPATH | |
| { | |
| export PATH=$(npm bin):$PATH; | |
| } | |
| function storeLibsPATH | |
| { | |
| export PATH=$PWD/libs:$PATH; | |
| } | |
| function storeWsRoot(){ | |
| export WSROOT=$PWD; | |
| } | |
| function unsetProxies(){ | |
| unset http_proxy; | |
| unset https_proxy; | |
| } | |
| OLDPATH=$PATH; | |
| storeNmbinPATH; | |
| storeLibsPATH; | |
| storeWsRoot; | |
| unsetProxies; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See https://code.visualstudio.com/docs/setup/linux | |
| # Install | |
| curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
| sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
| sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
| # Update | |
| sudo apt-get update | |
| sudo apt-get install code # or code-insiders |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Location ${HOME}/.config/Code/User/settings.json | |
| { | |
| "typescript.check.tscVersion": false, | |
| "typescript.tsserver.trace": "off" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Location ${WS_ROOT}/.vscode/settings.json | |
| // Place your settings in this file to overwrite default and user settings. | |
| { | |
| // "typescript.tsdk": "/home/joerg/.config/yarn/global/node_modules/typescript/lib/" | |
| // "typescript.tsdk": "/home/joma/.config/yarn/global/node_modules/typescript/lib/" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment