3 ms·
What is the point of replacing the builtin syntax coloring? Is it faster or does it color more things?
by dmortin 7y ago
What is the point of replacing the builtin syntax coloring? Is it faster or does it color more things?
- georgewfraser 7y agoIt colors more accurately.
- Mathnerd314 7y agoDepending on the grammar I think it's a little slower than the regex-based TextMate coloring. But the overhead is mostly due to the VSCode plugin architecture.
- dunkelheit 7y agoBuiltin syntax highlighting for e.g. rust is laughably bad - the treesitter highlighting is much better. Side note: I've recently switched to vscode as my main editor and so far the experience has been full of contrasts - many advanced features such as remote editing are the real gamechangers and work flawlessly, but some basic features (the aforementioned highlighting, folding, basic git integration) are notably lacking in polish. You kind of expect that if they've gotten advanced stuff right then basic stuff is surely in order, but that is not the case.
- AnthonBerg 7y agoHave you tried Jetbrains IntelliJ? In my experience the IntelliJ platform is, well, if you look in the direction VS Code is pointing, there you'll find IntelliJ? Tangentially related, there's some tree-sitter activity in the Jetbrains org on Github: https://github.com/JetBrains?utf8=&q=tree-sitter&type=&language= https://github.com/JetBrains?utf8=&q=tree-sitter&type=&langu... which is cool
- dunkelheit 7y agoI've used intellij a little bit and it is awesome (albeit a bit slow for my taste). The reason I stick to vscode is remote editing - compiling rust code locally on my laptop is a torture compared to compiling it on a beefy remote box! Remote editing in vscode is very well done, even most extensions work flawlessly without any changes. As I understand, there is nothing comparable for intellij.
- AnthonBerg 7y agoInteresting!, thanks!