Skip to content

Gives the capability to use JDT LS progress monitor for a IDelegeteCommandHandler command #1349

Open
@angelozerr

Description

Today IDelegeteCommandHandler receives a CancellableProgressMonitor as IProgressMonitor which means it's impossible to use progress capability for a given command.

It should be fantastic if we could declare a command with progress attribute like this:

<extension point="org.eclipse.jdt.ls.core.delegateCommandHandler">
      <delegateCommandHandler class="com.redhat.microprofile.jdt.internal.core.ls.MicroProfileDelegateCommandHandler">
            <command id="microprofile/projectInfo" progress="true"/>
            <command id="microprofile/propertyDefinition"/>
       </delegateCommandHandler>
   </extension>

In this sample:

  • microprofile/projectInfo command will receive a progress monitor ProgressReporter
  • microprofile/propertyDefinition command will receive a progress monitor CancellableProgressMonitor

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions