@Matt have you tried any of the "IDE Tasks" available through gradle?
"./gradlew tasks" from beam top-level will list available tasks, and the
IDE Tasks subsection includes tasks specific to trying to bootstrap or
clean up beam project in either Eclipse or Intellij.  Ex. "./gradlew idea"
should set up the project files for use in Intellij.  There's also
"./gradlew cleanIdea" which may be helpful to you.

With respect to Google Auto, I've experienced plenty of IDE complaints
around missing types and the like, and those will likely persist until the
code area that you're working on is compiled because the types won't exist
until the sources are generated at pre-processing stage. Not sure if that
was the issue you were having, but if so hopefully this helps.

Thanks,
Evan

On Tue, Oct 12, 2021 at 2:51 PM Matt Casters <matt.cast...@neo4j.com> wrote:

> Thanks Chamikara but I'm quite familiar with the Beam API and the
> contribution guide did not answer my questions.
>
> On Tue, Oct 12, 2021 at 8:49 PM Chamikara Jayalath <chamik...@google.com>
> wrote:
>
>> If you haven't already, going through Beam contribution guide and varils
>> links from there might help: https://beam.apache.org/contribute/
>> Regarding developing I/O connectors, please see the guide here:
>> https://beam.apache.org/documentation/io/developing-io-overview/
>>
>> Thanks,
>> Cham
>>
>> On Tue, Oct 12, 2021 at 6:08 AM Alexey Romanenko <
>> aromanenko....@gmail.com> wrote:
>>
>>> Hi Matt,
>>>
>>> On 12 Oct 2021, at 10:02, Matt Casters <matt.cast...@neotechnology.com>
>>> wrote:
>>>
>>> 1) Setting up my Beam development
>>> <https://cwiki.apache.org/confluence/display/BEAM/Set+up+IntelliJ+from+scratch>
>>>  environment
>>> for IDEA 2021.2 is something that's going wrong, probably around Gradle
>>> configurations.
>>>
>>> 2) I can't get Google Auto to work in my IDE (IDEA) because of what
>>> seems outdated documentation
>>> <https://github.com/google/auto/blob/master/value/userguide/index.md>?
>>>
>>>
>>> Could you elaborate more what is wrong with 1) and 2) ?
>>>
>>
>>> 3) Since I'm obviously planning to generate a PR at the end of this
>>> exercise: what is the suggested code format for Java in the Beam project?
>>>
>>>
>>> Please, run this command before committing your changes:
>>>
>>> ./gradlew spotlessApply && ./gradlew
>>> -PenableCheckerFramework=true checkstyleMain checkstyleTest javadoc
>>> spotbugsMain compileJava compileTestJava
>>>
>>> To save a time, run it only against a package where you did the changes.
>>>
>>> —
>>> Alexey
>>>
>>>
>
> --
> Neo4j Chief Solutions Architect
> *✉   *matt.cast...@neo4j.com
>
>
>
>

Reply via email to