Adds VSCode extensions for python
This commit is contained in:
parent
d948c379bb
commit
cf0c1bf8a0
@ -7,6 +7,9 @@ let
|
|||||||
"dawhite/mustache"
|
"dawhite/mustache"
|
||||||
"GitHub/copilot"
|
"GitHub/copilot"
|
||||||
"kirozen/wordcounter"
|
"kirozen/wordcounter"
|
||||||
|
"ms-python/black-formatter"
|
||||||
|
"ms-python/python"
|
||||||
|
"ms-python/vscode-pylance"
|
||||||
"pedrorgirardi/vscode-cljfmt"
|
"pedrorgirardi/vscode-cljfmt"
|
||||||
"wmaurer/change-case"
|
"wmaurer/change-case"
|
||||||
];
|
];
|
||||||
@ -142,6 +145,9 @@ in {
|
|||||||
"[haskell]" = { editor.defaultFormatter = "haskell.haskell"; };
|
"[haskell]" = { editor.defaultFormatter = "haskell.haskell"; };
|
||||||
"[javascript]" = { editor.defaultFormatter = "esbenp.prettier-vscode"; };
|
"[javascript]" = { editor.defaultFormatter = "esbenp.prettier-vscode"; };
|
||||||
"[json]" = { editor.defaultFormatter = "esbenp.prettier-vscode"; };
|
"[json]" = { editor.defaultFormatter = "esbenp.prettier-vscode"; };
|
||||||
|
"[python]" = { editor.defaultFormatter = "ms-python.black-formatter"; };
|
||||||
|
|
||||||
|
black-formatter.args = ["--line-length" "100"];
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings = [
|
keybindings = [
|
||||||
|
@ -101,6 +101,24 @@
|
|||||||
version = "1.30.0";
|
version = "1.30.0";
|
||||||
sha256 = "000zhgzijf3h6abhv4p3cz99ykj6489wfn81j0s691prr8q9lxxh";
|
sha256 = "000zhgzijf3h6abhv4p3cz99ykj6489wfn81j0s691prr8q9lxxh";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "black-formatter";
|
||||||
|
publisher = "ms-python";
|
||||||
|
version = "2023.1.10581010";
|
||||||
|
sha256 = "14ab8hcqg37wa7mjbkrx4bmzrpgrdjvh2jswqra6j9c0jzbhb25k";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "python";
|
||||||
|
publisher = "ms-python";
|
||||||
|
version = "2023.5.10621009";
|
||||||
|
sha256 = "1iglj0vh5nga86sj508l85pl687i8p2q99vrsp98hxqd96z20c5i";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vscode-pylance";
|
||||||
|
publisher = "ms-python";
|
||||||
|
version = "2023.3.11";
|
||||||
|
sha256 = "1cniqhjyzjc9zn9dhr9dnj416f9j5lrd0x6z0clhxa5i0hsc2sb8";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "vscode-cljfmt";
|
name = "vscode-cljfmt";
|
||||||
publisher = "pedrorgirardi";
|
publisher = "pedrorgirardi";
|
||||||
@ -144,4 +162,4 @@
|
|||||||
sha256 = "1hxh5wg39h5k3p2cgh8vdh7l0pxsrw2cvfwbhsx8ifs8748qagi5";
|
sha256 = "1hxh5wg39h5k3p2cgh8vdh7l0pxsrw2cvfwbhsx8ifs8748qagi5";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user