microsoft / microsoft/vscode-cpptools

Strange inconsistency with comments showing on hover

Aperta
#5,612 5 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sean-mcmanus ci sta già lavorando.

Dal 17/12/2024.

bug Feature: Doc comments Language Service
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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

  1. Go to your header file
  2. Write comments on a couple lines
  3. Hover over them
  4. Only see the comments on one or two

Expected behavior

Seeing comments on anything with a comment above it

Screenshots

image
No comment

image
Removing the blank line above the comment fixes the problem


image
Comments don't show on any of them

image
Comments don't show on any of them

image
Comment only for 'range' shows up for somehow

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.