Last active
August 7, 2018 09:37
-
-
Save MaximeWeyl/ecb91f6004ef22fdd6bbf440f3ad6f12 to your computer and use it in GitHub Desktop.
VS Code Anaconda config of shell launcher
This file contains 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
# DO NOT INCLUDE THIS COMMENT (this is not valid JSON) | |
# You can use this Gist to quicky setup an Anaconda workspace within VS Code on Windows | |
# Requirement : please first install the extension "Shell launcher" by Daniel Imms | |
# Usage : | |
# -Press Ctrl+Shift+P or F1 key to enter the VS Code prompt | |
# -Enter "Shell Launcher" | |
# -Select "Shell Launcher launch" | |
# -Select what you want : "Anaconda", "Git bash", or "Notebook" | |
{ | |
"shellLauncher.shells.windows": [ | |
{ | |
"shell": "C:\\Windows\\System32\\cmd.exe", | |
"label": "Anaconda", | |
"args": ["/K", "C:\\anaconda3\\Scripts\\activate.bat", "C:\\anaconda3"] | |
}, | |
{ | |
"shell": "C:\\Windows\\System32\\cmd.exe", | |
"label": "Notebook", | |
"args": ["/C", "C:\\anaconda3\\Scripts\\activate.bat C:\\anaconda3 && jupyter notebook --notebook-dir=."] | |
}, | |
{ | |
"shell": "C:\\Users\\USER\\AppData\\Local\\Programs\\Git\\bin\\bash.exe", | |
"label": "Git bash" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment