NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Appropriate Magic(tm) (Score:1)
Re: (Score:2)
Re: (Score:1)
(similar to "mouse hover", but Emacs isn't very mouse oriented in general...)
Did you mean something else?
Re: (Score:2)
Um, from reading your text, "If I can't have my jetpack I can at least have an editor that can show me where a block starts. Emacs does this when you type the closing brace. I'm not sure how to get it to do it on-hover", I understood that as "highlight the matching curly" whenever the cursor is on a { or }
It's not very useful if the matching curly has scrolled off the top of the screen, ie. I can't see it. Setting show-paren-style to "parenthesis" it will highlight the other paren, which is off screen. If I use "expression" it will highlight the whole block, but the condition still lies off screen and out of sight.
What I really want is it to say "Matches if( foo ) {", like it does when you type a closing brace. Show me the first line of the block so I can see the condition, the important bit.
(similar to "mouse hover", but Emacs isn't very mouse oriented in general...)
This is why I
.vimrc (Score:1)
An idea for the IDEs.. (Score:1)
Re: (Score:1)
I'm note sure I'd appreciate it though, it may be too noisy.
Maybe it would be useful if it was only displayed whenever the block is longer than n lines, or whenever the other side of the block isn't visible.
This may be one of those things that sound good/bad, but you won't really know how it pans out until you try it
some ide's do this (Score:1)
I don't use geany myself but I can see how such a thing would be useful to coders.
Now where's that vim plugin?
Re: folding (Score:1)
If you're doing it right, the block is usually short enough that folding it isn't worthwhile.
Thankyou (Score:1)
End of scope comments are a pet hate of mine, for all the reasons you've given. And it's one of those things that people seem to cling to, as if it's a best practice like TDD.
I hate clutter of any sort in code... which is a shame since I have to use Java for my next project...