Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d5b5c2e
docs(impex): add editor migration plan
mikolayek Nov 21, 2026
7128c77
feat(impex): add Generic Editor preview
mikolayek Nov 21, 2026
29d76aa
feat(impex): migrate new-file wizard
mikolayek Nov 21, 2026
e068b0f
feat(impex): add safe LSP formatting
mikolayek Nov 21, 2026
07b32b8
feat(impex): add scoped completion and navigation
mikolayek Nov 21, 2026
2882efe
feat(impex): add hover, symbols and diagnostics
mikolayek Nov 21, 2026
da8d436
refactor(impex)!: remove legacy editor
mikolayek Nov 23, 2026
65d5442
docs: add documentation versioning policy
mikolayek Nov 23, 2026
d769511
feat(docs): add MkDocs versioned publication
mikolayek Nov 23, 2026
1417686
Merge remote-tracking branch 'priv/master' into deploy/impex-pages
mikolayek Nov 23, 2026
666d2e8
docs: configure personal fork Pages URLs
mikolayek Nov 23, 2026
e04ad34
Merge pull request #46 from mikolayek/deploy/impex-pages
mikolayek Nov 23, 2026
135ef17
Create jekyll-gh-pages.yml
mikolayek Nov 27, 2026
176c1cf
feat: docs jekyll
mikolayek Nov 27, 2026
8142111
docs: remove unused npm install
mikolayek Nov 27, 2026
211cb40
chore: update gh action to node24
mikolayek Nov 27, 2026
5860183
update jekyll docs
mikolayek Nov 27, 2026
c2470cc
removing file modification as all are there
mikolayek Nov 27, 2026
d0183ee
disable jekyll for now
mikolayek Nov 27, 2026
469d021
docs: remove jekyll
mikolayek Nov 27, 2026
051bcf9
Create static.yml
mikolayek Nov 27, 2026
5108ae1
Update static.yml
mikolayek Nov 27, 2026
0479ccf
Update .nojekyll
mikolayek Nov 27, 2026
49c288b
refactor: streamline CI workflows, update gitignores, and add update …
mikolayek Nov 27, 2026
60cf051
remove overlapping ci
mikolayek Nov 27, 2026
51d8754
Merge commit '0479ccffc28a28fd26bce0020acb0c9ac5146074'
mikolayek Nov 27, 2026
32335aa
chore: check with different path
mikolayek Nov 27, 2026
b53eb85
chore: remove jekyll leftovers
mikolayek Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,8 @@ jobs:
with:
distribution: "sapmachine"
java-version: "21"

- name: Cache Maven packages
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.15
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
cache: maven
- name: MVN build
run: ./mvnw --batch-mode --update-snapshots package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.15

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.15
- name: 'Checkout repository'
uses: actions/checkout@v7
- name: 'Dependency Review'
Expand Down
73 changes: 0 additions & 73 deletions .github/workflows/docs.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/maven.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
.metals
.vscode
/site/
/docs-history.bundle
/.venv-docs/
__pycache__/
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

- Replace the legacy ImpEx editor bundle with Generic Editor/TM4E/LSP4E language support.
- Make **ImpEx Editor** the default for `.impex` files; preserve the existing new-file wizard command and shortcut.
- Existing workspaces may need to reselect the editor and uninstall any independently installed legacy bundle.

## v22.11.0 (18/11/2026)

- Modernize Java 21 source code and update build tooling.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Features
* Configure the runtime JVM with optimal settings to run JUnit tests
* Add the JDBC driver to the classpath (required to be able to run JUnit tests)
* Actions to build the platform, ensuring projects are refreshed after the platform has generated files
* Impex editor with type ahead and formatting functionality
* ImpEx language editor with TextMate highlighting, LSP completion/navigation, and safe formatting
* Create working sets from localextensions.xml
* Disable unnecessary extension modules
* Build individual extensions
Expand All @@ -33,7 +33,7 @@ Plugin releases are backward compatible with IDE versions at least 6 months old
Documentation
-------------

Read the [project documentation](https://sap.github.io/hybris-commerce-eclipse-plugin/)
Read the [project documentation](https://mikolayek.github.io/hybris-commerce-eclipse-plugin/)
for user guides, troubleshooting, and developer documentation. The documentation sources are maintained in this README and [docs/](docs/).

Contributing & Code of Conduct
Expand All @@ -47,10 +47,10 @@ Download & Installation
This GitHub repository is for managing the source code of the plugin.

To install the plugin visit the [Eclipse Marketplace](https://marketplace.eclipse.org/content/sap-hybris-commerce-development-tools-eclipse).
Alternatively, add `https://sap.github.io/hybris-commerce-eclipse-plugin/updates/latest/`
Alternatively, add `https://mikolayek.github.io/hybris-commerce-eclipse-plugin/updates/latest/`
in Eclipse under **Help → Install New Software…**. See the [installation guide](docs/installation.md)
for details and the hosted release policy.
For usage and development guidance, see the [project documentation](https://sap.github.io/hybris-commerce-eclipse-plugin/).
For usage and development guidance, see the [project documentation](https://mikolayek.github.io/hybris-commerce-eclipse-plugin/).

Compile and Install From Source
-------------------------------
Expand Down
4 changes: 2 additions & 2 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ SPDX-FileCopyrightText = "2006 SAP SE or an SAP affiliate company and *Eclipse P
SPDX-License-Identifier = "Apache-2.0"

[[annotations]]
path = "com.hybris.hyeclipse.impexed/**"
path = ["com.hybris.hyeclipse.impex/**", "com.hybris.hyeclipse.impex.ls/**", "com.hybris.hyeclipse.impex.tests/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2006 SAP SE or an SAP affiliate company and *Eclipse Plugin for SAP Commerce* contributors"
SPDX-License-Identifier = "Apache-2.0"
Expand Down Expand Up @@ -119,7 +119,7 @@ SPDX-FileCopyrightText = "2006 SAP SE or an SAP affiliate company and *Eclipse P
SPDX-License-Identifier = "Apache-2.0"

[[annotations]]
path = ["docs/**", ".github/**", "com.hybris.hyeclipse.site/**", ".gitignore", ".project", ".settings/**", ".travis", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "README.md", "docs.code-workspace", "pom.xml", "CONTRIBUTING.md", "CONTRIBUTING_USING_GENAI.md", "REUSE.toml", ".travis.yml", "mkdocs.yml"]
path = ["docs/**", ".github/**", "com.hybris.hyeclipse.site/**", ".gitignore", ".project", ".settings/**", ".travis", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "README.md", "docs.code-workspace", "pom.xml", "CONTRIBUTING.md", "CONTRIBUTING_USING_GENAI.md", "REUSE.toml", ".travis.yml", "_config.yml"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2006 SAP SE or an SAP affiliate company and *Eclipse Plugin for SAP Commerce* contributors"
SPDX-License-Identifier = "Apache-2.0"
Expand Down
9 changes: 8 additions & 1 deletion com.hybris.hyeclipse.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,14 @@ All rights reserved.
unpack="false"/>

<plugin
id="com.hybris.hyeclipse.impexed"
id="com.hybris.hyeclipse.impex.ls"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="com.hybris.hyeclipse.impex"
download-size="0"
install-size="0"
version="0.0.0"
Expand Down
14 changes: 14 additions & 0 deletions com.hybris.hyeclipse.impex.ls/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: SAP Commerce Cloud - ImpEx language server
Bundle-SymbolicName: com.hybris.hyeclipse.impex.ls
Bundle-Version: 22.11.1.qualifier
Bundle-Vendor: SAP
Bundle-RequiredExecutionEnvironment: JavaSE-21
Require-Bundle: org.eclipse.lsp4j,
org.eclipse.lsp4j.jsonrpc,
org.eclipse.osgi
Export-Package: com.hybris.hyeclipse.impex.ls,
com.hybris.hyeclipse.impex.ls.format,
com.hybris.hyeclipse.impex.ls.types
Automatic-Module-Name: com.hybris.hyeclipse.impex.ls
78 changes: 78 additions & 0 deletions com.hybris.hyeclipse.impex.ls/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# ImpEx language server

Non-UI LSP4J bundle, connected in-process through the preview bundle's LSP4E
provider. Full document synchronization, UTF-16 positions, document/range formatting,
completion, definition navigation, hover, and document symbols are advertised.
Quote diagnostics are pushed to the client. The server analyzes open
snapshots and host-supplied metadata; it does not load files, connect to Commerce,
or execute scripts.

## Completion and navigation policy

- Context-specific operation/type names, inherited attributes, nested/collection
references, explicit type paths, header/column modifiers, boolean/collection-mode
values, and earlier document-local macro definitions.
- Proposals replace only the current token, including its suffix when typing in
the middle. At most 200 proposals are returned; truncated lists are marked
incomplete so a refined prefix can request a narrower result.
- Reference types come from indexed accessor Java types; ambiguous model names
are not resolved by guessing or stripping a `Model` suffix.
- `TypeSystemProvider` is the host boundary. The Eclipse adapter reuses immutable
`TypeSystemSnapshot` data and caches its DTO projection until the snapshot changes.
Source accessibility and URI are resolved by the host when navigation is requested.
- The current shared index supports one project named `platform`. Its standard
`bin/platform` layout scopes the wider Commerce tree; nonstandard layouts scope
only the platform project's own directory. Unindexed roots, external extensions,
closed projects, and ambiguous workspace aliases receive no indexed proposals.
Do not treat this as full multi-platform indexing support.
- Unknown types and missing indexes retain syntax/modifier/macro proposals without
speculative attributes or false validation errors. Comments/scripts do not get
type/macro assistance. Quoted/continued or macro-expanded headers remain unsupported
for type-context resolution.
- Metadata lookups run on the bounded analysis worker. Document or index changes
during a request discard obsolete proposals; shutdown cancels pending requests.

## Formatting policy

- Align header/data cells with ASCII spaces at CSV boundaries. This fixed policy
does not use tabs, regardless of `insertSpaces`/`tabSize` formatting options.
- Retain quoted contents, doubled quotes, empty/trailing cells, record ordering,
comments, scripts, macro definitions, line endings, and final-newline state.
- Skip an entire block if a data/header record is multiline, backslash-continued,
malformed, has an unsupported record, or has a different cell count from the
header. Virtual/pos-dependent layouts may therefore be left unchanged.
- Range formatting affects only complete header blocks contained in the selection.
- Bounds: 4 Mi UTF-16 code units per input/output document, 100,000 logical records,
512 cells per record, and 256 UTF-16 code units per aligned cell. Oversized/unsafe
input produces no edits, rather than attempting potentially destructive recovery.
- Language analysis uses a single background worker with at most eight queued requests.
Closed, superseded, or cancelled requests cannot supply edits for old snapshots.
LSP4E also rejects results when the editor document's modification stamp changed.

## Hover, outline, and diagnostics

- Hover shows indexed type/attribute details or the current/latest earlier macro
source definition. Definitions are not evaluated. Content is bounded to about
2 Ki UTF-16 units and sent as plain text, not interpreted Markdown/HTML.
- Header/macro symbols identify lexical declarations, not runtime block scopes.
Header ranges cover declarations only; duplicate macro definitions remain separate
entries. Flat or hierarchical symbol response formats follow client capabilities.
At most 1,000 symbols are returned.
- Diagnostics use push notifications, supported by the target LSP4E release.
A separate single-worker pump coalesces rapid changes per document, checks snapshot
identity before publication, includes document versions, and clears results on
correction or close. It does not fill the language-request queue with edit events.
- Only unmatched opening quotes at EOF and unexpected characters after closing
cell quotes are reported. Ranges point to the opening quote or offending character
using UTF-16 positions. At most 100 confirmed quote errors are reported per document.
- Unknown types/macros, row/header cell counts, modifiers, translators, scripting,
and import outcomes are not validated. Oversized/unsupported analysis produces no
inferred errors. No ImpEx code is executed to compute any result.

Parser rules follow `docs/dev/impex/impex-docs.md`, not RFC 4180: quotes only start
at cell boundaries, doubled quotes are literal, and backslashes do not escape quotes.
The scanner groups continued/multiline records for safety, but does not implement
the full import engine or header execution semantics.

UI/upgrade checks, CSV/header compatibility refinements, and multi-platform indexing
remain outstanding. See [the migration plan](../docs/dev/impex/editor-replacement-plan.md).
3 changes: 3 additions & 0 deletions com.hybris.hyeclipse.impex.ls/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source.. = src/
bin.includes = META-INF/,\
.
Loading
Loading