|
Jsor posted:I mostly use Sublime, especially since it seems to be the best supported with cool things like autocompletion for less widespread languages. (Nothing particularly obscure, Go and Rust) How's sublime on scala? I've been using Intellij's plugin and it's pretty good. Volguus posted:Butterflies : http://xkcd.com/378/ Real programmers debug by reading core dumps in a hex editor, or something...
|
# ¿ Jan 11, 2015 06:39 |
|
|
# ¿ May 10, 2024 04:23 |
|
Look Around You posted:But Comment starts with 'C' and Uncomment starts with 'U'? I mean I'd agree if it was like 'T' for comment and 'M' for uncomment or something like that, but I mean it's not... Intellij does "/" for comment and uncomment, and it really pisses me off. For your code fragment, it would comment that including double commenting the already commented lines.
|
# ¿ Feb 21, 2015 04:45 |
|
Volte posted:That seems like the correct action to me. A toggle-able commenting action should be fairly trivially invertible. If you select a block of code and use the comment toggle, it should make a best-effort attempt to comment it out in the way that makes the most practical sense and can be immediately reversed by invoking the command again. To me, that means commenting the entire block out unless every line is already commented out, in which case uncomment. It doesn't nail every use case but in most cases that's what I would want. If you want a command that uncomments all commented lines within a selection, that's an uninvertible command and I feel like it should be a separate thing from the usual 'toggle comment' command. I agree that's the right behavior given that's it's a toggle action. I'd rather it not be a toggle action and have one command for comment and another for uncomment.
|
# ¿ Feb 21, 2015 19:37 |