microsoft / microsoft/vscode-cpptools
Strange inconsistency with comments showing on hover
Offen
@sean-mcmanus arbeitet bereits daran.
Seit 17.12.2024.
bug
Feature: Doc comments
Language Service
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
Type: LanguageService
Describe the bug
- OS and Version: Win10 10.0.18363 Build 18363
- VS Code Version: 1.45.1
- C/C++ Extension Version: 0.28.2
- Other extensions you installed (and if the issue persists after disabling them): NA
- Does this issue involve using SSH remote to run the extension on a remote machine?: NA
- A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc): Comments are being detected sometimes, and other times not. There appears to be some sort of 'rule set' governing when a comment is shown in the UI
Steps to reproduce
- Go to your header file
- Write comments on a couple lines
- Hover over them
- Only see the comments on one or two
Expected behavior
Seeing comments on anything with a comment above it
Screenshots

No comment

Removing the blank line above the comment fixes the problem

Comments don't show on any of them

Comments don't show on any of them

Comment only for 'range' shows up for somehow
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.