jenkinsci / idea-stapler-plugin

Jenkins Development Support for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/1885-jenkins-development-support/
BSD 2-Clause "Simplified" License
9 stars 19 forks source link

Teach Groovy to recognize `namespace` method in Groovy Stapler views #161

Open duemir opened 1 year ago

duemir commented 1 year ago

Example https://github.com/jenkinsci/jenkins/blob/1ecf191f32d8383661ecf9442a3117047dbd1acf/core/src/main/resources/jenkins/tools/GlobalToolConfiguration/index.groovy#L6-L7

If tag library is available as a class, IntelliJ needs to know that the namespace method returns an object of the same type as a parameter class.