I would like to propose a feature that improves the reliability and usability of Perspective Message Handlers in Ignition.
Problem
Message handler names must be typed manually in scripts, for example:
system.perspective.sendMessage("updateData", payload)
This approach is prone to human error because handler names may include:
-
spaces
-
mixed case
-
underscores
-
view-specific naming differences
There is currently no built-in way to browse, validate, or auto-complete message handler names, and a simple typo can silently break communication between views or components. This becomes more difficult as the project grows.
Requested Enhancement
Add a built-in way to discover, browse, and auto-complete Perspective message handlers, similar to how tags or Perspective property trees are visible.
Benefits
-
Eliminates mistakes caused by typed string names
-
Improves maintainability in large Perspective projects
-
Helps new developers understand the message flow
-
Makes scripting more reliable and consistent
Message Handlers are widely used, and having discovery/intellisense support would significantly improve the development experience.