Table of Contents
• Building CodeLite - Linux
On this page (hide)
If you do Ctrl+left click with the mouse, you get another caret at that point. Repeating this results in another caret each time. Why? Because each acts as an insertion point for typing. So if you want to add "bar" to several words, just Ctrl-click at the end of each, then type "bar". Do an ordinary click to exit.
Since CodeLite 7.0 there's another way to do something similar in a multi-line selection: Edit > Split Selection into Lines, Ctrl-Shift-L by default, will put a caret at the end of each line in the selection; again this lets you add or delete to multiple lines at once. It's less flexible than Ctrl-click as it's only the end of lines, and only for continuous blocks of lines; but for a 50-line block it's faster to type Ctrl-Shift-L once than to Ctrl-click 50 times.
You can select a rectangular block of text with the Alt and Shift keys. With them pressed, use either the mouse or the cursor-keys to extend the selection. The caret changes size to match the height of the selection.
(This came from http://codelite.org/forum/viewtopic.php?f=11&t=1109)
Do you want to use C++ 11 features (e.g. lambda expressions) with CodeLite? See this forum thread.
CodeLite has of ways of locating things. You can find files in the Workspace tab, strings using Search > Find and Find in Files, classes and functions using Outline and Cscope... However there's another that some people don't notice: Search > Find Resource, aka Sh-Ctrl-R.
How many lines of source-code may your files contain? Some people like lots e.g. the wxRichTextBuffer source file is over 13 thousand lines! Seeing its individual functions is hard.
Toggle all Folds doesn't do exactly quite that. Instead:
This is usually what you (or at least I) want. However since CodeLite 5.0 there's an extra option: Toggle Every Fold in Selection. This does what it says: only the selected code is touched, and it affects internal folds too. So if you want a particular function to have all its contents folded, select it, Toggle Every Fold in Selection, then unfold the function itself with Toggle Current Fold (or use the mouse). You can then unfold whichever individual areas you like.
CodeLite is 'associated' with the mimetypes application/x-codelite-workspace and application/x-codelite-project. This means that files ending in .workspace or .project can automatically be opened into CodeLite.
[Added Associations] application/x-codelite-project=codelite.desktop; application/x-codelite-workspace=codelite.desktop;