code_field
code_field copied to clipboard
Cluttering highlight with duplicate languages
Currently CodeController
registers languages with highlight
using a random string. When multiple controllers are created with the same language, this same language is registered in highlight
under multiple generated IDs.
Can we avoid this? Why don't we use mode.hashCode.toString()
or something similar for ID when registering languages?