I use macros quite extensively during development.
e.g. to convert DB table columns to get/set methods:
e.g. I have following lines of columns I generated from MySQL
client_id
client_first_name
client_last_name
Here is what I want to do with Notepad++ (this works in Crimson Editor)
Key strokes are [], comments after --
Position Curosor on the first line (with client_id)
[HOME]
[SHIFT-END] -- select till end
[CTRL-C]
[HOME]function get[END] () {[ENTER]
[TAB]return $this->[CTRL-V];[ENTER]
}[CURSOR DOWN][HOME] -- basically you are at the beginning of line2
You should be able to pay the macro and create get function for the second line which at the end will take to the beginning of next line.
But Notepad++, goes back to the first line and does this all over again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like if the AutoComplete is turned off, it works. Otherwise, it copies junk or types in some weird text.
Can we have autocomplete turned off automatically when Macros are recorded or played back ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use macros quite extensively during development.
e.g. to convert DB table columns to get/set methods:
e.g. I have following lines of columns I generated from MySQL
client_id
client_first_name
client_last_name
Here is what I want to do with Notepad++ (this works in Crimson Editor)
Key strokes are [], comments after --
Position Curosor on the first line (with client_id)
[HOME]
[SHIFT-END] -- select till end
[CTRL-C]
[HOME]function get[END] () {[ENTER]
[TAB]return $this->[CTRL-V];[ENTER]
}[CURSOR DOWN][HOME] -- basically you are at the beginning of line2
You should be able to pay the macro and create get function for the second line which at the end will take to the beginning of next line.
But Notepad++, goes back to the first line and does this all over again.
Looks like if the AutoComplete is turned off, it works. Otherwise, it copies junk or types in some weird text.
Can we have autocomplete turned off automatically when Macros are recorded or played back ?