VSCode¶
Start (aus CMD heraus)¶
MacOS¶
Eintrag in ~/.bash_profile
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Weitere Varianten sind unter folgener URL zu finden (auch für Windows):
Tastenkombinationen¶
https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference
Windows-Benutzer verwenden die Ctrl-Tast, Mac-User die Cmd-Taste!
MacOS/Linux |
Windows |
Objekt |
Action |
---|---|---|---|
Alt |
Datei |
Datei in neuem Fenster |
|
Cmd+P |
Ctrl+P |
Datei |
schnelles Öffnen |
Shift+Cmd+P |
Shift+Ctrl+P |
Konfiguration |
|
Shift+Cmd+B |
Shift+Ctrl+B |
Termina/Run Build Task |
Build-Prozess starten |
pythonPath definieren¶
VSCode bietet die Standardinterpreter des Systems an. Über die Konfiguration:
Shift+Cmd+P/Shift+Cmd+P kann nach pythonPath gesucht und dort auch der Pfad angepasst werden.

In settings.json steht dann soetwas drin:
{
"python.pythonPath": "~/labs/bfinder/bin/python"
}
Pyramid-Start-Konfiguration¶
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Pyramid-Anwendung",
"type": "python",
"request": "launch",
"module": "pyramid.scripts.pserve",
"args": [
"${workspaceFolder}/development.ini"
],
"pyramid": true,
"jinja": true
}
]
}
Sphinx: make html¶
{
"version": "2.0.0",
"tasks": [
{
"taskName": "make html",
"command": "${workspaceFolder}\\ozg-zentral\\make.bat",
"args": [
"html"
],
"isShellCommand": true,
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Mit Microsoft-Telemetrie¶
https://code.visualstudio.com/Download https://code.visualstudio.com/docs
Ohne Microsoft-Telemetrie¶
Debian¶
als sudo:
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
| sudo apt-key add -
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ \
vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
apt update && sudo apt install codium