Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really, really hope so.

Text is so clunky, especially in languages with superfluous syntax (semicolon, braces). My tree based outliner allows me to easily rearrange arbitrarily large blocks while never creating invalid syntax, why the heck doesn’t my IDE? Code is just a damn tree. Why can’t I arbitrarily choose to comment out/in code without breaking basically all the IDE tooling (collapsed a block? Well too bad!!)?

We should never have to think about syntax. Yet we (or certainly I) do a significant portion of the time.

The stuff I’m thinking of should be fairly possible to do as a Vscodium/VSCode plugin. Can somebody please tell me it’s already being done?



Those semicolons are redundant but not superfluous. Here are some good reasons why you might want to keep them around even in they aren’t strictly necessary in parsing your program.

https://digitalmars.com/articles/b05.html


Does it really make much of a difference whether you press an end-of-statement keyboard shortcut vs. typing a semicolon?

Having the latter as part of the source code is more explicit, similar to LaTex vs. invisible formatting marks in a word processor.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: