module

Autocomplete Inline Properties

Endorsements
3
Installs
4.65%
Comments
0
Latest version2.3.2
Minimum Core0.8.5
Compatible Core0.8.9
Last updated3 weeks ago
Created7 months ago
Authors
Languages English
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

This module adds an autocompletion and hint UI for sheet fields that can accept inline properties or other entity data references, for instance a damage field referencing an ability modifier (e.g. @abilities.dex.mod), or an Active Effects key (e.g. data.bonuses.mwak.attack).

 

A video showing usage of Autocomplete Inline Properties to add an inline property to a damage formula field

A video showing usage of Autocomplete Inline Properties to add an active effect change key

Usage

There are two ways to invoke the AIP interface: by pressing the "@" key in a field for which AIP is enabled, or by clicking on the floating "@" button in the UI.

Both options will open the AIP interface, which presents a textbox with the data path entered so far, as well as a list of data keys at the current data path. As you type, matching keys will be underlined, and the first key matching the currently entered path will be faintly highlighted.

Pressing "Tab" will insert the currently highlighted key into the path textbox and you can continue from there.

Pressing "Enter", or clicking on the insert button to the right of the path textbox will send the current path to the underlying field in the sheet.

Module and system authors can enable or disable the option to press the "@" hotkey, or the floating "@" button on a per-field basis.

Compatibility

This module currently offers built in support for the dnd5e and pf1 systems, though I am more than willing to accept pull requests to support other systems. Modules that add their own sheets and fields can add those fields to the AIP configuration as desired.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x