3 ms·
I would only think that's the case when the language of the file you're editing is unknown, so you would have to do some server-side analysis of the entire file
by bhl 6y ago
I would only think that's the case when the language of the file you're editing is unknown, so you would have to do some server-side analysis of the entire file and make an educated guess. For example, https://github.com/github/linguist https://github.com/github/linguist. But if the language is known in advance, then you could send the grammar rules to the client.
- saagarjha 6y agoA server also means it still works when the language is not simple enough to condense into simple grammar rules :)