You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2021/01/24 17:19:00 UTC
[jira] [Closed] (OFBIZ-12149) Navigate from groovyScripts to java
classes in IntelliJ
[ https://issues.apache.org/jira/browse/OFBIZ-12149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Watford closed OFBIZ-12149.
----------------------------------
Fix Version/s: Upcoming Branch
Resolution: Implemented
> 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
> Priority: Minor
> Fix For: Upcoming Branch
>
>
> 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)