update to zed settings
This commit is contained in:
parent
23b43d848c
commit
ff6d0206e3
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Überprüfen, ob pyrightconfig.json existiert, wenn nicht, erstelle es mit dem angegebenen Inhalt
|
# Überprüfen, ob pyrightconfig.json existiert, wenn nicht, erstelle es mit dem angegebenen Inhalt
|
||||||
if [ ! -f "pyrightconfig.json" ]; then
|
if [ ! -f "pyproject.toml" ]; then
|
||||||
echo '{"venvPath": ".", "venv": ".venv"}' > pyrightconfig.json
|
echo -e '[tool.pyright]\nvenv = ".venv"\nvenvPath = "."' >> pyproject.toml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Überprüfen, ob das Verzeichnis .venv existiert, wenn nicht, erstelle ein virtuelles Python-Umfeld
|
# Überprüfen, ob das Verzeichnis .venv existiert, wenn nicht, erstelle ein virtuelles Python-Umfeld
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"use_new_terminal": false
|
"use_new_terminal": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Setup Python Project (pyrightconfig.json)",
|
"label": "Setup Python Project (pyproject.toml)",
|
||||||
"command": "bash",
|
"command": "bash",
|
||||||
"args": ["~/.config/zed/initPython.sh"],
|
"args": ["~/.config/zed/initPython.sh"],
|
||||||
"use_new_terminal": false
|
"use_new_terminal": false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue