Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

[PLUGIN WANTED] Automatic white space adder

<< < (2/3) > >>

Pecan:

--- Quote from: Mad Scientist on March 01, 2007, 06:55:13 am ---O thanks for showing me the options but I was looking more for adding one space at a time not a tab indent with spaces. I like to indent with 2 spaces and have tab be 8 spaces long to keep the files looking right with other programs and with code blocks.  :(

--- End quote ---

KeyMacs is a plugin that allows the user to define a hotkey as a sequence of keystrokes. You could define (say) alt-shift-2 as two spaces, or alt-shft-4 as four spaces etc.

If you're using SVN source, try compiling KeyMacs.
If your using the Nightly, and you think that KeyMacs will help,
tell me which Nightly you're using and I'll make a binary for  you.

Help entry (Wiki):
http://wiki.codeblocks.org/index.php?title=KeyMacs_plugin
Forum:
http://forums.codeblocks.org/index.php?topic=4681.0

kkez:

--- Quote from: byo on March 01, 2007, 12:36:49 am ---Maybe you mean that:

Select source you want to indent and then TAB - adds one tab in front of each selected line, alt+Tab removes one tab for each line if there's any

--- End quote ---

On my os it's Shift+Tab, not Alt+Tab ...

Mad Scientist:
Pecan: Ya, thanks that would be great just compile it for the latest nightly that is availible and ill upgrade when its compiled.

kkez: Yup Shift-Tab works could of sworn I tried that along with all the other modifier keys.

Thanks to everyone for all the help   :D

Pecan:

--- Quote from: Mad Scientist on March 01, 2007, 09:46:51 pm ---Pecan: Ya, thanks that would be great just compile it for the latest nightly that is availible and ill upgrade when its compiled.

kkez: Yup Shift-Tab works could of sworn I tried that along with all the other modifier keys.

Thanks to everyone for all the help   :D

--- End quote ---

Please see: http://forums.codeblocks.org/index.php/topic,5308.new.html#new

Mad Scientist:
Ok I have KeyMac setup just wondering if i could have it add a space to the first line of the selected block of text every time i press space and remove a space from the first line with Shift-Space in a similer way that it is done with Tab and Shift - Tab?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version