Hey everyone, myself and my team are currently struggling with an issue 
with IntelliJ regarding the implementation of Authoring Assistance as 
described here: https://gebish.org/manual/current/#intellij-support

Currently we are unable to utilize autocomplete for Navigators defined 
within our Page and Module classes when referencing them in our scripts.

*So in the following example:*
    and: "I click on Some Button on Some Page"
    def somePage = to SomePage
    somePage.someButton.click()

*In the instance that "SomePage" is defined as such:*
    class SomePage extends Page {
        static at = { title.contains("SomePage") }
        static content = *{*
        someButton(wait:true) {$(#"someButton")}
        }
    }

*We are unable to utilize autocomplete when referencing "someButton" when 
making the call:*
    editCallPage.someButton.click()

At this point we're starting to believe that strong typing is the best 
method (as it enables autocomplete) to allow for this functionality, but 
the Book of Geb lists IntelliJ IDEA's support as a viable alternative so I 
just don't understand what our team is doing wrong here.

We are currently utilizing IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Any assistance would be greatly appreciated! Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/6becb06c-eb5b-4e25-bfe2-ca4e32c4d542n%40googlegroups.com.

Reply via email to