Skip to content

Releases: cap-js/cds-intellij

2.1.0

02 Jan 23:50
42f7de4

Choose a tag to compare

Build 48

Added

  • Enable telemetry by default (disabled via user setting sapbas.telemetryEnabled)

Changed

  • Upgrade LSP4IJ to 0.19.1, fixing CDS language support in WSL workspaces and tab-size configuration
  • Upgrade cds-lsp to 9.6.2 with the following changes since 9.4.0:
    • Telemetry support independent from client
    • Fixed syntax highlighting in bracketed expressions and annotate statements with constraints containing function calls
    • *.json files are no longer scanned and parsed heuristically if they contain CSN. Those files need to be used from a CDS file to be seen e.g. in Workspace Symbols. However, files ending with .csn.json or .csn are still considered as CSN files.
    • Removed user setting cds.workspace.debounceFastChanges, now always enabled
    • (Experimental) persistency of where-used index (enabled via user setting cds.workspace.persistency.enabled with more fine-tuning settings available)
    • Compatibility with @sap/cds 9.5
  • Update cds-lsp user settings and defaults, improve UX

Fixed

  • Always use configured/default CDS tabSize
  • Resolve race condition in language-server startup

For details see the full changelog

2.0.1

08 Oct 16:22
006b0a3

Choose a tag to compare

Build 46

Changed

  • Important: minimum required Node.js version is now 22.15.1
  • Include @sap/cds-lsp 9.4.0 with the following changes since 9.2.1:
    • fix: Code completion for annotations:
      • In certain cases proposals added a superfluous &@& character
      • Entries in annotation expressions could be shown twice
      • SQL functions could have been suggested in annotation expressions
    • fix: Element names are now correctly highlighted even without type specification
    • Remove temporary user setting &cds.workspace.fastDiagnosticsMode&. The default so far &clear& is now the only mode.
  • Upgrade LSP4IJ to 0.17.0, fixing Workspace Symbols

Fixed

  • Exclude .json files from being handled by CDS LSP server

2.0.0

21 Aug 20:31
6996617

Choose a tag to compare

Build 45

Added

  • Support for Community Editions of IntelliJ IDEs
    (The plugin is now based on the LSP4IJ plugin, which therefore gets installed in addition.)
  • IDE features unlocked via LSP4IJ 0.14.2:
    • Go to Declaration and Implementation (navigate to symbol declarations and implementations)
    • Highlight Usages in File (highlights symbol usages)
    • Structure Tool Window (populates and updates the file structure panel)
    • Go to Symbol (find/list symbols in workspace)
    • On-the-fly Code Formatting (format block when finishing it with } or ;)
    • Format Selected Code (range formatting)
  • Plugin settings:
    • User settings for language server
    • Node.js interpreter path (to modify result of automatic search)
    • Additional environment variables for CDS Language Server
  • Intention to convert HTTP files to IntelliJ-compatible format (useful for .http files created with cds add http)
  • Code-Style setting to put multiple parenthesized arguments or filters on a new line
  • Actions to open or copy the paths of the log files for LSP stdio and server tracing, respectively

Changed

  • Search suitable Node.js interpreter on first start of plugin
  • include @sap/cds-lsp 9.2.1 with the following changes since 9.1.0:
    • Formatting:
      • Added options `whitespaceBeforeColonInParamList` and `whitespaceAfterColonInParamList` to control whitespace around colons in parameter lists
      • fix: Colons in type paths are no longer aligned with other colons, nor are they padded with spaces
    • Maximum log-file size can now be increased to at most 1 GB (default limit unchanged at 10 MB)
    • Performance optimizations when updating dependency net of CDS file dependencies
    • fix: Using paths which end with a folder name were not resolved correctly
    • fix: Formatter support for == operator
    • fix: Goto implementation for NodeJS services, entities, events, actions and functions, services and entities for Java
  • Automatically fix invalid Node.js interpreter path in settings on plugin start or when opening settings

Fixed

  • Correctly validate Node.js interpreter path when opening settings

2.0.0-rc4

22 Jul 06:05

Choose a tag to compare

Build 43

Changes since version 1.6.0

Added

  • Support for Community Editions of IntelliJ IDEs
    (The plugin is now based on the LSP4IJ plugin, which therefore gets installed in addition.)
  • IDE features unlocked via LSP4IJ 0.14.2:
    • Highlight Usages in File (highlights symbol usages)
    • Structure Tool Window (populates and updates the file structure panel)
    • Go to Symbol (find/list symbols in workspace)
    • On-the-fly Code Formatting (format block when finishing it with } or ;)
    • Format Selected Code
  • User settings:
    • Node.js interpreter path (to modify result of automatic search)
    • Additional environment variables for CDS Language Server
  • Code-Style setting to put multiple parenthesized arguments or filters on a new line

Changed

  • Search suitable Node.js interpreter on first start of plugin

2.0.0-rc3

08 Jul 18:27
c4d1575

Choose a tag to compare

Build 42

Changes since version 1.6.0

Added

  • Support for Community Editions of IntelliJ IDEs
    (The plugin is now based on the LSP4IJ plugin, which therefore gets installed in addition.)
  • IDE features unlocked via LSP4IJ 0.14.2:
    • Highlight Usages in File (highlights symbol usages)
    • Structure Tool Window (populates and updates the file structure panel)
    • Go to Symbol (find/list symbols in workspace)
    • On-the-fly Code Formatting (format block when finishing it with } or ;)
    • Format Selected Code
  • User settings:
    • Node.js interpreter path (to modify result of automatic search)
    • Additional environment variables for CDS Language Server

Changed

  • Search suitable Node.js interpreter on first start of plugin

2.0.0-rc2

08 Jul 13:20

Choose a tag to compare

Build 40

Changes since version 1.6.0

Added

  • Support for Community Editions of IntelliJ IDEs
    (The plugin is now based on the LSP4IJ plugin, which therefore gets installed in addition.)
  • IDE features unlocked via LSP4IJ 0.14.2:
    • Highlight Usages in File (highlights symbol usages)
    • Structure Tool Window (populates and updates the file structure panel)
    • Go to Symbol (find/list symbols in workspace)
    • On-the-fly Code Formatting (format block when finishing it with } or ;)
    • Format Selected Code
  • User settings:
    • Node.js interpreter path (to modify result of automatic search)
    • Additional environment variables for CDS Language Server

Changed

  • Search suitable Node.js interpreter on first start of plugin

1.6.0

08 Jul 14:54
5b18073

Choose a tag to compare

Build 39

Changed

  • Include @sap/cds-lsp 9.1.0 with the following changes since 8.9.1:
    • Support Node.js 24
    • Performance/Responsiveness:
      • Reduce "lagging red underline" while typing - configurable via user setting `cds.workspace.fastDiagnosticsMode`
      • Outdated compilations in background are aborted fast. This increases responsiveness and reduces CPU usage and is especially useful for large projects with many files.
    • Hovering over errors shown explanation for many error types
    • Hovering over built-in types shows documentation
    • Formatter: New option `boolOpsAtLineEnd` to position `and`, `or` operators at line end
    • Formatter: New option `argsInNewLine` to put multiple arguments to e.g. function calls on a new line
    • Formatter: Chained method-like function calls are now broken into separate lines
    • Formatter: More compact formatting of `case` statements
    • Formatter fixes:
      • Original empty lines are now correctly preserved before single-lined blocks
      • Separate alignment of annotations before resp. within projection-like entities
      • Separate alignment of annotations to entity and select items
      • Highlighting of parenthesized annotations with strings containing a colon
      • Highlighting of comments in queries

2.0.0-rc1

20 Jun 10:25
2e23927

Choose a tag to compare

Build 36

Changed

  • Remove upper version limit for IDE platform
  • include @sap/cds-lsp 9.0.1 with the following changes since 8.9.0:
    • Add support for Node.js 24
    • Add formatting option `boolOpsAtLineEnd` to position `and`, `or` operators at line end
    • Hovering over errors shows explanation for many error types
    • Hovering over built-in types shows documentation
    • Where-used functionality now based on new index
    • More compact formatting of `case` statements
    • Fix separate alignment of annotations to entity and select items
    • Fix highlighting of parenthesized annotations with strings containing a colon
    • Fix highlighting of comments in queries
    • Fix formatting of annotations in parentheses with values containing spaces

Fixed

  • via LSP4IJ 0.14.0:
    • Various bug fixes
    • Performance and stability improvements

1.5.0

06 Jun 12:14

Choose a tag to compare

Build 34

  • Compatibility with platform 2025.1
  • Include @sap/cds-lsp 8.9.1 with the following changes since 8.5.1:
    • minimum required NodeJS version is now 20.15.1
    • fixed formatting of annotations in parentheses with values containing spaces
    • fixed auto-update of Annotation Modeler plugin
    • fixed Document highlights which sometimes showed wrong ranges for namespaces
    • use new CDS parser

2.0.0-beta2

03 Apr 09:58

Choose a tag to compare

Build 30

  • Consuming @sap/cds-lsp 8.9.0
  • Consuming LSP4IJ 0.12.0 (which fixes some IDE freezes among others)