zed icon indicating copy to clipboard operation
zed copied to clipboard

Python issues in Zed (Meta tracking issue)

Open probably-neb opened this issue 9 months ago • 12 comments

There are quite a few issues affecting Python Zed users.

We'd like to change that, however, many of the engineers at Zed do not use Python frequently, and are therefore not as familiar with the ecosystem and the state of Python in Zed.

We will be collecting Python related issues here, so that we can prioritize Python issues appropriately, and also get a better understanding of the state of Python support in Zed as a whole.

Feel free to comment or link issues you think should be included in this list.

probably-neb avatar Mar 14 '25 04:03 probably-neb

Please consider https://github.com/zed-industries/zed/issues/16004 Make it easier to jump to the correct location of a runtime error from the terminal.

thorbenk avatar Mar 14 '25 21:03 thorbenk

I just added #26819 and #26820 Python issues, hopefully to be considered for addition to this meta issue.

bulletmark avatar Mar 15 '25 04:03 bulletmark

https://github.com/zed-industries/zed/issues/10832

tidely avatar Mar 15 '25 10:03 tidely

Another issue is you cant added .venvs yourself, if it's not in the root of the workspace it simply doesn't get recognized and manually adding one doesn't work either. I was expecting it would properly recognized nested .venvs, just as in vscode that works

ion-elgreco avatar Mar 16 '25 13:03 ion-elgreco

#21452 really annoying bug

tnkuehne avatar Mar 18 '25 20:03 tnkuehne

@ion-elgreco, is there an existing issue for what you described? If yes could you link it, otherwise could you make it? Thanks!

And thank you to everyone else who has linked issues, I'm super glad this issue is serving it's purpose so well already. Can't wait to get all of this fixed for you!

probably-neb avatar Mar 21 '25 21:03 probably-neb

Would be good to add this: allow auto-import using e.g. cmd-. after accepting a Zed AI Edit Prediction. When manually typing out code available imports are rendered but per this comment https://github.com/zed-industries/zed/discussions/13281#discussioncomment-10915718 you have to go through by hand, deleting them and re-typing them.

sam-atkins avatar Mar 22 '25 13:03 sam-atkins

@probably-neb https://github.com/zed-industries/zed/issues/27331 https://github.com/zed-industries/zed/issues/27332 https://github.com/zed-industries/zed/issues/20402 https://github.com/zed-industries/zed/issues/21743 https://github.com/zed-industries/zed/issues/4574 (not just python) https://github.com/zed-industries/zed/issues/10832 (tested it, still an issue) https://github.com/zed-industries/zed/issues/6787 https://github.com/zed-industries/zed/issues/14892 (something I also noticed with syntax highlighting being quite different from other ide's) https://github.com/zed-industries/zed/issues/19660 https://github.com/zed-industries/zed/issues/19957 https://github.com/zed-industries/zed/issues/21349 https://github.com/zed-industries/zed/issues/20876 (can't reproduce this though) https://github.com/zed-industries/zed/issues/22708 https://github.com/zed-industries/zed/issues/25564

And notebook support ofcourse :) https://github.com/zed-industries/zed/discussions/25936

ion-elgreco avatar Mar 23 '25 11:03 ion-elgreco

Also have this issue #16749

tnkuehne avatar Apr 01 '25 08:04 tnkuehne

Would be good if this papercut could also be dealt with https://github.com/zed-industries/zed/discussions/28413

sam-atkins avatar Apr 12 '25 06:04 sam-atkins

Another really annoying one: #21076 Thanks for collecting and fixing!

tnkuehne avatar May 03 '25 21:05 tnkuehne

#29699

ramipellumbi avatar May 12 '25 02:05 ramipellumbi

Adding this here: #23257

I'm not sure if the whole discussion linked above is relevant, but I'm really missing is the VSCode "Python: Run Selection/Line in Python Terminal" functionality. i.e. command-enter sends the line, selection, or code block to the "python" terminal, or the currently active terminal (depending on configuration).

The existing repl functionality doesn't replace this.

casperhart avatar Jun 13 '25 02:06 casperhart

Out of date, issues have been moved to an internal github project.

mikayla-maki avatar Jun 20 '25 19:06 mikayla-maki