Skip to content

API to set priorities of individual PluginHandlers #3644

Open
@mrcjkb

Description

@mrcjkb

Is your enhancement request related to a problem? Please describe.

To solve #3636, I had to split the hls-pragmas-plugin into three separate plugins (see #3640),
so that I could decrease the priority of the "disable this warning" codeAction.

A cleaner solution would be to have a single plugin with priorities set for the individual PluginHandlers.

Describe the solution you'd like

  • A property for each pluginHandler (analogous to the PluginDescriptor.pluginPriority property) that lets us define the priority of each pluginHandler.
  • This priority should be used to sort the code actions and completions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions