module

Autocomplete Inline Properties

Endorsements
5
Installs
3.2822%
Comments
0
Latest version2.9.1
Minimum Core0.8.5
Compatible Core10
Last updated1 year ago
Created3 years 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 ActiveEffect 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 actions will open the AIP interface, which consists of a text box with the data path entered so far and 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, indicating it is currently selected. You can adjust the selected key by using the up and down arrow keys.

Pressing Tab will insert the currently selected key into the path text box, and you can continue from there.

Pressing Enter, or clicking on the insert button to the right of the path text box will send the currently selected key 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 following systems:

  • dnd5e
  • pf1
  • sw5e
  • ds4

Pull requests to support additional systems are more than welcome!

Systems and modules can also add support for their sheets on their own side by inject corresponding configuration into the AIP configuration. See CONTRIBUTING.md for a guide on how to add support for your system or module.

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