Example:
one tag database is for C++/w32API, and one database for wxWidgets, and the third database for boost.
how to attach three database at the same time?
Thanks!!
How to attach more tags database?
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to attach more tags database?
You can only attach one database at a time.
The only solution for you is:
If you need more than one source symbols (e.g. boost+wx+win API) create them all in the same database.
1) Run the wizard first and select the source path (e.g. boost path), create the database and save it under a name 'wx-winapi-boost.tags'
2) Run the wizard again, select the second path (e.g. wxWidgets), follow the wizard - but this time, when it ask you for the database name, use the same name as used in step 1
3) You can add as many 'tags' as your want to this database
Eran
The only solution for you is:
If you need more than one source symbols (e.g. boost+wx+win API) create them all in the same database.
1) Run the wizard first and select the source path (e.g. boost path), create the database and save it under a name 'wx-winapi-boost.tags'
2) Run the wizard again, select the second path (e.g. wxWidgets), follow the wizard - but this time, when it ask you for the database name, use the same name as used in step 1
3) You can add as many 'tags' as your want to this database
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
Re: How to attach more tags database?
Thanks! I do it, but the database is too big now! it's most 100MB, and when autocomplete, it's slow.
Have some option to strip the database?
Have some option to strip the database?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to attach more tags database?
Try:
1) Parse only header (i.e. dont parse *.cpp / *.c file, only *.h/*.hpp)
2) avoid parsing un-used headers
Indeed, 100MB sounds like a big database to me
Eran
1) Parse only header (i.e. dont parse *.cpp / *.c file, only *.h/*.hpp)
2) avoid parsing un-used headers
Indeed, 100MB sounds like a big database to me
Eran
Make sure you have read the HOW TO POST thread
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to attach more tags database?
I just tried to tag the entire boost library, it produces a 76MB database size (the completion is pretty good for it, in terms of speed).
However, I am guessing that on not-so-new computer it could cause a performance issues, I strongly suggest that you tag what you need.
For example, if you need boost::scoped_ptr, then tag the boost/smart_ptr directory only.
and so on and forth.
Tip:
instead of starting the tags Wizard from the menu, you can right click on the folder from the 'Explorer' tab (from the 'Workspace View' pane) and select the 'Add Tags' options.
Eran
However, I am guessing that on not-so-new computer it could cause a performance issues, I strongly suggest that you tag what you need.
For example, if you need boost::scoped_ptr, then tag the boost/smart_ptr directory only.
and so on and forth.
Tip:
instead of starting the tags Wizard from the menu, you can right click on the folder from the 'Explorer' tab (from the 'Workspace View' pane) and select the 'Add Tags' options.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
Re: How to attach more tags database?
Oh, I see!
thanks!
thanks!