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

Commands not found #2

Closed DnnMitko closed 4 years ago

DnnMitko commented 4 years ago

I keep getting these notifications whenever i try to use any of the features:

command 'cpp-helper.create-header-guard' not found command 'cpp-helper.create-implementation' not found

My settings are:

"CppHelper.HeaderGuardPattern": "__{FILE}_H__", "CppHelper.SourcePattern": [ "{FILE}.cpp", ]

I'm on VSCode version: 1.43.2

I tried reinstalling the extension, reloading the window, disable/enable of the extension and binding commands to shortcuts. I can find the commands in the keybindings and it knows they're valid.

amir9480 commented 4 years ago

Hello.

I need more information to find the issue. So I need you to do these to get more information:

At last, you can enable your extensions by command Extensions: Enable All Extensions.

And also tell what OS you are using. Thanks.

Screenshots: image image image image image image image

DnnMitko commented 4 years ago

I'm running on a Debian GNU/Linux 8 64bit This is what I got as i opened a header, before even getting to click on a command. Nothing new was added as i clicked on either commands.

Spectacle J10685

abstractExtensionService.ts:396 Activating extension 'amiralizadeh9480.cpp-helper' failed: Cannot find module './Helpers' Require stack:

amir9480 commented 4 years ago

@DnnMitko I think it's platform-specific problem because of file name case-sensitivity so I gonna install a Linux OS and test extension on that as soon as possible. Thanks for your patience and help.

amir9480 commented 4 years ago

Hello.

The issue solved in v0.0.5. I tested on Ubuntu 18.04 and v0.0.5 works fine. And it was a problem with compiled files on my windows.

⭐🌟⭐ 😉 👆