When writing code we are always trying to avoid duplicated code.
But repetitive code is always needed...
Example: property pointing to a parent object you want to convert to a weakref....
I use computed property like :
If mDbController<>Nil then If mDbController.Value<>Nil Then Return mdcApp.AppDbController(mDbController.Value) Else Return Nil End If Else Return Nil End If
Without starting a discussion about the code it self or my laziness, my question is : What kind of editor snippet tool do you guys using to make life easier?? (as Xojo IDE don't have this feature)
I have tried to use a Corsair keyboard with macro keys, Although it's a great keyboard and you can put text under a macro key... Xojo IDE can't keep up the speed of typing of this keyboard :-(
So I missing text, and with corsair you can't define variables to fil in when putting the snipppet in place.
I can write my own snippet editor .... but it can't be the case that I'm the only one that is looking for this kind of tool..
So are we all looking for a good snippet editor or has somebody found it already (and is willing to share) ??
By the way, I'm using windows (so no mac only solutions needed ;-) )
Thanx for the help ...