Closed devel0 closed 3 years ago
Looks very good, but can you make it optional, based on new config parameter? I would rather have it off by default, since there are use cases where reload is desired.
did it, using follow settings.json
"xmlComplete.xsdCachePattern": "https://raw.githubusercontent.com/rogalmic/vscode-xml-complete/master",
only regex matching xsd uri will enabled to cache. there could a per schemeMapping option but should enough for the purpose.
xsdCachePattern support regex so that for example the follow will include either github, w3.org or microsoft.com content
"xmlComplete.xsdCachePattern": "githubusercontent\\.com|w3\\.org|microsoft\\.com",
allow to cache xsd already loaded.
https://raw.githubusercontent.com/rogalmic/vscode-xml-complete/master
~/.config/Code/User/globalStorage/state.vscdb
sqlite3 ) . It uses vscode-cache module.