4 ms·
> How about a text editor which represents code as a syntax tree that is formatted as you type? Or one that has support for embedding multi-media content within
by wilsonnb3 2y ago
> How about a text editor which represents code as a syntax tree that is formatted as you type? Or one that has support for embedding multi-media content within source files? Or one with advanced program rewriting capabilities (in-lining functions, replacing struct members into getter methods, etc)
We have had these for decades, they are called IDEs
- James_K 2y agoI've not seen many IDEs with the functionality I just listed. Most of the time it's just debugging support and code completion. The idea that most programmers have edited code in the way I just described for decades is patently absurd.
- sexyman48 2y agoYou mean one that formats code as you type, embeds multi-media within source, rewrites class variables as getter methods? None of these could be implemented in a way that even immature developers, those with 3-4 years of experience who go in for whizbangness, wouldn't immediately deactivate.
- James_K 2y agoYes they totally could. I auto-format all my code and it works mostly without issue even in relatively complicated languages. Why would you turn of images in the source? A comment with a diagram would be useful. Rewriting class variables isn't something you can even turn off. It would just be an option in the right-click menu to refactor code. Everything I suggest is based to some extent on existing features. It is just a more complete implementation of them.