microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.29k stars 1.17k forks source link

Add support for Xonsh Shell #3487

Closed meatballs closed 9 months ago

meatballs commented 5 years ago

Add support for the Python based shell, Xonsh (https://xon.sh/)

meatballs commented 5 years ago

This seems to have the 'needs PR' label but I've created #3488 for this issue. Is there something else I need to do?

brettcannon commented 4 years ago

We are going through old issues and we noticed that no one from the team had replied to this issue. I want to apologize for the oversight and to let you know that the issue was reviewed by the team and triaged (as shown by the labels applied to this issue).

anki-code commented 4 years ago

Thanks! We're really waiting the xonsh support.

curtisma commented 2 years ago

I notice #3488 was closed due to inactivity, any plans to still include support for a Xonsh shell integrated into VS code? It looks like it was really close and would be a wonderful addition.

@DonJayamanne @scopatz

anki-code commented 2 years ago

Hi @curtisma! Try this - https://github.com/jnoortheen/vscode-xonsh - Adds xonsh language support for VSCode Editor.

brettcannon commented 2 years ago

There are currently no plans and due to the number of upvotes it is unfortunately not a top priority for us.

curtisma commented 2 years ago

There are currently no plans and due to the number of upvotes it is unfortunately not a top priority for us.

Ok, makes sense.

jd-solanki commented 2 years ago

For me when my default shell is xonsh and I want to activate the virtual env when I open terminal from vscode it doesn't automatically activate the virtual env like it was doing for bash.

Is there any workaround for now?

brettcannon commented 2 years ago

@jd-solanki none that I'm aware of. How does xonsh activate a virtual environment mormally?

jd-solanki commented 2 years ago

Hi, Below is a screen recording of when I use bash & in vscode the python extension is enabled and I have the default interpreter configured:

https://user-images.githubusercontent.com/47495003/169757767-8474e7aa-a925-481d-8f1d-48f78046faa2.mp4

(It automatically activates the virtual env when I open the terminal)

Whereas when I use xonsh with the same vscode env:

https://user-images.githubusercontent.com/47495003/169757935-b994f2e5-65ec-4ef5-8a15-ef5e78dc4514.mp4

No interpreter is selected 😢

brettcannon commented 9 months ago

After talking this over w/ the team, we are unfortunately closing this issue due to limited resourcing compared to the interest in this feature (about 4 👍/year).