Gives the capability to use JDT LS progress monitor for a IDelegeteCommandHandler command #1349
Open
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 monitorProgressReporter
microprofile/propertyDefinition
command will receive a progress monitorCancellableProgressMonitor