This page was last modified 08:05, 4 December 2007.
Carbide Customization
From Forum Nokia Wiki
Contents |
Introduction
Any IDE is designed to make development process more effective. This is attained by automation some processes, simple navigation.
Code Bookmarks
One of the Carbide’s features which is derived from Eclipse IDE is a Bookmarks navigation. It lets you mark any line in your source code assigning a description. After that you can navigate to it with help of a bookmarks dialog.
You can put a bookmark simply pressing right mouse button on a line numbers tab. But it is more comfortable to assign a hotkey.
To assign a hotkey go to Windows->Preferences. In filter text type “keys”. Select “Modify” tab. At “Command” section pick “Edit”. As a “name” pick “Add bookmark”. At the next “Key sequence” section press a key combination (I chose ALT+B). Press Add button.
Now you can press Alt+B at any line to bookmark it.
Diagram 1 – Assign a hotkey to add code bookmarks.
You can assign a hotkey to show Bookmarks window. To do that repeat the same actions but pick “Views” at “Command” section. And then pick “Show view (view: bookmarks)” at name section. Select key combination. I chose “CTRL+ALT+B”.
Diagram 2 – Assign a hotkey to show bookmarks window.
Now you can navigate bookmarks and press Enter or double mouse click to pass to suitable line.
To make it more comfortable assign the Bookmarks view as a Fast View:
Diagram 3 – Make bookmarks view as a fast view
Now it can be easily removed by ESC key and easily retrieved by CTRL+ALT+TAB hotkey.
In my mind it is very convenient and greatly simplifies code navigation.
Spaces instead of tabs
I prefer space characters to indent code blocks instead of tab character.
To toggle spaces only mode in carbide, go to Window->Preferences
Type “Code Style” in filter text. Click Edit button. At “Indentation” tab select “Spaces only” from the dropdown.
Diagram 4 – Spaces only mode
Epilogue
It would be a great affair if you add some carbide customization tips here. I will add some more tips when I learn more.
External links
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with useing Carbide C++ ide | ankushbabrekar | Carbide.c++ and CodeWarrior Tools | 2 | 2007-03-07 07:03 |
| Reporting defects in Carbide.vs? | superfrank | Symbian Tools & SDKs | 2 | 2006-03-15 09:26 |
| Carbide C++ 1.2 License Problem | meihao | Carbide.c++ and CodeWarrior Tools | 6 | 2008-02-28 21:20 |
| License expiration - but which tool? | tote_b5 | Symbian Tools & SDKs | 4 | 2007-10-30 13:56 |
| what are the main defference between symbian 9.1 and 9.2 os vertions | krgvs | General Symbian C++ | 6 | 2008-02-19 12:44 |




