It does not work the ability to add features

General questions regarding the usage of CodeLite
midisa
CodeLite Enthusiast
Posts: 29
Joined: Tue Jun 15, 2010 7:25 am
Genuine User: Yes
IDE Question: C++
Location: Russia, Omsk
Contact:

It does not work the ability to add features

Post by midisa »

It does not work the ability to add features.

My system is Linux Ubuntu 10.04, version 2.5.3 editor.

In the resource editor, I add EditBox. I do event for EditBox. Saving resources and turn to your editor. The file gui.h I see a new event that I created for EditBox.
I looked at your training video, which you will automatically add the functions in your project.
http://codelite.org/docs/VideoTutorials/wxdemo_gui.html
I press the right mouse button on the name of the event.
I choose the menu option Code generation / Refactoring -> Add Function ...
But nothing happens. These menu items do not work.
What is my mistake?

Thank you.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: It does not work the ability to add features

Post by eranif »

When you add new methods to a base class, codelite needs to parse that file so it will know about it.

There are 2 ways of letting codelite knows about it and trigger a re-parsing of that file:
- The file was opened in codelite during its re-generation from the resource editor (which one are you using??) - this way codelite will detect that the file was modified and will reload+ reparse it

- Trigger a manual re-parsing of the workspace ( from the menu: workspace -> retag workspace (quick) ) by choosing the quick version, codelite will only re-tag the recently modified fiels

- Ofcourse, all the above is done automatically when modifying files from within codelite itself

Eran
Make sure you have read the HOW TO POST thread
midisa
CodeLite Enthusiast
Posts: 29
Joined: Tue Jun 15, 2010 7:25 am
Genuine User: Yes
IDE Question: C++
Location: Russia, Omsk
Contact:

Re: It does not work the ability to add features

Post by midisa »

I was doing everything correctly. Function is not added. I have a question: This editor is open source? I can get a project editor to make changes that I need? I'm new to programming for Linux and I need a good editor. I am ready to announce that needs to be done in the editor, if I can not get the source code editor.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: It does not work the ability to add features

Post by eranif »

You need to provide more details:
1) steps to reproduce
2) specify which tools you are using (resource editor?)
3) be more accurate in the little details: "Code generation / Refactoring -> Add Function ..." there is no such option, however there are 5 *similar* options, which one are you using?

And Yes, this is an open source project, search "codelite" in sourceforge.
Eran
Make sure you have read the HOW TO POST thread
Post Reply