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.

Function documentation does not show with python.autoComplete.addBrackets and IntelliSense

See original GitHub issue

Hello! 👋

There’s a slight problem with python.autoComplete.addBrackets. I couldn’t find a ticket for this, so I decided to write my own. I’m not sure whether this issue belongs here, or whether this problem has something to do with VSCode.

Environment data

  • VS Code version: 1.23.1
  • Extension version: 2018.4.0
  • OS and version: macOS Sierra 10.12.6
  • Python version: Python 3.6.5
  • Type of virtual environment used: N/A

Actual behavior

When the configuration option python.autoComplete.addBrackets is set to true, you do not get automatic VSCode hinting when your cursor enters the brackets.

actual

Expected behavior

Auto-hinting should kick off just the same when utilizing automatic bracket insertion. There is no real reason for it behaving the way that it does right now. Below is a picture of how the auto-hinting engine kicks off when you enter brackets manually.

expected

Steps to reproduce:

  1. Set python.autoComplete.addBrackets to true.
  2. Open up a Python file, and make sure that your Python environment is working correctly.
  3. Type a function name and hit TAB or Enter to auto-complete it.
  4. Brackets are inserted, but no auto-hinting.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
MartinRiddarcommented, Jun 2, 2020

Really annoying bug but I just found a “workaround” that for me at least makes the auto bracket feature useful again. If you insert a comma between the brackets you will trigger the documentation popup and then it works as usual again.

2reactions
nikpushkarskicommented, May 5, 2020

+1 I’d better subscribe for the thread, as this bug bothers me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code: Intellisense not working - Stack Overflow
Solution: Configure the path to the python executable in settings.json . ... vscode was not launched from the active virtual environment.
Read more >
Editing Python in Visual Studio Code
Editing Python in Visual Studio Code. Visual Studio Code is a powerful editing tool for Python source code. The editor includes various features...
Read more >
Intellisense Not Showing Python Docstrings From Custom ...
1. Intellisense/Autocompletion not working for custom modules Cause: The path to the python executable is incorrect. Solution: Configure the path to the python....
Read more >
Pxr autocomplete - Omniverse Isaac Sim
Looking at the pxr usd documentation they seem to suggest that they have pybindings that allow autocomplete. Is there a way I can...
Read more >
Autocomplete | Python in Visual Studio Code
Intellisense /Autocompletion not working for custom modules. Scenario: You have a module installed, however the IDE isn't displaying the ...
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