User forums > General (but related to Code::Blocks)
New features suggestion
Michael:
--- Quote from: Ocelot on May 15, 2006, 06:39:14 pm ---Hey, I just read this on gamedev forum :D
--- Quote ---I just love eclipse's refactoring capabilities (for example "rename variables/methods/classes" and "extract interface from class").
And the quickfixes are really great! For example, suppose you want to call a method on an object, but that method does not exist yet. Normally you'd go the corresponding class and add that method there, then go back and call that method.
With eclipse, you can "call" the method first, press Ctrl+1 and automagically create the method in the right class with the right parameter list.
--- End quote ---
It will be super to have thise functionalities in C::B
--- End quote ---
Hello,
You might want to give a look at here:
http://forums.codeblocks.org/index.php?topic=2279.0
Best wishes,
Michael
Ocelot:
:shock: I didn't know that it's so BIG work.
JL:
--- Quote from: Pecan on May 11, 2006, 01:42:19 pm ---Sounds like a plugin to me.
I was working on an idea like this called ScrapList.
It saved all those little preferences, debugging marks, bookmarks, etc in an external xml. It represented all these settings in a drag'n'drop tree list.
For example, you could drag any filename out of the projects list into the Scaplist like a bookmark. You could even drag the name of the project. If the project name fell off the "recently used" list, you could just drag it back from the ScrapList into the project window. Same with book/debugger marklets.
It also saves scraps of code, etc. It's a "scrap list". I was gonna name it "ScatList", but my nerveless side wouldn't let me.
Alas, I got side tracked with crash bugs and patches.
Will get back to it soon.
--- End quote ---
I think the most user friendly approach is just to automatically save the last visited positions. I suggest to only save a list of (file, line number, character in line). If you erase a word in a line, only the last position of the cursor in that line should be saved. Same with words added. So, in the list, the previous and the following line numbers should be different than current line number. You can save the list in memory or in an external XML file just as you said. Then, with a forward and a backward button, you should be able to navigate between the saved positions.
I have seen in other editors and it's really useful (Visual Studio, for example).
Navigation
[0] Message Index
[*] Previous page
Go to full version