Editor support

Working in CDS with the editor helping rather than treating it as text — completion, go-to-definition, inline errors, refactoring and preview, driven by a language server rather than reimplemented per editor.

Overview

SAP SHIPSby design
Node.js →

cds-textmate-grammar The TextMate grammar for the CDS language, which highlights .cds files where the CDS language server does not run, most visibly in GitHub's own file viewer through Linguist.

@sap/ux-cds-odata-language-server-extension Adds the OData annotation features to @sap/vscode-cds, the CDS plug-in for Visual Studio Code: completion, micro-snippets, diagnostics, vocabulary documentation, Go to Definition and an i18n check inside a .cds file.

Java →

cds-textmate-grammar The TextMate grammar for the CDS language, which highlights .cds files where the CDS language server does not run, most visibly in GitHub's own file viewer through Linguist.

Not covered: It stops at those editors. The language server speaks LSP, so any editor could consume it — but packaging that for Zed, Eclipse, Neovim or anything else is left to whoever wants it there.

SourceEditors and language supportchecked
THE COMMUNITY ADDS

Packaging of the language server for editors the core does not cover: zed-cds-extension wires it into Zed and cds-eclipse-plugin adds CDS to Eclipse. @saptools/hana-lens compiles a workspace's CAP packages into one CSN cache for lookups.

Artifacts9

9 of 9 artifacts
ArtifactSignals
CLI tools1
@saptools/hana-lensWorkspace-wide CSN cache for querying CAP entities and columns
Signals
none
IDE extensions5
@sap/ux-cds-odata-language-server-extensionOData annotation features for the @sap/vscode-cds extension
Signals
none
@sap/vscode-cdsCDS language support for VS Code and Business Application Studio
Signals
none
cds-eclipse-pluginEclipse plugin for the CDS language
Signals
No license
cds-intellijSAP CDS language support for IntelliJ IDEA
Signals
none
zed-cds-extensionCDS language support for the Zed editor
Signals
none
Packages2
@sap/cds-lspLanguage server for CDS
Signals
none
cds-textmate-grammarTextMate grammar for the CDS language
Signals
Functional boundary
Services1
SAP Build CodeDevelopment environment on BTP for UI5, Fiori, mobile and CAP
Signals
none

Content20

Group by20 of 20 pieces
Piece, what it offers
Part 1: How to create CAPM project in BAS
SAP Community, Vennilla00, BlogThe reasoningA recipe
Core changed
Streamlining CAP Development with CDS Graphical Modeler in SAP Business Application Studio
SAP Community, Jyoti_ranjan, BlogThe reasoning
Get familiar with your first CAPM project using CDS graphic modeler
SAP Community, Jyoti_ranjan, BlogThe reasoning
Show 17 more
SAP CAP: Best VSCode extensions for TypeScript development (UI5 & NodeJS)
SAP Community, Daniel Dragolea, BlogThe reasoningRunnable code
Core changed
Develop CAP Project with Lazyvim in Docker
SAP Community, Helmut Tammen, BlogThe reasoning
Making CAP Application Development Easier and Faster with the Help of Storyboard in SAP Business Application Studio
SAP Community, Aryan_Raj_Sinha, BlogThe reasoning
Add useful Extensions to Dev spaces in SAP Business Application Studio
SAP Community, showkath_naseem, BlogThe reasoning
Importing an external data model using CDS Graphical Modeler for Visual Studio Code
SAP Community, Xiao-fei_Song, Blog
Tips and Tricks for Working with Annotations in CAP Projects using Language Server Protocol (LSP) capabilities
SAP Community, maryana_naboka, BlogThe reasoning
Creating structured types, enums and named aspects using the CDS Graphical Modeler
SAP Community, Xiao-fei_Song, BlogThe reasoning
Importing external edmx files to your CAP project using the CDS Graphical Modeler
SAP Community, Xiao-fei_Song, Blog
Importing @sap/cds common.cds to your CAP project using the CDS Graphical Modeler
SAP Community, Xiao-fei_Song, Blog
An introduction to CDS Graphical Modeler for SAP Business Application Studio
SAP Community, Xiao-fei_Song, BlogThe reasoning
Creating new services using the CDS Graphical Modeler for SAP Business Application Studio
SAP Community, Xiao-fei_Song, Blog
Use Tasks in Visual Studio Code to start a cds service, an approuter and launch a browser in one go
SAP Community, pieterjanssens, BlogThe reasoningRunnable code
Core changed
Storyboard for cloud business applications using CAP in SAP Business Application Studio
SAP Community, liat_b, BlogThe reasoning
SAP Cloud Application Programming Model(CAP):概要およびデモ - Part 1
SAP Community, rasai, part 1 of 2, Blog
Running CAP Node Applications in SAP Business Application Studio
SAP Community, liat_b, BlogThe reasoning
Migrating Your CAP Applications from SAP Web IDE to SAP Business Application Studio
SAP Community, liat_b, BlogThe reasoningA recipe
Core changed
Developing CAP applications in SAP Business Application Studio
SAP Community, liat_b, BlogThe reasoning

Details

What changed — and what it makes stale1
@sap/cds-dk 8.8.0, CAP

Before this release, the CDS language server and its VS Code plugin ran on the original CDS parser only. @sap/cds-dk 8.8.0 shipped a new parser — smaller install, faster parsing, better completion — and let the VS Code plugin opt into it via a setting, while the old parser stayed the default until cds9.

Makes stale:

Advice that CDS editor completion and parse speed cannot improve without switching editors. The new parser was opt-in from this release (cds.compiler.useOldParser to stay on the old one) and became the default in cds9.

Coverage
statecore and community, CAP
assessed
relationshipnarrow by design
also inABAP, BTP/BAIP, UI5
SourceEditors and language supportchecked
For your agent
Ref
capability:editor-support
JSON
/capabilities/editor-support.json
MCP
Connecting an agent