User forums > Using Code::Blocks
Keyboard macros
Andrej08:
Well if anyone is interested, to build this plugin with CB 10.05 you need to add:
..\..\..\devel
to the Linker Search directories. And both the base and include fields for the cb global variable need to be set. (to \CB folder and \cb\src\include, respectively).
But tbh. the plugin is just way too slow for my liking. Even that simple example "{END}{ENTER}//{TAB 2} " takes almost 2 seconds to apply..
Cryogen:
Hi Guys,
I've been meaning to do this for a while. I've updated KeyMacs to run on the latest SVN. It includes some configuration changes to allow compilation into standard directories, remove the $(cb) macro, etc. to align it with other contrib plug-ins and adds one include to NIXrunmacro.cpp so it compiles on Linux. I also made it insert into the Plugins menu in correct alphabetical order. I've bumped the version number in manifest.xml, just based on what's listed in version.h, as it was still showing 0.1.1.
I haven't changed the system makefile.am files to allow compilation with make under Linux but that is the work of 5 mins to change when it moves to contrib, as I think it should.
Tested in SVN 6557 on Win7 and Ubuntu Linux.
Enjoy.
codeur:
Thanks Pecan, this plugin starts to address one major weakness of the editor.
--- Quote from: Pecan on February 24, 2009, 02:04:57 pm ---The macro database resides in the users home directory as cbKeyMacs.ini
--- End quote ---
That's a pity. It should be saved instead to %AppData% like the data of other plugins. That would make it usable in portable CB.
Thanks Cryogen for the modified project. It builds well in contrib under Windows with trunk version 6956.
Pecan:
--- Quote from: Pecan on February 24, 2009, 02:04:57 pm ---The macro database resides in the users home directory as cbKeyMacs.ini
--- End quote ---
--- Quote ---That's a pity. It should be saved instead to %AppData% like the data of other plugins. That would make it usable in portable CB.
--- End quote ---
Actually it does reside in AppData. My mistake.
Navigation
[0] Message Index
[*] Previous page
Go to full version