cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using SAP CAP with IntelliJ

nils_michelberger
Associate
Associate
0 Likes
5,453

Hey everyone,

I have got a quick question. Is it possible to use IntelliJ IDE instead of Eclipse?
If yes, are there any disadvantages and what are the additional steps?
Because in our team we are using the IntelliJ IDE and I only saw a setup using Eclipse in the guide for Java (https://cap.cloud.sap/docs/java/getting-started)

PS: If IntelliJ is not possible is Visual Studio Code also an alternative?

Thanks 🙂

Accepted Solutions (1)

Accepted Solutions (1)

Hi Nils,

yes, there is an SAP internal IntelliJ plugin. See here for details (incl. how to install): [Removed by the moderator.]

In general, most things work as in Eclipse or VSCode. There are some quirks e.g. the structure view is always one edit too late.

Feedback is very welcome.

For the smoothest IDE integration use VSCode or BAS.

Cheers
Christian

PS: I heard, there will be a new release tomorrow 😉

nils_michelberger
Associate
Associate

Hi Christian,

Wow this is exactly what I was looking for.

Thank you very much!

Best regards,
Nils

0 Likes

Note: latest version 2.3.1 is required for IntelliJ-IDEs 2021.2+

hakimio
Explorer
0 Likes

Hi Christian,

Would it be still possible to share the link to the extension privately since it was removed from public forum?

kimberlylee
Associate
Associate
0 Likes

Hi Christian, I would also like the link to the internal plugin. Thank you

MR3
Explorer
0 Likes

I would also prefer if the plugin will be available for all. If there is a free plugin for vs code then it should also a plugin available for Intellij.

Currently i use VS Code only for modelling database cds and services.

The coding for Java i do then i Intellij.

Answers (3)

Answers (3)

tim_schulze-hartung
Product and Topic Expert
Product and Topic Expert

Hello Nils,

CAP CDS Language Support for IntelliJ is now publicly available at https://github.com/cap-js/cds-intellij for users of commercial IntelliJ IDEs including IDEA Ultimate and WebStorm. (Since the plugin builds upon JetBrains' LSP API, it is unavailable in IDEA Community.)

Feel free to download and install the IDE plugin from GitHub. And let us know in case anything seems missing or broken.

We'll update here once the plugin is available in JetBrains Marketplace (integrated in the IDE).

Best regards,
Tim

tim_schulze-hartung
Product and Topic Expert
Product and Topic Expert
0 Likes

Exciting news: SAP CDS Language Support for IntelliJ is now available in the JetBrains Marketplace!
Just head over there and click the "Install to …" button to get started, or open the plugin settings in your IDE and search for "SAP CDS Language Support".

Note that the plugin is only compatible with the paid IntelliJ IDEs, such as IDEA Ultimate and WebStorm.

For the full readme, see https://github.com/cap-js/cds-intellij.

0 Likes

Hi Tomas,

unfortunately this is not possible due to IP. At some point in future, however, we may make this open-source.

Sorry.

Best regards
Christian

hakimio
Explorer
0 Likes

I see. Thanks for letting me know.