IDE Template Tool: Stay on Top & Insert Position

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

IDE Template Tool: Stay on Top & Insert Position

Post by Shield »

Hey


I'd like to make two minor suggestions for the Templates tool (nothing really important, but I'll mention it anyway):

1.) The option 'stay on top' should only keep the tool's window in front of the IDE,
not in front of all windows. Alternatively, make an additional option.

2.) Add some kind of indicator for the cursor position after the template has been inserted, for example:

Code: Select all

; **************************
; Some long header comment
; Some long header comment
; Some long header comment
; Some long header comment
;
; Author: <|>
; **************************
So, after inserting the cursor will be positioned at <|> which allows me to write the author directly without additional clicking.


Thanks.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
nospam
Enthusiast
Enthusiast
Posts: 130
Joined: Mon Nov 12, 2012 9:15 am

Re: IDE Template Tool: Stay on Top & Insert Position

Post by nospam »

Shield wrote:without additional clicking.
Why not go the whole hog and not do any typing? There are any number of open source or freeware macro apps that will do it.

http://www.autohotkey.com/ for Window$.

Plus any number of them for Linux. All it takes is a search.
Post Reply