eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
113 stars 45 forks source link

Provide Codewind IDE extenders an API to turn off and on autobuild #804

Open keithchong opened 4 years ago

keithchong commented 4 years ago

Codewind version: Latest OS: any

IDE version: For both Eclipse and VS Code IDEs

Description of the enhancement: The Codewind Open API tools extend the Codewind IDEs via menu contributions in the Codewind Explorer (Eclipse) and commands (VS Code via menus and view context). The actions generate source code as well as build artifacts, including pom.xml for Java Maven-based code generators. This enhancement request is to have the IDEs expose an API to turn off and on autobuild programmatically. That way, autobuild is turned off prior to code generation, and then turned back on after. The Eclipse Codewind core plugin can house APIs for extenders to call so extenders do not have to call portal APIs or CLIs directly. There will be duplication of effort, otherwise.

keithchong commented 4 years ago

Also need an API to retrieve the current autobuild setting. If on, then the extender can turn it off and then turn it on at the appropriate times. If off, then the extender doesn't have to change the autobuild setting at all.