Code::Blocks
September 19, 2014, 11:47:44 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: When registered with our forums, feel free to send a "here I am" post in http://forums.codeblocks.org/index.php/topic,14168.0.html to differ human beings from SPAM bots.
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 2 [3]  All   Go Down
  Send this topic  |  Print  
Author Topic: A feature request about CC and BrowseTracker  (Read 9122 times)
ollydbg
Developer
Lives here!
*****
Offline Offline

Posts: 4068


Interests on OpenCV and Robotics


WWW
« Reply #30 on: August 25, 2009, 01:11:59 pm »

I want to share some ideas that came to my mind. I agree that a navigation like forward and backward is very useful, but I think a typical scenario is not covered with it.

You start a workflow like open declaration of function foo, then here you open another declaration of functions bar etc. Now after different steps you want to go to foo, since it is perhaps a very important function.

So what I am think about is some kind of labeled Bookmarks which can be managed and sorted in a favorite list. Imagine you are in the editor at function foo and open a context menu add Bookmark Label. Now this label appears a favourite list, e.g. a dockable windows in the message console. With this mechanism frequently used functions or relevant source code line could be accessed very easily.

Perhaps also a sort criterion like (sort by access frequency from favourite list) could be nice. What are you thinking about?

In the Filemanager Plugin there is already a favourite manager for directories and I find it very convenient.


Hi, firstly, thanks for the comment!
My question is: Where can I find the "Filemanager plugin"? I opened the Menu->plugins->manage plugins dialog, but I can't find such plugin.

Also, I think I have really finished a draft version of the "Navigate backward/forward" plugin. This is mainly based on the Trackbar plugin.

Here is the steps to use this plugin:

1, copy the source code to the directory "cb_source_root\src\plugins\contrib"
2. open the "TrackBar.cbp" and build it.
3, run update.bat.
4, then run cb from: "cb_source_root\src\output"

Note: since the short-cut for "Navigate back/forward" is "alt+left" and "alt + right", which may conflict the BrowseTracker plugin( This is another great plugin), so, you can change the short-cut key in :

Settings->Editor->keyboard shortcut, see like below(for me, I just delete the two short cut  Cheesy)



Here is the source code. Download and have fun. Note: I just add a event handler to the cbEVT_EDITOR_UPDATE_UI message in the code, the code is quite simple and self-explanation. Any comments are welcome!







[attachment deleted by admin]
Logged

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
mariocup
Developer
Lives here!
*****
Offline Offline

Posts: 587


« Reply #31 on: August 25, 2009, 01:28:23 pm »

Hi ollydbg,

you can download the filemanager from http://developer.berlios.de/projects/cbilplugin/.

The documentation can be found here: http://www.codeblocks.org/docs/main_codeblocks_en.html
Logged
ollydbg
Developer
Lives here!
*****
Offline Offline

Posts: 4068


Interests on OpenCV and Robotics


WWW
« Reply #32 on: August 25, 2009, 02:22:28 pm »

Hi ollydbg,

you can download the filemanager from http://developer.berlios.de/projects/cbilplugin/.

The documentation can be found here: http://www.codeblocks.org/docs/main_codeblocks_en.html
Ok, I will try and do a test!

By the way, the codeblocks documents is pretty good! My suggestion is: I think one big webpage to hold the manual is not convenient( It takes a long time to load the whole page in my web browser), I think you can divide them into several web pages.
Logged

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
mariocup
Developer
Lives here!
*****
Offline Offline

Posts: 587


« Reply #33 on: August 25, 2009, 02:28:26 pm »

Hi ollydbg,

this is only a generation option. You are right the loading of the screenshots takes some time. I will try to split the content in subsites.
Logged
blueshake
Regular
***
Offline Offline

Posts: 459



« Reply #34 on: August 25, 2009, 03:20:40 pm »

hi,mariocup
according to your address.i just found FileManager.cbplugin for download.
and it is out of date(version conflict),so where can i download the sourcecode.
thanks.
Logged

Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6595



WWW
« Reply #35 on: August 25, 2009, 03:31:03 pm »

Checkout (with svn) http://svn.berlios.de/svnroot/repos/cbilplugin/branches/FileManager for filemanager and http://svn.berlios.de/svnroot/repos/cbilplugin/branches/PowerShell for powershell.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
Pages: 1 2 [3]  All   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!