Releases: jan-dolejsi/vscode-pddl
2.5.0 Release
Better support for PDDL object types (i.e. types declared in the (:types )
section). Select Go to Definition (or press F12), Find all References and Rename (or F2) operations are now supported.
PDDL language configuration was improved - hyphens inside identifiers work as expected in the editor.
Implemented predicate and function renaming. Try this: put cursor into predicate/function name, press F2, modify the name and press Enter.
Improved function/predicate/type hover-over tooltip markdown rendering by moving the code from the language server directly to the extension. It is more readable and the documentation may use markdown syntax too.
Replaced backslashes with forward slashes in configuration entries.
Added keyboard shortcut Alt + P to the PDDL: Run the planner and display the plan command.
Extension is activated also when one of the PDDL: Configure ...
commands is invoked, in addition to a PDDL file be opened.
Plan visualization configuration <domain>.planviz.json
file now supports regular expression matching for action names to be hidden. Plan visualization of function values is more robust (but slower) for larger domains. Graphs are not shown for functions with constant values.
Added syntax highlighting and auto-completion for the :derived
keyword.
Added wiki page with useful keyboard shortcuts for working with PDDL in VS Code.
2.4.2 Patch
Bugs fixed
Updated to new format of timeseries function values.
Release 2.4.0
HTML report for plan details
Additional command for plan report export to a self-contained HTML file.
When the Plan preview pane is open (when the planner finishes a successful execution), press Control + Shift + P
and type PDDL to the command window. Select the option PDDL: Generate plan report. A new default browser window opens with a self-contained report HTML file. It is generated into the temporary folder.
Note: If the report contains graphs showing function values, it only displays the graphs when open in the Chrome browser.
Context-sensitive auto-complete snippet for symmetric initialization
Auto-complete snippet for symmetric predicate and/or function initialization.
Symmetric predicate initialization example: (road A B) (road B A)
Symmetric function initialization example: (= (distance A B) 13) (= (distance B A) 13)
To trigger the snippet, start typing 'init' inside the problem (:init )
section.
Fixes
Fixed the PDDL parser to work with domains that completely omit the (:types )
section.
Other features
Opt-in visualization of plan function values. Experimental.
Lastly, we are changing the versioning scheme to allow for safe distribution of intermediate builds to early adopters.
Bug fixes
Fixed the 'there is no corresponding domain/problem open in the editor' as well as stale PDDL file content while launching the planner.
Planner executable working directory is set to the folder in which the domain and problem files are located.
Entered planner or parser executable/service location is trimmed for whitespace.
Plan visualization extended to object swim lanes
Plan visualization that features color-coding of actions and swim-lanes for objects per types.
All commands this extension contributes were renamed to start with the 'PDDL:' prefix. That makes them easy to find when pressing Ctrl + Shift + P and is also more consistent with other extensions.
Improved the snippets - they now use 4 character indentation uniformly, which makes it easier to keep the formatting while editing them further.
The assign
numeric effect was missing in the auto-completion options and was now added.
Configurable PDDL Planner, Support for solver.planning.domains planning web service.
New command added to Configure PDDL Planner. Added configuration to override the planner command-line syntax.
Added support for solver.planning.domains/solve web service.
Supporting non-auto-saving editor mode by creating temp files for domain/problem when launching the planner.
Fixed an issue with some domains where the extension was hanging (while regexp parsing the types).
Rich PDDL language support
PDDL Language Server now provides rich PDDL syntax validation, hover info, Go to Definition, Find All References, Jump to symbol, Auto-completion, configuration of custom PDDL parser, planner execution and plan visualization.
Smarter PDDL code snippets
Simplified snippets and added tabstops/placeholders to them, so they are easy to fill in with content.
Added missing PDDL :requirements options
Added
- missing PDDL requirements in syntax highlighting:
strips, typing, negative-preconditions, disjunctive-preconditions, equality, existential-preconditions, universal-preconditions, quantified-preconditions, conditional-effects, fluents, numeric-fluents, adl, durative-actions, duration-inequalities, continuous-effects, derived-predicates, timed-initial-literals, preferences, constraints, action-costs, timed-initial-fluents
Changed
- fixed parameters to action snippets
- banner color
Initial internalrelease
Added
- Initial release
- PDDL Snippets for
domain
,problem
,action
anddurative-action
. - Syntax highlighting for commonly used PDDL features