redhat-developer / lsp4ij

LSP Client for IntelliJ
Eclipse Public License 2.0
91 stars 17 forks source link

Enable `Find Usages` menu for custom file type different from `TEXT` and `textmate` #351

Closed angelozerr closed 3 months ago

angelozerr commented 3 months ago

Today Find Usages menu is enable:

The first condition is managed with LSP4IJ, the second by the language support himself (ex : JAVA).

This restriction with TEXT or textmate has been done to avoid overriding the Find Usages of the language (ex: Java). This behavior is annoying when a custom FileType provide support for LSP but don't contribute to Find Usages with usageTargetProvider extension point.