Intellisense tooltip applies text formatting on source code
See original GitHub issueEnvironment data
- VS Code version: 1.25.1
- Extension version (available under the Extensions sidebar): 2018.7.0
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.0
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): venv
- Relevant/affected Python packages and their versions: NA
Actual behavior
The tooltip applies text formatting to the displayed code, e.g. wrapping text in underscores italicizes it.
Expected behavior
The tooltip shows the code as it is written in the source.
Steps to reproduce:
- Use the mypy linter
- Define a variable in a class, using
self
, with underscores in its name - Assign a type to the variable with a type hint
- Hover over it to see the Intellisense tooltip
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
None
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
None
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Intellisense tooltip applies text formatting on source code #2225
The tooltip applies text formatting to the displayed code, e.g. wrapping text in underscores italicizes it. image. Expected behavior. The ...
Read more >IntelliSense in Visual Studio Code
IntelliSense. IntelliSense is a general term for various code editing features including: code completion, parameter info, quick info, and member lists.
Read more >C# IntelliSense - Visual Studio (Windows) - Microsoft Learn
In the code editor, IntelliSense can help you hook up methods (event handlers) to event fields. When you type the += operator after...
Read more >SQL IntelliSense and Autocomplete in SSMS | Redgate
IntelliSense and Code Completion in SQL Server Management Studio ... toggle on the SQL Text Editor ribbon to switch IntelliSense on or off....
Read more >Bootstrap tooltips not working - Stack Overflow
To sum up: activate your tooltips using jQuery selectors <script type="text/javascript"> $(function () { $("[rel='tooltip']").tooltip(); }); </script>.
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 FreeTop 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
Top GitHub Comments
@DonJayamanne A minimal sample:
Python workspace settings:
Fixed upstream (https://github.com/microsoft/python-language-server/issues/17)