Hey, I switched to VS Code a month ago, and wanted a way to easily run tox from it. Since apparently nothing like that exists so far, I used that as an excuse to dabble in Typescript a bit and wrote something: https://github.com/The-Compiler/vscode-python-tox/ The extension is quite simple - it runs "tox -a" to get all available tox environments, then presents a quick pick to select the environment to run. Finally, it opens a terminal in VS Code and runs tox with the selected environment (or environments). I'd be happy about feedback, contributions or even just code reviews! While I've used Python for a couple of years, this was the first time I did something non-trivial with Typescript. Florian -- me@the-compiler.org | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
That is great news! I wanted to do that for a long time but I was too busy with other projects, like writing https://marketplace.visualstudio.com/items?itemName=zbr.vscode-ansible Doing TypeScript is a PITA but vscode is awesome never the less. I am more than happy to help you with the extension as I am a heavy tox user myself. Most of my time spend on vscode extension was to dig for how other extensions were doing similar things and learn from there. You may want to consider moving the extension under tox-dev org, for extra visibility. -- /zbr On 17 Jun 2021 at 16:21:55, Florian Bruhin <me@the-compiler.org> wrote:
Hey,
I switched to VS Code a month ago, and wanted a way to easily run tox from it. Since apparently nothing like that exists so far, I used that as an excuse to dabble in Typescript a bit and wrote something:
https://github.com/The-Compiler/vscode-python-tox/
The extension is quite simple - it runs "tox -a" to get all available tox environments, then presents a quick pick to select the environment to run. Finally, it opens a terminal in VS Code and runs tox with the selected environment (or environments).
I'd be happy about feedback, contributions or even just code reviews! While I've used Python for a couple of years, this was the first time I did something non-trivial with Typescript.
Florian
-- me@the-compiler.org | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ _______________________________________________ tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/ Member address: ssbarnea@redhat.com
participants (2)
-
Florian Bruhin
-
Sorin Sbarnea