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

Extension no longer working after update #41

Open
Ares9323 opened this issue Oct 3, 2021 · 15 comments
Open

Extension no longer working after update #41

Ares9323 opened this issue Oct 3, 2021 · 15 comments

Comments

@Ares9323
Copy link

Ares9323 commented Oct 3, 2021

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!

@amir9480
Copy link
Owner

amir9480 commented Oct 4, 2021

Hi @Ares9323

Please check your console as described here step by step.

@Ares9323
Copy link
Author

Ares9323 commented Oct 4, 2021

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

DungeonRoom.h.-.PluginProject.Workspace.-.Visual.Studio.Code.2021-10-04.17-11-18.mp4

@amir9480
Copy link
Owner

amir9480 commented Oct 4, 2021

@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.

@Ares9323
Copy link
Author

Ares9323 commented Oct 4, 2021

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

@taleroangel
Copy link

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

@Yo-Gurt123
Copy link

Yo-Gurt123 commented Oct 14, 2021

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.

@NoevilMe
Copy link

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

@kolchagov
Copy link

kolchagov commented Oct 20, 2021

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

@swq123459
Copy link

same

@maidamai0
Copy link

same for me

@studiosoho
Copy link

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.

@Ares9323
Copy link
Author

Ares9323 commented Dec 1, 2021

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

@amir9480
Copy link
Owner

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.

@Ares9323
Copy link
Author

Thanks for the update, it seems to work now!

@Ares9323
Copy link
Author

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

@amir9480 amir9480 reopened this Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants