jeff-hykin / code-eol

💾 ⭐️ An extension to display line endings in VS Code
https://marketplace.visualstudio.com/items?itemName=sohamkamani.code-eol
MIT License
19 stars 4 forks source link

Auto update UI after settings.json is changed #4

Closed jeff-hykin closed 5 years ago

jeff-hykin commented 5 years ago

Right now reloading the window is required after changing settings. This is because accessing the settings object on every render would be computationally expensive. There might be an efficient way to do this though (if VS Code has an "onSettingsChange" event it would be trivial).

jeff-hykin commented 5 years ago

Such a thing does exist, its onDidChangeConfiguration, and I'll likely be adding this feature next week.