Skip to content
Draft
Changes from 1 commit
Commits
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
4 changes: 2 additions & 2 deletions bundles/com.espressif.idf.ui/introcontent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<introContent>
<page
id="root"
url="index.html"/>
url="http://org.eclipse.ui.intro/showPage?id=root" />
<page
id="standbyPageId"
url="index.html"/>
url="platform:/plugin/com.espessif.idf.ui/index.html"/>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

# First, find and read the introcontent.xml file to verify the actual content
find . -name "introcontent.xml" -type f | head -20

Repository: espressif/idf-eclipse-plugin

Length of output: 119


🏁 Script executed:

# Read the introcontent.xml file to check line 8
cat -n ./bundles/com.espressif.idf.ui/introcontent.xml | head -15

Repository: espressif/idf-eclipse-plugin

Length of output: 416


🏁 Script executed:

# Read the MANIFEST.MF to confirm the correct plugin ID
cat -n ./bundles/com.espressif.idf.ui/META-INF/MANIFEST.MF

Repository: espressif/idf-eclipse-plugin

Length of output: 2773


🏁 Script executed:

# Search for any other instances of the misspelled "espessif" in the codebase
rg "espessif" --type-list | head -5

Repository: espressif/idf-eclipse-plugin

Length of output: 461


🏁 Script executed:

# Search for any other instances of the misspelled "espessif" in the codebase
rg "espessif" -n

Repository: espressif/idf-eclipse-plugin

Length of output: 187


Plugin ID typo in standbyPageId URL will break resource resolution at runtime.

Line 8 references com.espessif.idf.ui (missing 'r'), but the bundle's symbolic name is com.espressif.idf.ui (as declared in MANIFEST.MF line 4). The platform: protocol requires an exact match to the bundle ID. This mismatch will cause the URL to fail resolution, breaking the standby page.

Fix:

-            url="platform:/plugin/com.espessif.idf.ui/index.html"/>
+            url="platform:/plugin/com.espressif.idf.ui/index.html"/>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
url="platform:/plugin/com.espessif.idf.ui/index.html"/>
url="platform:/plugin/com.espressif.idf.ui/index.html"/>
🤖 Prompt for AI Agents
In bundles/com.espressif.idf.ui/introcontent.xml around line 8, the
standbyPageId URL uses the wrong bundle ID `com.espessif.idf.ui` (typo: missing
'r') which prevents platform:/plugin resolution; update the url attribute to the
correct bundle symbolic name `com.espressif.idf.ui` so the platform:/plugin path
matches the bundle ID declared in MANIFEST.MF and the standby page resource can
be resolved at runtime.

</introContent>
Loading