Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
> >Just to confirm, the guide suggests open build.gradle.kts as a project. >Did you open it as a project and then re-done the import again? >That sounds strange. What is your IDEA version? > Yes, I opened it as a project as the guide suggests. After that I had to do "build.gradle.kts->Right

Re: Calcite development using IntelliJ

2021-05-18 Thread Vladimir Sitnikov
>I followed the steps in "Setting up IntelliJ IDEA" in the guide and had the >project compiled via command line, Oh, I did not know it was there. "build via command line" is NOT really needed. Sometimes it might be helpful to debug IDEA or Gradle issue, however, the import should work without any

Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
I followed the steps in "Setting up IntelliJ IDEA" in the guide and had the project compiled via command line, but still had to do "build.gradle.kts Right Click->Import as Gradle Project" and "Reload Gradle Project" to make things work. I am not sure if this is just on my local setup or something

Re: Calcite development using IntelliJ

2021-05-18 Thread Rui Wang
Also occasionally, I found that some of the issues might go away if I have the project compiled by command line. -Rui On Tue, May 18, 2021 at 10:39 AM Vladimir Sitnikov < sitnikov.vladi...@gmail.com> wrote: > > I had to "build.gradle.kts Right Click->Import as Gradle Project" > > Just

Re: Calcite development using IntelliJ

2021-05-18 Thread Vladimir Sitnikov
> I had to "build.gradle.kts Right Click->Import as Gradle Project" Just wondering, did you know there's a guide https://calcite.apache.org/docs/howto.html#setting-up-an-ide-for-contributing ? If you searched for the instructions somewhere else (do you remember by chance?), then we might want to

Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
Thanks. It seems to be working now, although I had to "build.gradle.kts Right Click->Import as Gradle Project" and then "Reload Gradle Project" under the Gradle tab. On Mon, May 17, 2021 at 9:36 PM Julian Hyde wrote: > All those things usually work fine, and with very little effort. > > But

Re: Calcite development using IntelliJ

2021-05-17 Thread Julian Hyde
All those things usually work fine, and with very little effort. But occasionally things get screwed up. If IntelliJ doesn’t load correctly the first time you initialize from build.gradle.kts, close the project and reload. It usually works fine the second time. If that doesn’t work, try ‘File

Calcite development using IntelliJ

2021-05-17 Thread Amrish Lal
Hello, I am able to open the Calcite project (build.gradle.kts) in IntelliJ, but things like code completion, Goto Navigation (Cmd-B), and running test cases don't appear to be working. Are there any other steps I need to take to get these working? Thanks, --Amrish