question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No autocomplete brackets added for user defined function with python extension

See original GitHub issue

Environment data

  • VS Code version: 1.46.1
  • Extension version (available under the Extensions sidebar): 2020.6.91350
  • OS and version: Ubuntu 16.04
  • Python version (& distribution if applicable, e.g. Anaconda): 3.5.2
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: Python, version 2020.6.91350
  • Value of the python.languageServer setting: “Microsoft”/"Jedi

Expected behaviour

User defined functions are identified as function for both Microsoft and Jedi language server Brackets can be auto added to user defined functions for both Microsoft and Jedi language server

Actual behaviour

User defined functions are identified as variable for Microsoft language server, as function for Jedi. Brackets can not be auto added to user defined functions for Microsoft. Can be for Jedi language server

Steps to reproduce:

link to symbol reference Using Jedi is not ideal since Intellisense requires Microsoft language server

microsoftlanguageserver

jedilanguageserver

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
OmnipotentCodercommented, Jul 18, 2020

In my case, I don’t even get bracket with inbuilt function like print, input and others also it’s just not adding any bracket to user-defined function and also to inbuilt function. I hope this problem get solve as fast it’s done because I get a habit of add bracket option

2reactions
rhklitecommented, Jul 18, 2020

Im facing the same issue after the 1.47.2 update

In my case, I don’t even get bracket with inbuilt function like print, input and others also it’s just not adding any bracket to user-defined function and also to inbuilt function. I hope this problem get solve as fast it’s done because I get a habit of add bracket option

Read more comments on GitHub >

github_iconTop Results From Across the Web

python extension for vs code - Stack Overflow
I have a problem with python autocomplete in visual studio code. The only way I can trigger the autocomplete function is with the...
Read more >
Tag Archives: brackets python autocomplete - TutorialBrain
Brackets is an open source code editor which is best suited for Website Designers ... It provides code hinting for PHP code, definition,...
Read more >
Editing Python in Visual Studio Code
In this overview, we will describe the specific editing features provided by the Python extension, including steps on how to customize these features...
Read more >
VS Code Python Autocomplete Now Adds Parentheses and ...
Autocomplete for Python now automatically adds parentheses and parameter names for functions and classes when you hit tab.
Read more >
Solved: How to enable auto-completion in Jupyter Notebook
Yes it is possible to use intellisense and autocomplete in Jupyter Notebook. No matter how good you are in programming with respect to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found