workspace with custom build

General questions regarding the usage of CodeLite
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: workspace with custom build

Post by eranif »

walterwang wrote:By the way, i like the tags(CScope) in CL. but one thing maybe you can improve.
I have two places for the include files(/usr/include/ and /home/walter/include), and i made two tags for this two places, but i can only use one of them at the time. Maybe you can make a tags manager, in which one can select which built tags to be used
I added a new 'Tags Management' dialog, here is the screenshot:
Image

Eran
Make sure you have read the HOW TO POST thread
count0
CodeLite Enthusiast
Posts: 16
Joined: Fri Jul 04, 2008 10:46 am
Contact:

Re: workspace with custom build

Post by count0 »

There is one feature in CodeBlock which I would like to have in Codelite: the scripting language support.
I mean the scripting language Squirrel (and AngelScript before) which makes CodeBlock scriptable.

eranif, do you have any plan to add a scripting language to Codelite?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: workspace with custom build

Post by eranif »

count0 wrote: eranif, do you have any plan to add a scripting language to Codelite?
I had played with this idea before, but I think that most of CodeLite users wont be using it.

Beside, I can't see the benefit, maybe you can give some?

Eran
Make sure you have read the HOW TO POST thread
count0
CodeLite Enthusiast
Posts: 16
Joined: Fri Jul 04, 2008 10:46 am
Contact:

Re: workspace with custom build

Post by count0 »

The most benefit will be freedom to its users to do something the IDE doesn't have, and they don't have to change and compile the IDE itself. For example, if you expose the Plugin and LiteEditor interface to script, I can write a script to manipulable source code, or to do some automation tasks.

For what a scripting language can do, the extreme examples could be Emacs and Vim, just see how many scripts created by users.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: workspace with custom build

Post by eranif »

count0 wrote:I can write a script to manipulable source code, or to do some automation tasks.
I am a big fan of agile/extreme programming methodology, according to this philosophy:
"Write what you need" - this will take you faster to your target.

So, to translate it to the CodeLite world:

If you have a specific need to implement using scripting, name it and I will:
- add scripting engine to codelite (this is basically a one time task)
- expose the required API to the script engine to implement the specific task you need.

This way I dont have to work days/weeks to expose an un-needed API for scripting.

Eran
Make sure you have read the HOW TO POST thread
count0
CodeLite Enthusiast
Posts: 16
Joined: Fri Jul 04, 2008 10:46 am
Contact:

Re: workspace with custom build

Post by count0 »

eranif wrote: If you have a specific need to implement using scripting, name it and I will:
- add scripting engine to codelite (this is basically a one time task)
- expose the required API to the script engine to implement the specific task you need.

This way I dont have to work days/weeks to expose an un-needed API for scripting.
OK. The most thing I want to do is to get the source code (or just contents, if it is a .txt file) from a script, then to search, add or delete something. The source code could be from iterating the project and just current editing file.
Post Reply