Hi,
i im trying to figure out how to use this nice ide to fully potential, because i wanted to refresh my knowledge of c++ after using other languages like java and c#
When i get this code completion tooltip, how can i switch through the overloaded functions using keyboard shortcuts e.g. it shows 1 of 7 and i want to jump to 2 of 7?
Is there an option to activate by using " for string begin to automatically insert the " for string end and jump between them for string input?
like for brackets when you got code completion tooltip and hit tab key
the tag system is nice and working but i miss something like a plugin or tool that tries to create and show something like a reference of all available functions, headers and classes installed
if it would be smart it could have an option for source files of libs to try to parse comments and add them to function description
code completion
-
- CodeLite Enthusiast
- Posts: 12
- Joined: Wed Jan 05, 2011 2:16 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: code completion
Up / Down arrowstemnozor wrote:When i get this code completion tooltip, how can i switch through the overloaded functions using keyboard shortcuts e.g. it shows 1 of 7 and i want to jump to 2 of 7?
From the main menu: 'Settings | Tags Settings | General | Triggering...'temnozor wrote:Is there an option to activate by using " for string begin to automatically insert the " for string end and jump between them for string input?
and enable it from there
From the main menu:temnozor wrote:the tag system is nice and working but i miss something like a plugin or tool that tries to create and show something like a reference of all available functions, headers and classes installed
'Plugins | Manage Plugins...'
Enable the plug-in SymbolView and restart codelite
You will see a new tab after restart (next to the 'Workspace' / 'Explorer' etc tabs) named 'Symbols' this will provide a tree form of all classes/namespaces/methods etc for the entire workspace.
In addition to this plugin, you can use the following shortcuts:
Ctrl-Shit-O --> provide an outline for the current file
Ctrl-Shift-T --> search for a class/struct etc (you can change the filter to open other types, like 'macros' functions' and others)
Ctrl-Shift-R --> similar to the above but to open source files
The completion box should display any comment which is written on top of a function (or side long it)temnozor wrote:if it would be smart it could have an option for source files of libs to try to parse comments and add them to function description
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 12
- Joined: Wed Jan 05, 2011 2:16 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: code completion
that doesn'T workeranif wrote:Up / Down arrowstemnozor wrote:When i get this code completion tooltip, how can i switch through the overloaded functions using keyboard shortcuts e.g. it shows 1 of 7 and i want to jump to 2 of 7?
e.g. if i use cin.get.... the autocompletion box opens and it shows me get and as tooltip that this function has 7 overloads...to use up/down arrows i cycle through the functions (in this cas the following is getline and the function befor is gcount) but i want to cycle through the tooltips for the different overloads of get
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: code completion
Ok, so you are talking about the assist tip for the code-completion box, simply click on the little black triangles
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 12
- Joined: Wed Jan 05, 2011 2:16 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: code completion
yeah that is what i mean so it looks like there is no keyboard shortcut in to scroll like e.g. shift+arrowkeys maybe you could add that in a future build
cheers
cheers