Skip to content

Releases: cap-js/cds-intellij

2.0.0

21 Aug 20:31
6996617
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

1.4.2

20 Jan 12:04
eb4e8df
Compare
Choose a tag to compare

Build 24

  • Create .cdsprettier.json only for CDS projects, determined by a .cds file being opened. This applies to the events of project create, project open, and settings confirmation.

1.4.1

16 Jan 21:06
ca323ca
Compare
Choose a tag to compare

Build 23

  • Only formatting settings differing from the default or previously contained in .cdsprettier.json are now stored in that file.

Fixed

  • The TextMate bundle for syntax highlighting is now correctly unregistered when the plugin is disabled or uninstalled.