papyrus-lang
papyrus-lang copied to clipboard
Symbol display texts are incomplete
Non-native flags are not appended to symbol display texts.
What do you mean with this? I can help you with issues. Give me an example of your problem.
Anything that is not native to the language itself, but is only declared in the flags file, is filtered out of the AST by the compiler, so the only way to get those is to look at the neighboring text. Unfortunately a lot of text ranges get mangled by the ANTLR generated parser, so it's not super straightforward.
As far as "display text" is concerned, this is used by Hover support to show a textual representation of the symbol that is generated from the semantic information rather than the actual text from the original definition of the symbol as a matter of consistency.
You said by the compiler. If so, this is not your problem. But if you mean the parser, so you can make it understand non native declaration by adding it to symbols.
@minkir014 Sorry, yeah, what I'm really referring to is "PCompiler.dll" in its entirety.
Did you made that or it is installed with the compiler?? I mean PCompiler.dll
I searched for it on nexus site and found it your provider to the extension provider. It must be an issue in it not in your extension. You can find another provider.