dynamic_choice_command Fields Code Completion
Introduction
On this page, we will cover the following:
- Showing the code completion for dynamic choice command declarations.
- Showing the dynamic choice command specific fields.
1 - Showing the code completion for dynamic choice command declarations
Shown below is the code completion menu when using the dynamic_choice_command
decorator:
As expected, only the dynamic choice fields are shown.
2 - Showing the dynamic choice command specific fields
In the previous page, the code completion menu when accessing the fields
within extension_start
showed all the fields as expected.
With dynamic_choice_command
's however, only its dependent fields should be shown. The code completion logic takes this into account as shown below: