You Are Here:

Community: Blogs

Open Source Bluetooth PAN's Forum Nokia Blog

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.

 

RSSComments

You must login to post comments. Login
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZdescriptionQSxE52andomE20thoughtsE20aboutE20mobileE20E28enterpriseE29E20applicationE20developmentE2eE20widianuserE20E7cE2013E20FebruaryE2cE202008E2014E3a48E20IE20madeE20aE20smallE20listE20ofE20E71uestionsE20thatE20IE20feelE20areE20importantE20toE20askE20fromE20aE20projectE20teamE20beforeE20divingE20deeperE20toE20anyE20mobileE20projectE2eE20E4cistE20goesE20likeE20thisE3aEa0Ea0IsE20solutionE20neededE20regularlyE20orE20doesE20itE20containE20informationE20thatE20changesE20freE71uentlyE3fE44oE20technicalE20reE71uirementsE20matchE20withE20targetE20groupE3fCanE20youE20makeE20itE20anyE20simplerE2cE20pleaseE3fHowE20toE20publishE20theE20solutionE3fIsE20itE20visualE3fWellE2cE20howE20muchE20doesE20thiE2eE2eE2eX qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fblogE2fharriE2dsalminensE2dforumE2dnokiaE2dblogE2f2008E2f02E2f13E2fE71uestionsE2dtoE2daskE2dbeforeE2dmobileE2dprojectX qdcZpublisherQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc764fd1cE2d8b06E2d499aE2d9a6aE2d17c3903d5a65E2fforumE5fnokiaE5fcrawlerE5fagentX qdcZtitleQSxHarriE20SalminenE27sE20ForumE20NokiaE20BlogE20E7cE20E51uestionsE20toE20askE20beforeE20mobileE20projectX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZBlogE45ntryQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxE52andomE20thoughtsE20aboutE20mobileE20E28enterpriseE29E20applicationE20developmentE2eE20widianuserE20E7cE2013E20FebruaryE2cE202008E2014E3a48E20IE20madeE20aE20smallE20listE20ofE20E71uestionsE20thatE20IE20feelE20areE20importantE20toE20askE20fromE20aE20projectE20teamE20beforeE20divingE20deeperE20toE20anyE20mobileE20projectE2eE20E4cistE20goesE20likeE20thisE3aEa0Ea0IsE20solutionE20neededE20regularlyE20orE20doesE20itE20containE20informationE20thatE20changesE20freE71uentlyE3fE44oE20technicalE20reE71uirementsE20matchE20withE20targetE20groupE3fCanE20youE20makeE20itE20anyE20simplerE2cE20pleaseE3fHowE20toE20publishE20theE20solutionE3fIsE20itE20visualE3fWellE2cE20howE20muchE20doesE20thiE2eE2eE2eX qfnZdistributionQUxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fX qfnZtopicQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fFNE2d1E2fBlogTopicE2fgeneralXRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZBlogE45ntryQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZupdatedQDx2008E2d07E2d26X qmarsZdescriptionQSxE52andomE20thoughtsE20aboutE20mobileE20E28enterpriseE29E20applicationE20developmentE2eE20widianuserE20E7cE2013E20FebruaryE2cE202008E2014E3a48E20IE20madeE20aE20smallE20listE20ofE20E71uestionsE20thatE20IE20feelE20areE20importantE20toE20askE20fromE20aE20projectE20teamE20beforeE20divingE20deeperE20toE20anyE20mobileE20projectE2eE20E4cistE20goesE20likeE20thisE3aEa0Ea0IsE20solutionE20neededE20regularlyE20orE20doesE20itE20containE20informationE20thatE20changesE20freE71uentlyE3fE44oE20technicalE20reE71uirementsE20matchE20withE20targetE20groupE3fCanE20youE20makeE20itE20anyE20simplerE2cE20pleaseE3fHowE20toE20publishE20theE20solutionE3fIsE20itE20visualE3fWellE2cE20howE20muchE20doesE20thiE2eE2eE2eX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZBlogE45ntryQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ