5 ms·
IMO there should be two configurations for code style. One for files and one for presentation. That way any coder can view and edit files to their own preferen
by runeb 8y ago
IMO there should be two configurations for code style. One for files and one for presentation. That way any coder can view and edit files to their own preferences.
- iad 8y agoThis already exists when tabs are used for indentation.
- ken 8y agoIt's almost like plain text (with primitive ASCII art arrows and such) isn't a great user interface, even for developers! We should come up with some way of separating the Model and View... :-)
- the8472 8y agoWe have not even exhausted the possibilities of augmented text. IntelliJ at least annotates callee argument names and inferred types. For rust people are tinkering on borrowchecker region analysis annotations. I'm sure there's more that could be done.
- ysleepy 8y agoJetBrains MPS is such an example: https://www.jetbrains.com/mps/ https://www.jetbrains.com/mps/
- andreineculau 8y agoYou can already do that today if your editor implements a prettify-symbols-mode https://marketplace.visualstudio.com/items?itemName=siegebell.prettify-symbols-mode https://marketplace.visualstudio.com/items?itemName=siegebel... You can let editorconfig/linters/formatters to take care of code style, and prettify-symbols-mode of your preferred presentation, which should be stable as well given a stable code style.