amir9480 / vscode-cpp-helper

vscode extension to create implementation for c++ function prototypes.
https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper
MIT License
355 stars 31 forks source link

"Create Implementation" function stopped working properly. #42

Closed adncoach closed 2 years ago

adncoach commented 2 years ago

I don't know what I did wrong, but at some point I used the Create Implementation function and then I wanted to move the implementation code somewhere else, so I just selected the block and pressed Ctrl+X to cut. Maybe I pressed some other key combination instead, IDK, but after that Create Implementation doesn't work properly anymore.

If I declare a new function in the header and press Create Implementation, I get an error that reads "Function Not Detected". If I try to Create Implementation of a function that was declared before the function broke down, it creates Implementation of some other function or even of a declared variable for some reason.

I tried reinstalling the plugin, but it didn't help. Tried uninstalling VSCode and reinstalling it from scratch (deleted the Code folder in AppData too to get rid of all the cache), but it didn't help either.

Has anyone encountered a similar error and how can I fix it? It's a mild inconvenience, I can create implementations manually, but I just got used to using a hotkey for that.

Thank you in advance!

zhoonit commented 2 years ago

I have encountered the same situation, I think the issue is related to v0.3.0. I downgraded to v0.2.2 and it's working fine.

adncoach commented 2 years ago

@zhoonit Hmm, you're right! I got that working too by installing v.0.2.2. Thank you!