[jira] [Created] (OFBIZ-12149) Navigate from groovyScripts to java classes in IntelliJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-12149) Navigate from groovyScripts to java classes in IntelliJ

Nicolas Malin (Jira)
Daniel Watford created OFBIZ-12149:
--------------------------------------

             Summary: Navigate from groovyScripts to java classes in IntelliJ
                 Key: OFBIZ-12149
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12149
             Project: OFBiz
          Issue Type: Improvement
    Affects Versions: Trunk
            Reporter: Daniel Watford
            Assignee: Daniel Watford


Using IntelliJ for ofbiz development of groovyScript files is awkward.

Each time I view a groovyScript file in IntelliJ I am prompted with a warning that the file's parent module is not configured with a Groovy SDK and am prompted to select one.

After selecting an SDK, some code highlighting issues are resolved that relate to the Groovy language, but it is not possible to navigate from a groovyScript file to other ofbiz classes.

The code navigation issue impacts developer productivity when using IntelliJ to work with groovyScript files as we have to manually associate SDKs and don't get prompted by the IDE if a typo is make in a class or method name.

A solution has been proposed and discussed on the mailing this that adds groovyScript files to a new SourceSet in the gradle build which is then imported by IntelliJ. With these changes applied IntelliJ provides navigation from groovyScript files to ofbiz's java classes.

[Mailing list discussion thread.|https://lists.apache.org/thread.html/re1f3f0d8ab71950b001e669c38cf6b1ad223d5e82e9ccc6c7d62715e%40%3Cdev.ofbiz.apache.org%3E]





--
This message was sent by Atlassian Jira
(v8.3.4#803005)