How would you feel about pressing Tab to jump to next error or []?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How would you feel about pressing Tab to jump to next error or []?

TimM-3
Guys -

One of my next "intelli" enhacements is to easily jump to the next code
error or [].

This based on the idea that with code completion I often find that when I
complete I am sitting on the first parameter to type in, however my selector
will often have a series of other parameters that I still need to complete
(showing up as errors). Similarly things like ifTrue:ifFalse: will complete
with [] in the source code.

Initially I bound the key - Ctrl-# to jump to the next version of these,
however I find it quite a tricky one to press - so I am considering
assigning the tab character to do this. Of course my code will check if you
are at the beginning of the line or just after an exsiting tab or have
selected muliple lines, in which case it will do the normal scintilla tab or
indent behavior.

How do people feel about this. Tab feels quite natural to me, as I don't put
tabs in the middle of my source code, just at the beginning of lines.

Tim