Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Matching Brace Plug-In
killerbot:
Dear all,
I have created a new plug-in which allows you to jump to the matching brace.
I provided menu entries in : Edit-menu and the right-click context menu in the editor pane.
The shortcut is : ctrl-shift-b, just like it is in Dev-cpp.
The sources, together with a compiled dll (compiled on WinXP SP2, wxWindows 2.4.2) can be found here :
http://users.pandora.be/lieven.de.cock/CodeBlocks/MatchingBrace.zip .
For the windows folks, just copy the dll into <Code::Blocks-dir>\share\plugins
I hope you like it, I will provide some more info in a tutorial on the wiki on how the code actually works (so you get to know some api functions).
TO DO for version 1.1: when there is no editor open, the menu entries should be disabled and should become enabled again when a new editor is present.
kind regards,
Lieven
PS : Yiannis feel free to add this as core functionality, it is kind of overkill maybe to have a plug-in for such a small "added" functionality ?
mandrav:
Thanks Lieven :)
I guess I 'll add the functionality to the core.
killerbot:
It is not compatible with 1.0RC2 due to wxWindows, I will provide an updated version, just for educational purposes, since the real functionality will be inserted in the core.
killerbot:
Dear all,
I have upgraded the plug-in for RC2.
You can download it at :
http://users.pandora.be/lieven.de.cock/CodeBlocks/MatchingBraceForRC2.zip
Enjoy,
Lieven
kisoft:
--- Quote from: killerbot on October 26, 2005, 09:34:11 am ---Dear all,
I have upgraded the plug-in for RC2.
You can download it at :
http://users.pandora.be/lieven.de.cock/CodeBlocks/MatchingBraceForRC2.zip
Enjoy,
Lieven
--- End quote ---
Thanks, I download this version and compile for SVC (RC2) version C::B.
It's work, great!
I must edit a project options for compile:
Custom variables:
CB_SDK=C:\codeblocks
on
CB_SDK=C:\Devel\codeblocks\src
Accent on "\src" here.
Directories/Compiler:
$(CB_SDK)\sdk\include
on
$(CB_SDK)\sdk
$(CB_SDK)\sdk\include\tinyxml
on
$(CB_SDK)\sdk\include
$(CB_SDK)\sdk\include\wxscintilla\include
on
$(CB_SDK)\sdk\wxscintilla\include
Building Ok. Copy dll and use it.
Navigation
[0] Message Index
[#] Next page
Go to full version