nolanderc / glsl_analyzer

Language server for GLSL (autocomplete, goto-definition, formatter, and more)
GNU General Public License v3.0
200 stars 6 forks source link

show extension information in hover documentation #43

Closed nolanderc closed 1 year ago

nolanderc commented 1 year ago

This offers an alternative solution to #1. Instead of limiting what is shown to the user, we make it obvious which extensions are needed for a function/variable.

One issue with the solution proposed in #1 (to hide items that don't have the required extension isn't enabled) is that it reduces discoverability of items. This solution doesn't suffer from this, but does increase the noise in the completions somewhat.

Closes #1