Comments (3)
Hello.
Thanks for using C++ Helper.
First, check if you can see Function not detected.
message when you click "Create implementation". If you see that then please send a sample header code that does not work and tell exactly where you right-clicked.
Otherwise, please follow these instructions.
#1 (comment)
from vscode-cpp-helper.
Hi. I followed the instructions and here is the result:
8667.log
exthost-c85225.cpuprofile.txt
Code examples:
NutrientsComponent.cpp.txt
NutrientsComponent.h.txt
P.S I noticed that the implementation was eventually created, but with a big lag.
P.P.S I tried on another PC, a similar story.
85993234334.log
exthost-aa8b87.cpuprofile.txt
from vscode-cpp-helper.
I tested regex on your code and figured out this happening because of Unreal Engine macros like ( UCLASS, GENERATED_BODY, ... ) causing the problem because of no ";" at end of the line so regex takes too much time to parse.
I optimized regex based on your code and now it looks like working.
Please update to version 0.0.7 and if still any issue exists let me know.
Thank you.
from vscode-cpp-helper.
Related Issues (20)
- Extension issue
- CppHelper.SourcePattern is very constraining for non-"all in one folder" source layouts HOT 5
- Extension issue
- Create Implementation leaves trailing space on signature of implementation HOT 1
- "Create Implementation" fails when header file contains comments HOT 2
- [Feature Request] Move Implementation to Source File
- Creating an implementation sometimes breaks the C++ language server? HOT 3
- Multi-line can not implement the function, I don't know if it is my operation problem HOT 2
- The extension fails to find the source file when it's not in "an obvious location". HOT 2
- Bug of creating implementation of the very first function of a header file HOT 1
- often get stuck HOT 2
- Implementations of multiple methods HOT 2
- [Feature Request] Adding `<class_name>::` in Front of the Generated Implementation
- namespace Scop Wrongly Parsed [bug]
- Creating source: file location (.) and extension (cpp) not configurable
- Minor issue with generated implementation for pure virtual functions
- Generate Header Guard: Sanitize File Name
- Class member function implementation generator doesn't work if there're comments
- Is Create Header Guard broken after last VSCode update? HOT 2
- Add ability to disable the update notification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-cpp-helper.