redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
44 stars 15 forks source link

Use closed document cache for user tag #822

Open angelozerr opened 1 year ago

angelozerr commented 1 year ago

User tag are collected by scaning each time the src/main/resources/templates folder (as soon as completion is triggered, diagnostics is triggered, etc)

To avoid doing that, user tag should use cache of closed document which is updated by tracking change of file (create, delete, change of file).

fbricon commented 1 year ago

Does it mean we store a copy in memory of all the templates in a the templates directory?

angelozerr commented 1 year ago

Indeed we store in memory all Template instances in memory.