-
Notifications
You must be signed in to change notification settings - Fork 8
Home
A Sublime Text 2 and 3 package for the Papyrus scripting language.
Characters and groups of characters are highlighted in different colors based on their function within the source (type name, operator, keyword, literal, function/event name, etc.).
The linter can validate a script's source on three different levels (lexical, syntactic, and semantic analysis) and highlight lines that contain invalid code.
SublimePapyrus includes linters for the versions of Papyrus that shipped with the following games:
- The Elder Scrolls V: Skyrim
SublimePapyrus offers two options for getting code completion:
- A command for generating static completions for known types (the names of scripts), functions, and events.
- A system that uses the cached results of the linter to dynamically generate completions for known types, functions, events, variables, properties, parameters, etc. in a context-aware manner.
Tooltips are used to show relevant information. Currently supported tooltips:
- Functions/event parameters while editing a function/event call.
The build system framework supports compilation of a single file, batch compilation, and invoking the compiler with custom arguments.
Above is an example of what the syntax highlighting, dynamic code completion, and tooltips look like in action. The Moka Dark theme is used in the GIF above.