joelday / papyrus-lang

📜Advanced language tools for the Papyrus scripting language.
Other
105 stars 19 forks source link

Add snippets to events such as "oninit, onendstate" which are members of all scripts #190

Open energyc99 opened 11 months ago

energyc99 commented 11 months ago

Is your feature request related to a problem? Please describe. events such as "oninit, onendstate" are members of all scripts, but when I type the event's name the IntelliSense doesn't show the event tip. Now the Extension just show parent script's event which declare in parent script's psc file.

Describe the solution you'd like Add snippets to events such as "oninit, onendstate" which are members of all scripts

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context image

nikitalita commented 11 months ago

We had a similar issue in Caprica with Skyrim scripts that we solved by loading a fake “scriptobject” class that all the base classes derive from. We might be able to do that to fix this?