modules/frontend: add more python plugins to vscode

main
Felix Stupp 1 year ago
parent 3826a67e4c
commit a4cb0e4b5d
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -308,6 +308,11 @@ in
jnoortheen.nix-ide jnoortheen.nix-ide
# IDE: Python # IDE: Python
ms-python.black-formatter ms-python.black-formatter
ms-python.debugpy
matangover.mypy
# TODO (feature) maybe add isort, https://github.com/microsoft/vscode-isort, in nixpkgs
# pylance does not work with VSCodium due to MSFT
ms-pyright.pyright
ms-python.python ms-python.python
]; ];
keybindingsNext = { keybindingsNext = {
@ -404,6 +409,7 @@ in
"markdown.preview.fontFamily" = "-apple-system, BlinkMacSystemFont, 'DejaVu Sans', 'Segoe WPC', 'Segoe UI', 'HelveticaNeue-Light', 'Ubuntu', 'Droid Sans', sans-serif"; "markdown.preview.fontFamily" = "-apple-system, BlinkMacSystemFont, 'DejaVu Sans', 'Segoe WPC', 'Segoe UI', 'HelveticaNeue-Light', 'Ubuntu', 'Droid Sans', sans-serif";
"mypy-type-checker.importStrategy" = "fromEnvironment"; "mypy-type-checker.importStrategy" = "fromEnvironment";
"mypy.dmypyExecutable" = "${pkgs.mypy}/bin/dmypy";
"mypy.runUsingActiveInterpreter" = true; "mypy.runUsingActiveInterpreter" = true;
"notebook.cellToolbarLocation" = { "notebook.cellToolbarLocation" = {

Loading…
Cancel
Save