Join Now

Carbide code bookmarks

Carbider | 03 December, 2007 16:28

During last weeks I’ve took part in FN Wiki November Contest. Yeah it would be cool to have N95 here, in Sevastopol :-) However we’ll wait till the results.

 

I decided to contribute to Wiki with the articles and the examples of what I’ve learned about Symbian programming.

I want to post here some articles that are related to my blog.

 


The code bookmarks in Carbide.

Carbide is designed to make development process more effective. Here is one feature which is inherited from Eclipse and which I like. It is a Bookmarks feature.

It lets you to 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.

Diagram 01 – Standard way to add bookmarks.

Diagram 01 – Standard way to add bookmarks.

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 2 – Assign a hotkey.

You can assign a hotkey to show Bookmarks window.
To do that repeat the same actions but pick “Views” at “Category” dropdown. And then pick “Show view (view: Bookmarks)” at name section. Select key combination. I chose “CTRL+ALT+B”.

 

 

Diagram 3 – Assign a hotkey to show bookmarks window.

Now you can navigate bookmarks by pressing Enter or double mouse click to pass to suitable line.

To make it more comfortable assign the Bookmarks view as a Fast View:

   

Diagram 4 – Make bookmarks view as a fast view

 

 

 

 

Now it can be easily removed by ESC key

and easily retrieved by CTRL+ALT+TAB hotkey.

 

 

 

The final navigation process will look like this:

 

 

Diagram 5 - Navigation


In my mind it is very convenient and greatly simplifies code navigation.

 

Comments

You must login to post comments. Login
 
 
Powered by LifeType