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

Creating an implementation sometimes breaks the C++ language server? #51

Open
Etherealflux opened this issue Feb 16, 2022 · 3 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Etherealflux
Copy link

Creating an implementation of a member function sometimes causes C++ features to break, in general. For example, the Problems tab no longer updates; existing errors remain highlighted even if I add or remove lines of code.

I know very little about reporting these kinds of issues, but I did see this in the Window log:

[2022-02-16 14:31:46.882] [renderer1] [warning] UNRESPONSIVE extension host, 'amiralizadeh9480.cpp-helper' took 100% of 5062.333ms, saved PROFILE here: 'file:///var/folders/tf/62gdm4xx4bddtyz106q__5340000gn/T/exthost-cdeae8.cpuprofile' [{"id":"amiralizadeh9480.cpp-helper","total":5062208,"percentage":100}]

I believe this started after the update from two days ago. I am running on MacOS Monterey. I tried removing and reinstalling the extension, but the behavior is the same.

It's not a consistent problem. I tried to reproduce it with a simple example and failed, but just had it happen again a few minutes ago.

Let me know what diagnostics I should be looking for!

@Etherealflux Etherealflux changed the title Creating an implementation sometimes breaks C++ the language server? Creating an implementation sometimes breaks the C++ language server? Feb 16, 2022
@pnelego
Copy link

pnelego commented Mar 12, 2022

Im having this issue consistently and i am no longer able to create implementation on any of my files.

EDIT: downgrading to 2.2 solves it.

@knetworx
Copy link
Contributor

knetworx commented Aug 22, 2023

I noticed this happening when attempting to create an implementation and the source file can't be found/created. For me, it broke the Vim plugin and basically just ignored all my key strokes. The editor is essentially locked out until I restart.

@bellicapax
Copy link

I have seen this happen more consistently when I have multiple classes/structs defined in a header. I haven't tested if there is a limit or threshold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants