vscode-cpp-helper icon indicating copy to clipboard operation
vscode-cpp-helper copied to clipboard

Extension no longer working after update

Open Ares9323 opened this issue 3 years ago • 15 comments

Hi, I've just updated the extension and NONE of the command is working..

I tried uninstalling and resetting the settings. I Tested:

  • Create implementation (nothing happens)
  • Create implementation here (nothing happens)
  • Copy Implementation (nothing happens)
  • Create Header Guard (nothing happens)

I rolled back to previous version, If you want me to test please tell me and I will update again! I really use this extension everyday!

Ares9323 avatar Oct 03 '21 12:10 Ares9323

Hi @Ares9323

Please check your console as described here step by step.

amir9480 avatar Oct 04 '21 06:10 amir9480

Hi, I already checked the console and literally nothing is posted (both launching with right click or shortcut).

https://user-images.githubusercontent.com/46932745/135876983-dc4d70a0-4b7b-4eb1-9168-77084822434e.mp4

Ares9323 avatar Oct 04 '21 15:10 Ares9323

@Ares9323 I'm not sure why this happening Can you uninstall and install the extension again? Did you try using the extension on another machine? If possible please send me your source code, it can be a regex problem with your code.

amir9480 avatar Oct 04 '21 15:10 amir9480

Probably it's a regex problem, I tried to install vscode in a new virtual machine and I'm encountering the same problem, also the "copy implementation" doesn't work so it shouldn't be a path problem.

Here are the two files I used in the video, but it doesn't work in all the project (Previous version still works perfectly)

(I had to add .txt to the extension because .cpp and .h are not accepted)

DungeonRoom.cpp.txt DungeonRoom.h.txt

Ares9323 avatar Oct 04 '21 17:10 Ares9323

Same is happening to me after update, I'm working on Windows and it keep telling me 'Function not detected', even the simplest function like 'void foo();' keep saying Function not detected

taleroangel avatar Oct 14 '21 03:10 taleroangel

I have the same Problem. When there is a commentary in the Header File which starts with //. For example: //************************************************************************ // test //************************************************************************ void test( void );

doesn't work. It jumps into the source file and VS Code says "Function not detected".

But: void test( void );

works fine.

Yo-Gurt123 avatar Oct 14 '21 07:10 Yo-Gurt123

it looks like this happens if there is some comment in header file. // or /**/. vsc 1.62.0 insider.

NoevilMe avatar Oct 16 '21 13:10 NoevilMe

Hi, after update It's not working for me too, I've got "Function not detected" message. Nothing shown in Extension console log.

PS: downgraded to version 0.2.2 - works fine

kolchagov avatar Oct 20 '21 07:10 kolchagov

same

swq123459 avatar Oct 30 '21 09:10 swq123459

same for me

maidamai0 avatar Nov 23 '21 02:11 maidamai0

it looks like this happens if there is some comment in header file. // or /**/. vsc 1.62.0 insider.

That worked for me. Removed all comments from header file and the extension worked.

studiosoho avatar Dec 01 '21 17:12 studiosoho

it looks like this happens if there is some comment in header file. // or /**/. vsc 1.62.0 insider.

That worked for me. Removed all comments from header file and the extension worked.

Yes, we know that's the problem, but removing comments in the header Is NOT an acceptable solution, I'd rather use the older version

Ares9323 avatar Dec 01 '21 19:12 Ares9323

Please update to version 0.3.1. If still issue exists let me know.

I checked the new version with @Ares9323 's source code and everything works fine.

amir9480 avatar Feb 14 '22 15:02 amir9480

Thanks for the update, it seems to work now!

Ares9323 avatar Feb 14 '22 16:02 Ares9323

Edit: It's working but only on some files, for example in these it's still having the same problem: Test.zip

Rolled back to 2.2, feel free to contact me if you need anything

Ares9323 avatar Feb 16 '22 19:02 Ares9323