Author Topic: Keyboard shortcut for previous file  (Read 4743 times)

Offline rhf

  • Multiple posting newcomer
  • *
  • Posts: 123
Keyboard shortcut for previous file
« on: July 22, 2007, 07:47:17 am »
Apologies for a really dumb question, but this is driving me crazy.

I frequently have several open files in the editor. When working on one file, I may switch to another, perhaps to check for a function name or something.
I then want to switch back to my original file. (I can't count the number of times I have hit Ctrl-F6, which is the shortcut to do this in the MSVC6 IDE.)
Presumably this is the file equivalent of Alt-F5 and Alt-F6 for switching between projects. F11 is useful for toggling between header and source files, but this is not always what I need.

Is there a function/keyboard shortcut to switch to the most recently opened file?

Note: For some reason Berlioz would not open up, so I could not check if this was a requested feature.


Thanks.

mariocup

  • Guest
Re: Keyboard shortcut for previous file
« Reply #1 on: July 22, 2007, 01:20:21 pm »
Hi rhf,

have a look on http://codeblocks.org/docs/manual_en.pdf. The features you like is described in the section plugin Browse Tracks and should be exactly what you are looking for. It is not part of the nightly, but you can download it from

http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

You must active in Settings->Notebook appearance the configuration: Use smart Tab-switching scheme.

Offline rhf

  • Multiple posting newcomer
  • *
  • Posts: 123
Re: Keyboard shortcut for previous file
« Reply #2 on: July 22, 2007, 03:43:03 pm »
...look on http://codeblocks.org/docs/manual_en.pdf. ... you can download it from
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Thanks mariocup.

From the description in the manual, it looks as though BrouseTracker is indeed what I need.
Unfortunately, when installing it - following the instructions on the wiki page - I get an installation error:

ERROR: C:\CodeBlocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)

Apparently, I am doing something wrong. I am on Windows XP using CB rev 4285.
Any suggestions would be appreciated.

Thanks.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2873
Re: Keyboard shortcut for previous file
« Reply #3 on: July 22, 2007, 04:27:00 pm »
...look on http://codeblocks.org/docs/manual_en.pdf. ... you can download it from
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Thanks mariocup.

From the description in the manual, it looks as though BrouseTracker is indeed what I need.
Unfortunately, when installing it - following the instructions on the wiki page - I get an installation error:

ERROR: C:\CodeBlocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)

Apparently, I am doing something wrong. I am on Windows XP using CB rev 4285.
Any suggestions would be appreciated.

Thanks.

It probably needs to be updated for the current CB rev.
I'll do that today.

You do not have to wait for me however. The zip includes the source and project file. You can compile and install it yourself for your own CB rev level.

Thanks for the report.
« Last Edit: July 22, 2007, 04:30:02 pm by Pecan »