Page 1 of 1

export/import project setting

Posted: Tue Dec 08, 2009 12:17 pm
by Halley
It's great work of 2.0 release. Thanks to Eran and all the contributers.

Would you please help on some questions below?

1. export/import project setting
E.g. set "Additional Search Path" for one project, would like to re-use the settings for other projects. How to export/import Project Settings?
I can add new configureation in the configuration manager, but can't find out how to share a exiting configuration between two projects.

2. refresh project/file
When I rename/delete a file outside CL, how to sync/refresh the file in CL?
Even after "Reload Workspace", the file is still shown the old name, or it is still list in the Workspace view after deletion. It seems CL is not awared of this operation. How to make it sync?

3. remove path in "find in file" history
This might be trivia. "Search|Find in files:Look in", I add a path here, but find that, onec added, it can't be removed from the draw-down list (I donot mean the text-box below that list). I can only leave it alone.

4. build from source in windows
Can I build codelite from source code in windows without cygwin? I see cygwin1.dll in the install directory, so I wonder whether cygwin is necessary.

Thanks in advanced!

Re: export/import project setting

Posted: Tue Dec 08, 2009 1:46 pm
by eranif
Halley wrote:I can add new configureation in the configuration manager, but can't find out how to share a exiting configuration between two projects.
You cant.
The quickest solution: copy the .project file and rename it - it is a simple XML file
Halley wrote:When I rename/delete a file outside CL, how to sync/refresh the file in CL?
If you rename a file from outside codelite, codelite has no way to tell that its file has been changed. The file view is just the UI representation for the XML file.
If you want to rename a file, right click on it inside codelite and rename it.

other wise, remove it from the project and add the new file
Halley wrote:This might be trivia. "Search|Find in files:Look in", I add a path here, but find that, onec added, it can't be removed from the draw-down list (I donot mean the text-box below that list). I can only leave it alone.
You cant remove paths, but on the other hand: why do u care?

if you really want to remove, remove it from the file codelite.xml under C:\program files\codelite\config\codelite.xml (make sure you close codelite *before* u edit this file, since codelite will override it once closed)
Halley wrote:Can I build codelite from source code in windows without cygwin? I see cygwin1.dll in the install directory, so I wonder whether cygwin is necessary.
install codelite with wx+mingw (packaga available from SF)
checkout the sources of codelite, open the workspace LiteEditor.workspace and hit F7

CodeLite does NOT use cygwin, cygwin dll is there cause it is used by cscope.exe :)

Eran