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

Create an IntelliSense client when a completion (and other) IntelliSense requests occur #12143

Closed
sean-mcmanus opened this issue Mar 26, 2024 · 3 comments
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
Milestone

Comments

@sean-mcmanus
Copy link
Collaborator

Hi,

We have found one solution which works after opening the CPP file in background using vscode API "vscode.workspace.openTextDocument" and it does trigger "textDocument/didOpen" on the file and then calling the code completion API. The code completion works only after first some edit in the cpp files. for clangd extension it is working without doing any edit of cpp file in the IDE with the same approach. clangd/vscode-clangd#589 . Could you please see if we have some option to achieve the same in C/C++ extension?

Thanks,
Rajesh Kumar.

Originally posted by @Rajsmit in #8404 (reply in thread)

@sean-mcmanus sean-mcmanus added this to the 1.20.1 milestone Mar 26, 2024
@sean-mcmanus sean-mcmanus added this to Triage in 1.20 via automation Mar 26, 2024
@sean-mcmanus sean-mcmanus moved this from Triage to In progress in 1.20 Mar 26, 2024
@sean-mcmanus
Copy link
Collaborator Author

signatureHelp and documentHighlight should also be fixed.

@sean-mcmanus sean-mcmanus moved this from In progress to Pull Request in 1.20 Mar 26, 2024
@Colengms Colengms moved this from Pull Request to Done in 1.20 Mar 26, 2024
@Colengms Colengms added the fixed Check the Milestone for the release in which the fix is or will be available. label Mar 26, 2024
@sean-mcmanus
Copy link
Collaborator Author

@Rajsmit
Copy link

Rajsmit commented Apr 14, 2024

Hi @sean-mcmanus , Tested with v1.20.1 (pre-release) now the code completion is working with first time itself. Thanks for quick resolution.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
No open projects
1.20
Done
Development

No branches or pull requests

3 participants