Skip to content

Conversation

@sigmaaa
Copy link
Collaborator

@sigmaaa sigmaaa commented Sep 29, 2025

Description

Please include a summary of the change and which issue is fixed.

Fixes # (IEP-1637)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • ESP-IDF Version:
  • OS (Windows,Linux and macOS):

Dependent components impacted by this PR:

  • Component 1
  • Component 2

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

Summary by CodeRabbit

  • New Features

    • Added terminal connector and terminal view UI; added core UI, logging, XML runtime and Google Gson units to targets.
  • Chores

    • Updated Eclipse platform repositories and orbit aggregation; bumped lsp4e (0.27.10), tm4e (0.15.1) and cdt-lsp (3.3.0).
    • Adjusted target unit declarations, removing the RCP source feature.
  • Bug Fixes

    • Tweaked UI Preferences invocation in tests to improve stability.

@coderabbitai
Copy link

coderabbitai bot commented Sep 29, 2025

Walkthrough

Updated the Eclipse target definition and repository tracks: platform/releases/orbit versions and URLs changed, several installable units added/removed (including UI/terminal/logging/xml/gson), lsp4e/tm4e/cdt-lsp versions bumped, and two SWTBot UI tests updated to select "Window" → "Preferences...".

Changes

Cohort / File(s) Summary
Target definition updates
releng/com.espressif.idf.target/com.espressif.idf.target.target
- Eclipse platform: 4.354.37
- Releases & orbit track: 2025-032025-09 (orbit-aggregation URL change)
- Removed InstallableUnit: org.eclipse.rcp.source.feature.group
- Added InstallableUnits (second location): org.eclipse.tm.terminal.connector.process, org.eclipse.tm.terminal.view.ui, org.eclipse.ui, org.apache.commons.logging, javax.xml.jre
- Added third-party unit: com.google.gson (third location)
- Bumped components & repos: lsp4e0.27.10, tm4e0.15.1, cdt-lsp3.3.0
UI test updates
tests/com.espressif.idf.ui.test/src/com/espressif/idf/ui/test/operations/EnvSetupOperations.java, tests/com.espressif.idf.ui.test/src/com/espressif/idf/ui/test/executable/cases/project/NewEspressifIDFProjectClangFilesTest.java
- Updated SWTBot menu selection label to open Preferences via "Window" -> "Preferences..." (ellipsis added) in two places.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant Test as SWTBot Test
    participant UI as Eclipse UI
    Note right of Test #E8F5E9: Menu label change to "Preferences..."
    Test->>UI: Open "Window" menu
    Test->>UI: Click "Preferences..."
    UI-->>Test: Open Preferences dialog
    alt menu item missing / timeout
        UI-->>Test: Error/timeout
    end
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested reviewers

  • AndriiFilippov
  • alirana01
  • kolipakakondal

Poem

"I hop through manifests, nudging versions high,
From orbit's spring to September sky.
Terminals, UIs, gson in my satchel — spry,
Tests click Preferences... with a twinkle in eye. 🐇"

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title accurately reflects the main change by specifying the Eclipse target platform upgrade and the updated versions of LSP4E and CDT-LSP as outlined in the PR.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch IEP-1637

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 410f4d5 and 5e6c650.

📒 Files selected for processing (1)
  • releng/com.espressif.idf.target/com.espressif.idf.target.target (6 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build_macos

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5e6c650 and bb8d687.

📒 Files selected for processing (1)
  • releng/com.espressif.idf.target/com.espressif.idf.target.target (6 hunks)
🔇 Additional comments (1)
releng/com.espressif.idf.target/com.espressif.idf.target.target (1)

100-100: CDT-LSP 3.3 repository still missing. As noted previously, https://download.eclipse.org/tools/cdt/releases/cdt-lsp-3.3/cdt-lsp-3.3.0/ remains a 404, so upgrading to CDT-LSP 3.3 breaks the target. Please revert to 3.2 (or wait for 3.3 to land).(download.eclipse.org)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
tests/com.espressif.idf.ui.test/src/com/espressif/idf/ui/test/operations/EnvSetupOperations.java (1)

51-64: Minor: fix typo in variable name prefrencesShell

Rename to preferencesShell for readability and searchability.

-        SWTBotShell prefrencesShell = bot.shell("Preferences");
+        SWTBotShell preferencesShell = bot.shell("Preferences");
-        prefrencesShell.bot().tree().getTreeItem("General").select();
-        prefrencesShell.bot().tree().getTreeItem("General").expand();
-        prefrencesShell.bot().tree().getTreeItem("General").getNode("Editors").select();
-        prefrencesShell.bot().tree().getTreeItem("General").getNode("Editors").expand();
-        prefrencesShell.bot().tree().getTreeItem("General").getNode("Editors").getNode("File Associations").select();
-        prefrencesShell.bot().comboBox().setSelection("Plain Text Editor");
-        prefrencesShell.bot().tree().getTreeItem("General").getNode("Workspace").select();
-        if (!prefrencesShell.bot().checkBox("Refresh using native hooks or polling").isChecked())
+        preferencesShell.bot().tree().getTreeItem("General").select();
+        preferencesShell.bot().tree().getTreeItem("General").expand();
+        preferencesShell.bot().tree().getTreeItem("General").getNode("Editors").select();
+        preferencesShell.bot().tree().getTreeItem("General").getNode("Editors").expand();
+        preferencesShell.bot().tree().getTreeItem("General").getNode("Editors").getNode("File Associations").select();
+        preferencesShell.bot().comboBox().setSelection("Plain Text Editor");
+        preferencesShell.bot().tree().getTreeItem("General").getNode("Workspace").select();
+        if (!preferencesShell.bot().checkBox("Refresh using native hooks or polling").isChecked())
-        {
-            prefrencesShell.bot().checkBox("Refresh using native hooks or polling").click();
-        }
-        prefrencesShell.bot().button("Apply and Close").click();
+        {
+            preferencesShell.bot().checkBox("Refresh using native hooks or polling").click();
+        }
+        preferencesShell.bot().button("Apply and Close").click();
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ba285b and cb60721.

📒 Files selected for processing (1)
  • tests/com.espressif.idf.ui.test/src/com/espressif/idf/ui/test/operations/EnvSetupOperations.java (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build_windows
  • GitHub Check: build

@sigmaaa
Copy link
Collaborator Author

sigmaaa commented Oct 2, 2025

Updated LSP4E to 0.27.10 due to the critical bug for us on 0.27.9. More info: eclipse-lsp4e/lsp4e#1322

@sigmaaa sigmaaa changed the title WIP: IEP-1637 Upgrade Eclipse target platform: LSP4E 0.27.9, CDT-LSP 3.3 IEP-1637 Upgrade Eclipse target platform: LSP4E 0.27.10, CDT-LSP 3.3 Oct 2, 2025
Comment on lines +32 to +33
<unit id="org.apache.commons.logging" version="0.0.0"/>
<unit id="javax.xml.jre" version="0.0.0"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default these will be included, do you see any specific usecase? if you need a specific version other than the default one for some reason, you can check eclipse orbit

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kolipakakondal,

Without this, the build fails to compile the org.w3c.dom dependency.

Copy link
Collaborator

@kolipakakondal kolipakakondal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check PR comments, otherwise LGTM

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
releng/com.espressif.idf.target/com.espressif.idf.target.target (1)

26-32: Remove unnecessary installable unit org.apache.commons.logging.

No references to this unit were found in code or XML; the other units are required.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 755c4b6 and 0878fbf.

📒 Files selected for processing (1)
  • releng/com.espressif.idf.target/com.espressif.idf.target.target (6 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: build
  • GitHub Check: build_macos
  • GitHub Check: build_windows
🔇 Additional comments (5)
releng/com.espressif.idf.target/com.espressif.idf.target.target (5)

93-96: TM4E 0.15.1 repository is accessible. Verified HTTP 200 response from https://download.eclipse.org/tm4e/releases/0.15.1/.


6-6: Verified: Eclipse 4.37 repository is accessible (HTTP 200).


84-91: Approve LSP4E 0.27.10 upgrade
Repository is accessible and P2 metadata confirmed; fixes critical bug in 0.27.9 ([lsp4e#1322]).


20-20: SimRel 2025-09 repository confirmed accessible. HTTP 200 indicates https://download.eclipse.org/releases/2025-09/ is now reachable and serving content as expected.


51-51: Verify presence of Batik artifacts in Orbit 2025-09.

Run:

URL="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2025-09"
curl -s "${URL}/" | grep -i batik

@sigmaaa
Copy link
Collaborator Author

sigmaaa commented Oct 6, 2025

Hi @AndriiFilippov, since this PR includes dependency updates, we need to verify the basic functionality of the IDE when testing it.

@sigmaaa sigmaaa self-assigned this Oct 7, 2025
@kolipakakondal kolipakakondal added this to the v3.7.0 milestone Oct 9, 2025
@kolipakakondal
Copy link
Collaborator

Hi @AndriiFilippov Please verify, we can consider this for v3.7.0

@AndriiFilippov
Copy link
Collaborator

@sigmaaa @kolipakakondal hi !

Tested under:
OS - Windows 11 / Mac arm64 / Linux Ubuntu
ESP-IDF: v5.5.1

Syntax Highlighting, auto-completion, go to definition, clangd ✔️
LGTM 👍

@kolipakakondal
Copy link
Collaborator

@sigmaaa @kolipakakondal hi !

Tested under: OS - Windows 11 / Mac arm64 / Linux Ubuntu ESP-IDF: v5.5.1

Syntax Highlighting, auto-completion, go to definition, clangd ✔️ LGTM 👍

Thanks @AndriiFilippov for verifying.
Do your test cases also cover IDE upgrades from earlier versions to the latest version with these changes?

@kolipakakondal kolipakakondal merged commit baeb8a5 into master Oct 9, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants