SAP CAP Blog Posts
cancel
Showing results for 
Search instead for 
Did you mean: 
qmacro
Developer Advocate
Developer Advocate
1,480

There is great support for CAP development in IDEs such as VS Code and IntelliJ. Moreover, because the editor features for CDS are made available in the form of a language server (using the Language Server Protocol or LSP), they can also be used in other IDEs and editors, such as Neovim.

The CDS language server can be installed globally with:

npm i -g @sap/cds-lsp

Why would you do this? Well, for one thing, this gives us a very useful command line tool that can be used to format CDS source.

What is that command line tool called (the name of the command itself)?

This is a question from the June Developer Challenge on CAP Knowledge. And don't forget: always submit your answer as a hash, on its own - read the Taking part section of the intro post for more info. At the end of today, this question will be updated with links to further reading on this topic.

Further info:

33 Comments
Dan_Wroblewski
Developer Advocate
Developer Advocate

I believe the J in IntelliJ is capitalized 🙂

@qmacro  For the answer here, do you want the command, or do you want the name of the tool? If the name, capitalize, hyphenated, preceded by "CDS"?

I will assume its the command.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes

69de30545396ed4de39617c80c213fb312bf5d90f510500d18795ddf0391ebad

SachinArtani
Active Participant
0 Likes

507702d0ee025355dab1d48e26df1aa5c2818d5c474eb2a91568e6adaafb2287

lidavidlee
Explorer
0 Likes

f5c6533640079993000b3514753336a70432c796074ade434762d46173f301ac

Joery
Participant
0 Likes

1aafacb7c85090488c5d61b9b67ee415cc4d432f517594f21b93ed7dab0f7a4d

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes

@lidavidlee FYI: Your answer is different from what the others entered.

qmacro
Developer Advocate
Developer Advocate
0 Likes

@Dan_Wroblewski you are correct! Mea culpa. I've corrected the name to IntelliJ. Thanks!

On the question, I've added something to clarify*. Thanks also!

*although I thought that since the "human" name was in the title of this question, plus there are too many potential variations for that, folks would work out that it wasn't that which was sought 🙂

Rupesh_Kumar25
Explorer
0 Likes

d1d676ffc5d1269f27397fe40544feeb230f07362f47f45026672086891dc435

furkan5
Participant
0 Likes

c034aaeacb8b2f0f524422b6ab783122a338843a91e675257bc734a982fae3be

soheil_st
Explorer
0 Likes

d54b103f535a02ca1af6086e193913839a3418c046aa4d35367db0b1feba5a1a

shotokka
Explorer
0 Likes

6b7763d08ed2b49aa41a9bd03fbdc73a39ef2fb86c28f66c7d3c76e32b2efed9

VishnAndr
Active Contributor
0 Likes

ece892ebd12e58fc6521245c905f8d2e40a0ed7c6c5b42f5dd4817a0e4163e63

mvaibhav
Contributor
0 Likes

d4eb92c5f91fc71bb3a07c195dca308e6e824c58d15df07519c550d950a9f99e

0 Likes

4a3d860e4ed5eeb47c4929b7f85948516b5ec4c1e469ca802f12930c92eec0fc

berkaydurmaz
Explorer
0 Likes

b161c0682677828ee50b5c3fea2b134aa85379ad485685bcea676e21ef6b0158

Swathi_SAP_Philomath
Participant
0 Likes

8ff6a0b0112d7bba459e763b404e910f416e43b231a6ac3c62501ffbb03d0348

kasch-code
Participant
0 Likes

5d8c31d7bd91969cef6644ea8af23a62b018bc18848b15e7fb8339e9cf3ac228

Caisi
Explorer
0 Likes

85f2568b5140d06f6fea79bc3569a5833696ffd6b7ce861fe5fe164ac1cb7f81

parthasaradhi
Explorer
0 Likes

7ca1847241d6f5a8d463e3a4c9dd71cab337713930da1975f4160baae602bee7

MioYasutake
SAP Champion
SAP Champion
0 Likes

a4c387a8dc06da12c683387665d9a923748c1b7eea7694c151250d3343aeeb04

ajmaradiaga
Developer Advocate
Developer Advocate
0 Likes

3d316b662854e7a10d513e996da92992005b5c0cddced6af27d73ee913676ec9

Anusha2025
Explorer
0 Likes
07f47710a4c16789245811312b5b391fba90eef6c54361a89e0323e9302a5cff
Andrii
Participant
0 Likes

f8084cbd6849327685dac00f50537302dffe24a401092c9510e5f1ec3f18c344

NakulG
Explorer
0 Likes

f39fb17967d9b21f97973f9b6cca04cb4577a7fa950395412f22b601ff8471f9

Laco
Participant
0 Likes

678555e276eeca4313e707e30fe76c4ed53b446664c5c47546dae28334cfae0b

MatLakaemper
Participant
0 Likes

42688edb2a5262133235b5cdcc2aaaa3a9087f4201094da30d4809a617974a7b

nagarjundas_1994
Explorer
0 Likes

af52e73e160543d97cc3f3dde99cda6dcfd4481f0def1f8ab7428f4ba3f34080

stickman_0x00
Participant
0 Likes

c81e02b4ed9557f90f07fc730a7f67361d07e2eefd2ec6bcf539dd3918d463c0

Ihor_Haranichev
Participant
0 Likes

463c0f09ca2f9b9ac9b288f2d006d80bdacf45e5ebed220a2b73fcc7464b21b5

aelghannam
Participant
0 Likes

e841d331129a3c05cf61d306d47ce23d79566d1c18e768f90cfda1a78e5efaef

SergioG_TX
SAP Champion
SAP Champion
0 Likes

1863abe2eaa1d6ae285bfeb39fb9c72ce860980acef50ed4aaad1f87fe59ed6a

gouthamKumar
Explorer
0 Likes

35f7c59bec9ee78f02faf936f57c38d1a513737168f12161a93507b6c7d64ae3

Chaimae_Chairi27
Participant
0 Likes

381e5a19cae1d1dab19073af9d5184d94a7b00d699a6a6d2939dd442fe8f51eb