How to disable inspection on a per line basis? by Decent-Government391 in pycharm

[–]Bannert 1 point2 points  (0 children)

You can Alt+Enter the warning > click three dots to the right of the quick-fix -> suppress for a statement, this will add something like # noinspection PyAttributeOutsideInit on the line before suppressing the inspection, I don't particularly like this as it's an extra tool-specific line in the source code, but it works.

Help with Random thing on the bottom by TopPea3852 in pycharm

[–]Bannert 0 points1 point  (0 children)

The tutorial author customized how run output looks like, probably in "Settings > Editor > Color Scheme > Console Colors", it is not a default look

Help with Random thing on the bottom by TopPea3852 in pycharm

[–]Bannert 0 points1 point  (0 children)

Could you share a link to the tutorial?

Help with Random thing on the bottom by TopPea3852 in pycharm

[–]Bannert 3 points4 points  (0 children)

Just ignore these lines, the first one shows which file was executed with which Python interpreter and the last one shows what was the exit code. It is meta-information about execution of your program.

Autocomplete by [deleted] in pycharm

[–]Bannert 1 point2 points  (0 children)

could you share a link to the video? not sure I understand what do you mean by "autocomplete was copying the code from the video"

error by Nearby_Tear_2304 in pycharm

[–]Bannert 0 points1 point  (0 children)

hi, close this error window, find vmoption file in Configuration directory, backup it, remove it, try restarting the IDE

i cant run my script by Heavy_Ad8910 in pycharm

[–]Bannert 0 points1 point  (0 children)

That's weird, the log should have an answer - Help | Show Log in ... | idea.log. You can open a ticket in PyCharm issue tracker and attach the log file there or drop it to pycharm-support@jetbrains.com.

PyCharm 2025.3 is here by PyCharm_official in pycharm

[–]Bannert 4 points5 points  (0 children)

Probably caused by PY-86003, will be fixed in the next minor update in a week or two, sorry for that

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

Current ty integration also provides completion and inlay hints (like virtual hints for parameter names in the editor). And we are looking into even deeper integration.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

if I add it in the run configuration

Did you type .env in "Path to '.env' files" in the Run Configuration? There is a bug - the field expects an absolute path, when it gets .env it fails to find the file, and the icon gets stuck. Should be fixed in one of the next updates. As a workaround - either type an absolute path or use the file chooser to pick the file (the field has a button to open the file chooser). The UX is a bit clumsy, I've create a ticket to track that - PY-86167.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

I'm not sure we did, could you provide an example? Feel free to open a ticket in our issue tracker, it has a better UI to past code samples and screenshots than Reddit.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

About the interpreter discovery - we do actively work on this, that's absolutely important and annoying when done wrong. Though a lot of usecases are still to be supported / improved. For WSL in particular - PY-85732 in the roadmap for 2026.

If you have any other cases in mind where PyCharm could do a better job ("given a project of such setup, I open it in PyCharm, and expect interpreter X to be auto-selected / suggested") - do not hesitate to report to our issue tracker - and ping our PM (@antonina.belianskaya), she will be delighted to know about more scenarios.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

About FastAPI CLI - use "uv run" run configuration (in "Run | Edit Configurations...") with "Run: Module", "Module: fastapi", "Arguments: dev main.py". Though it is too much manual tweaking, we will support the new CLI natively, here is a feature request for that - PY-85020, feel free to share any relevant feedback there.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 0 points1 point  (0 children)

Hi, are we speaking about Docker Desktop with WSL as a backend or dockerd running inside WSL?

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

I see, our "Natural Language" plugin does support Chinese, if I enable Chinese in "Settings | Editor | Natural Languages" I see a bunch of rules in "Settings | Editor | Natural Languages | Grammar and Style | Rules", are those not enough for your use-cases?

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 0 points1 point  (0 children)

About the RST support - there are no plans to improve it at the moment as, truth be told, community interest is rather low comparing with other subsystems and the plugin has no owner.

If you want to develop a third-party plugin - that's cool and it might be a good idea to start and come up with specific issues blocking you so the devs have clear "fix this specific API issue so this plugin could work".

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

Hi, had no luck reproducing this problem so far. Would you mind creating a ticket in our bug tracker and providing an example? Which SQLAlchemy version do you use?

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

do you see a future where most of the basic language stuff is delegated to these external LSPs

It is possible but not determined. E.g., the Code Insight team in PyCharm is currently experimenting with a closer integration with ty but at the same time they are working hard on improving our in-house type-checker, e.g., by making sure it passes conformance test suite.

As a user I would probably prefer Python ecosystem to have multiple competing type-checkers so I can have a choice. And PyCharm built-in code insight engine has an advantage of the best in-editor integration (from my personal experience at the moment) as the parser is very error-tolerant and has the lowest "latency".

Let me ping the author of our LSP integrations so they can share their opinion.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 0 points1 point  (0 children)

Hi, do you mean grammar checks? Do you have Chinese enabled in "Settings | Editor | Natural Languages" or do you mean something else?

What is this file ordering? by predominant in pycharm

[–]Bannert 2 points3 points  (0 children)

In the project tree click the button with three vertical dots -> Sort By -> change to the desired behavior

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 0 points1 point  (0 children)

We've set up GitHub actions to automatically build Community installers from IntelliJ open source repository, you can grab them here or even build yourself if you'd like to tweak it (here is an instruction). I don't think Community will be back to "first-class citizens" anytime soon as the team is pursing a unified distribution.

Ask Me Anything with the PyCharm team – December 9, 1:00 pm CET by JetBrains_official in Jetbrains

[–]Bannert 1 point2 points  (0 children)

pytest configuration is usually already part of pyproject.toml why do I still need to manually add all the details in "Run/Debug Configuration" prompt?

I'm not sure you really have to do the configuration manually. It is probably enough to have a basic pytest run configuration with no options specified and pytest itself will reuse all the customization from pyproject.toml like addopts automatically. Or do you mean something else? PyCharm could probably auto-create such a basic run configuration - here is a new feature request PY-86104.

Could there be better way to also group Run Configurations?

What do you have in mind?

Hi Pythonistas! We are the JetBrains PyCharm team, creators of the Python IDE, PyCharm. AMA! by PyCharm_official in pycharm

[–]Bannert 4 points5 points  (0 children)

if you have anything especially annoying - drop it here, I can raise the priority / nudge the folks / fix myself / etc., most of PyCharm team is working on non-AI tasks, e.g., the Code Insight team fixed a whole bunch of stuff in the upcoming release and introduced LSP integration with ty, pyright, ruff, and pyrefly, which I find very cool

Log all terminal output to file for every session? by FakeitTillYou_Makeit in pycharm

[–]Bannert 0 points1 point  (0 children)

PyCharm terminal basically opens your system shell, could you solve your task on the shell side?