Short-cut code entry

BlitzMax Forums/BlitzMax Programming/Short-cut code entry

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Do any of the IDE replacements knocking about feature short-cut code entry?

Something like:

fe [followed by special key sequence like Ctrl+SPACE]


which produces
Function ()
  'code
End Function



I suffer from RSI after some time programming.
Anything which reduces the amount of keyboard bashing is welcome.

Ideally, I would like to be able to define a shortcut and the code which should spit out into the ide (nicely formatted with the cursor placed correctly ready for action too) ...

Shortcut: fn
_____________________
For Local ?=? To ?
	'code
Next


Shortcut: fns
_____________________
For Local ?=? To ? Step ?
	'code
Next


Shortcut: wnk
_____________________
While Not KeyHit(KEY_?)
	'code
Wend


Shortcut: rf
_____________________
Repeat
	'code
Forever


Shortcut: ru
_____________________
Repeat
	'code
Until ?=?


Shortcut: rf
_____________________
Repeat
	'code
Forever


Shortcut: ie
_____________________
If ?=?
	'code
EndIf



Shortcut: iee
_____________________
If ?=?
	'code
Else
	'code
EndIf


Not asking much mind (!)