Open tobil4sk opened 1 year ago
I somehow thought this was already working and probably said so in my talk too. Oh well!
Now that the metadata/defines list is exposed, what steps are necessary to get this done? I assume changes need to be made to haxe-language-server, but there's too much there for me to locate the relevant code in any reasonable time.
With Haxe 4.3.0, projects and libraries can document custom defines/metadata: https://github.com/HaxeFoundation/haxe/pull/10858
Would be nice to get IDE integration for these features.
Currently, the custom metadata appears in the completion list, but the documentation is showing up as empty:
For defines, it looks like this would probably require adding some extra functionality, since the define list for completion is currently hardcoded: https://github.com/vshaxe/haxe-language-server/blob/5d0e083e374b4881d232349920c320a42845db5f/src/haxeLanguageServer/features/hxml/data/Defines.hx