code completion error
Posted: Wed Sep 05, 2012 12:57 am
Hi,
attached here 2 files:
1. project/workspace. the CodeLite workspace is under RandomNumbersFsm\RN folder.
2. picture of the error message.
I put here a link to the article that I wrote in codeproject, in case an explanation for the code is needed. Generic Finite State Machine (FSM). If you want compile the VS version of the project you should download the one from the codeproject. the VS project that is attached here is crippled!
I'm getting code completion error when trying access methods in a project where I use clang as the parser (with ctags it is totally different story see ahead).
The project is portable (as far as I know) and was compiled under Visual Studio and gcc successfully.
In Visual Studio and Code::Blocks I get good completion, of course with slight changes between the two. The most important thing is that I had the code completion on both of them.
With CodeLite, however, I get no support for code completion when using the operator->(). for example try to use different method for NumbersGeneratorFsm->Generate(); in the file RandomNumbersFsm.cpp. you may use the method Stop() if you want.
switching to clang parsing in CodeLite brings the error.
If any of you is a guru in clang I would really appreciate the help.
It is important for me to be able to use CodeLite, because so far it is the easiest for me and other people to migrate from VS to more portable environment.
Thanks in advance
attached here 2 files:
1. project/workspace. the CodeLite workspace is under RandomNumbersFsm\RN folder.
2. picture of the error message.
I put here a link to the article that I wrote in codeproject, in case an explanation for the code is needed. Generic Finite State Machine (FSM). If you want compile the VS version of the project you should download the one from the codeproject. the VS project that is attached here is crippled!
I'm getting code completion error when trying access methods in a project where I use clang as the parser (with ctags it is totally different story see ahead).
The project is portable (as far as I know) and was compiled under Visual Studio and gcc successfully.
In Visual Studio and Code::Blocks I get good completion, of course with slight changes between the two. The most important thing is that I had the code completion on both of them.
With CodeLite, however, I get no support for code completion when using the operator->(). for example try to use different method for NumbersGeneratorFsm->Generate(); in the file RandomNumbersFsm.cpp. you may use the method Stop() if you want.
switching to clang parsing in CodeLite brings the error.
If any of you is a guru in clang I would really appreciate the help.
It is important for me to be able to use CodeLite, because so far it is the easiest for me and other people to migrate from VS to more portable environment.
Thanks in advance