Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dot key triggering intellisense on the last column of multi-line block comments #13288

Open
KaeLL opened this issue Feb 16, 2025 · 2 comments
Open
Assignees
Labels
bug Feature: Auto-complete Language Service regression A bug that didn't exist in a previous release verified Bug has been reproduced
Milestone

Comments

@KaeLL
Copy link

KaeLL commented Feb 16, 2025

Environment

  • OS and Version: Fedora 41
  • VS Code Version: 1.97.2
  • C/C++ Extension Version: 1.23.6

Bug Summary and Steps to Reproduce

Open comment block, and press dot?

Configuration and Logs

Log from after pressing the dot key

LSP: (received) textDocument/didChange: file:///home/nvmd/test.c
LSP: (invoked) textDocument/didChange: file:///home/nvmd/test.c
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) textDocument/completion: file:///home/nvmd/test.c (id: 2508)
LSP: (invoked) textDocument/completion: file:///home/nvmd/test.c (id: 2508)
auto_complete::handle_completion: file:///home/nvmd/test.c (12:63)
Offering completion
LSP: Sending response (id: 2508)
LSP: (received) completionItem/resolve (id: 2509)
LSP: (invoked) completionItem/resolve (id: 2509)
LSP: Sending response (id: 2509)
LSP: (received) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2510)
LSP: (invoked) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2510)
LSP: Sending response (id: 2510)
LSP: (received) cpptools/getCodeActions: file:///home/nvmd/test.c (id: 2511)
LSP: (invoked) cpptools/getCodeActions: file:///home/nvmd/test.c (id: 2511)
LSP: Sending response (id: 2511)
LSP: (received) cpptools/getDocumentSymbols: file:///home/nvmd/test.c (id: 2512)
LSP: (received) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2513)
LSP: (invoked) cpptools/getDocumentSymbols: file:///home/nvmd/test.c (id: 2512)
LSP: (invoked) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2513)
tag parsing file: /home/nvmd/test.c
LSP: Sending response (id: 2513)
LSP: Sending response (id: 2512)
Intellisense update pending for: file:///home/nvmd/test.c
IntelliSense update scheduled and TU acquisition started for: file:///home/nvmd/test.c
Update IntelliSense time (sec): 0.007
LSP: (received) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2514)
LSP: (invoked) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2514)
LSP: Sending response (id: 2514)
LSP: (received) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2515)
LSP: (invoked) cpptools/getFoldingRanges: file:///home/nvmd/test.c (id: 2515)
LSP: Sending response (id: 2515)

Other Extensions

No response

Additional context

Image

@sean-mcmanus sean-mcmanus self-assigned this Feb 19, 2025
@sean-mcmanus sean-mcmanus added bug Language Service regression A bug that didn't exist in a previous release verified Bug has been reproduced Feature: Auto-complete labels Feb 19, 2025
@sean-mcmanus sean-mcmanus added this to the 1.24.2 milestone Feb 19, 2025
@sean-mcmanus sean-mcmanus changed the title dot key triggering intellisense inside comment block dot key triggering intellisense inside multi-line block comments Feb 20, 2025
@sean-mcmanus
Copy link
Contributor

Regression from 1.23.x.

@sean-mcmanus sean-mcmanus changed the title dot key triggering intellisense inside multi-line block comments dot key triggering intellisense on the last column of multi-line block comments Feb 20, 2025
@sean-mcmanus
Copy link
Contributor

Also, it only repros when completion is invoked at the last column in a multi-line comment.

@sean-mcmanus sean-mcmanus moved this to In progress in cpptools Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Feature: Auto-complete Language Service regression A bug that didn't exist in a previous release verified Bug has been reproduced
Projects
Status: In progress
Development

No branches or pull requests

2 participants