Intellisense in PyCharm does not work correctly with current code structure
See original GitHub issueDescribe the bug
This only applies to commands. Code argument suggestions are all off by one, because self
is considered to be an argument (which it shouldn’t be). Additionally, should you Ctrl-click on a method, PyCharm takes you to the Commands
class and you have to Ctrl-click again to get to the actual method. This isn’t a huge issue but it hinders development.
I am not sure if this is PyCharm-exclusive or something experienced by other IDEs but I suspect it is not exclusive.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Code completion | PyCharm Documentation - JetBrains
Start typing a code construct and press Ctrl+Shift+Enter . PyCharm automatically completes the construct and adds the required punctuation. The caret is placed ......
Read more >Code completion in Pycharm is not working properly
**If code completion doesn't work, this may be due to one of the following reasons:** 1.The Power Save Mode is on (File |...
Read more >Editing Python in Visual Studio Code
Autocomplete and IntelliSense are provided for all files within the current working folder. They're also available for Python packages that are installed in ......
Read more >Modern IDEs are magic. Why are so many coders still using ...
Most importantly for users who didn't start coding in the last five ... that works even if my terminal isn't configured quite right...
Read more >Meet Android Studio | Android Developers
Android Studio is the official Integrated Development Environment (IDE) for ... identify and correct problems with the structural quality of your code.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Combining my original comments into one coherent one:
Ctrl-Alt-Click and Ctrl-Alt-B do not take me to the method definition, they only go to the declaration exactly as Ctrl-click does and I should say I am using vanilla PyCharm for shortcuts.
Here is an additional image explaining the argument shifting more clearly:
self
should not be highlighted as the first argument isnpt
.Agreed, it’s more pythonic. It wasn’t clear what the
self
parameter was. I’m going to merge.