3 ms·
I was just thinking about some kind of code side-car file format which stores comments/docs separately. You'd then have a vertical split view with code on one s
by wdfx 9y ago
I was just thinking about some kind of code side-car file format which stores comments/docs separately. You'd then have a vertical split view with code on one side and the linked comments/docs on the other. You could select some code and use that to insert/link comments in the other pane.
I'm not entirely sure if I've ever seen something like this before - maybe as a feature in a specific language, but not as an IDE feature for all languages.
- wdfx 9y agoas for using comments to disable code - you probably should have the active code in source control and then you are free to simply delete it.
- narag 9y agoThis solution or simply a switch to temporarily disable some chunk of code should be an easy-to-use part of the editor. The programmer should not be concerned with implementation details (implementation details of the editor/language, not the program being written) like nested comments, indentation, etc.