SAP HANA Developer Tools for VS CodeRich language support for SAP HANA XS Classic (XSC), XS Advanced (XSA), and SAP HANA Cloud (HDI). Whether you are maintaining legacy XS Classic repository packages ( Highlights
SQL & SQLScript FormatterPress Why It's Safe for HANA Artifacts
Recommended Configuration (
|
| Extensions | Support Details |
|---|---|
.sql, .hdbprocedure, .hdbfunction, .hdbtablefunction, .hdbtrigger |
Full HANA SQL & SQLScript grammar, procedural blocks, CE_* functions, and SQLSCRIPT_* library calls |
.hdbindex, .hdbfulltextindex, .hdbconstraint, .hdbvirtualtable, .hdbtabletype |
DDL highlighting and SQL formatting |
.hdbmigrationtable |
HDI migration table SQL plus == version = N / == migration = N header markers |
.hdbstructuredprivilege, .hdbstructuredfilter, .hdbresultcache, .hdbstatistics, .hdbsystemversioning, .hdbschedulerjob, .hdbremotetablereplica, .hdbcollection, .hdblibrary, .hdbprojectionview |
HDI headerless SQL artifacts (highlighted without requiring CREATE) |
.hdbapplicationtime, .hdbgraphworkspace, .hdbdropcreatetable, .hdbvirtualprocedure, .hdbvirtualfunction |
Specialized HDI SQL artifacts |
2. Data Modeling & CDS (Classic & XS Advanced)
| Extensions | Support Details |
|---|---|
.hdbtable, .hdbstructure |
Classic table.columns = [...] configuration syntax and HDI-style SQL DDL |
.hdbview, .hdbsequence |
Classic config syntax (with embedded SQL highlighting inside query and reset_by strings) and HDI SQL DDL |
.hdbdd |
XS Classic CDS (namespace, context, entity, type, view, associations, annotations, technical configuration) |
.hdbcds |
XS Advanced CDS (extends .hdbdd with AccessPolicy, role, aspect, grant, extend, package ... depends on, $user) |
.hdbschema, .hdbti |
Classic schema declarations (schema_name = ...;) and Table Import (import = [{ ... }];) definitions |
3. XS Classic Application Layer
| Extensions | Support Details |
|---|---|
.xsjs, .xsjslib |
Server-side JavaScript plus HANA $ API globals ($.import, $.db, $.hdb, $.request, $.response, $.net, $.session) |
.xsodata |
OData v2 service definitions (service, navigates, aggregates always, concurrencytoken, cache-control, exits) |
.xsaccess, .xsapp, .xsjob, .xssqlcc, .xsprivileges, .xssecurestore, .hdbsynonym |
Fault-tolerant XS JSON configuration (including xscron schedule expressions in .xsjob) |
.xshttpdest, .xsoauthappconfig, .xsoauthclientconfig, .xsoauthclientflavor |
Outbound HTTP destination and OAuth configurations |
4. Security, Text Analysis & XML Models
| Extensions | Support Details |
|---|---|
.hdbrole |
Both XS Classic role x::y { ... } syntax and HDI JSON role definitions |
.hdbgrants, .hdbrevokes, .hdbroleconfig, .hdbsynonymconfig, .hdbpublicsynonym, .hdbvirtualtableconfig, .hdblogicalschemaconfig, .hdbprojectionviewconfig, .hdbtabledata, .hdbeshconfig, .hdiconfig, .hdinamespace |
Schema-aware HDI JSON configuration keys (with // comment support) |
.hdbafllangprocedure, .hdblogicalschema, .hdbsysbicsynonym, .hdbvirtualprocedureconfig, .hdbvirtualfunctionconfig |
Specialized HDI JSON configuration artifacts |
.hdbtextrule, .hdbtextinclude, .hdbtextlexicon |
Text analysis extraction rules (CGUL directives #include, #lexicon, #define, #group, <STEM:x>, %(name)) |
.calculationview, .hdbcalculationview, .attributeview, .analyticview, .analyticprivilege, .hdbanalyticprivilege, .hdbtextconfig, .hdbtextdict, .hdbtextminingconfig, .hdbsearchruleset, .hdbreptask, .hdbflowgraph |
Automatically associated with VS Code's XML grammar |
Roadmap & Feedback
We are actively expanding this extension with a full Language Server (LSP), static performance/security analyzers, XS Classic to XS Advanced migration quick-fixes, and live _SYS_REPO / HDI database activation. See ROADMAP.md for details.
Spot an edge case in a classic .hdbrole, .xsodata, or .hdbdd file that isn't highlighted as expected? Please open an issue with a minimal snippet!
License
Distributed under the MIT License. See LICENSE for more information.