Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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.

Image:Contrib_019_i01_bookmark.gif

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”.


Image:Contrib_019_i02_view.gif

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:


Image:Contrib_019_i03_fastview.gif

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.


Image:Contrib_019_i04_spaces.gif

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

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZcarbideQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX