Skip to content

[vscode] Remove duplicate declaration for DocumentDropEdit#15126

Merged
rschnekenbu merged 1 commit intomasterfrom
issues/15123
Mar 6, 2025
Merged

[vscode] Remove duplicate declaration for DocumentDropEdit#15126
rschnekenbu merged 1 commit intomasterfrom
issues/15123

Conversation

@rschnekenbu
Copy link
Contributor

@rschnekenbu rschnekenbu commented Mar 6, 2025

What it does

Removes a duplicate in theia.d.ts file. DocumentDropEdit was improved when a proposed API was made public, but a duplicate was introduced in Theia rather than updating the existing one. This PR removes the duplicate. This fixes the status report for Theia VScode compatibility (https://eclipse-theia.github.io/vscode-theia-comparator/status.html)

It also mark the DocumentDropEditProvider#resolveDocumentDropEdit as stubbed as there is currently no implementation backing this optional field.

Also, as a note, the DocumentDropEditProviders do not behave as they are supposed to do. The upgrade to monaco editor did remove some functional code. see language-main changes in https://github.com/eclipse-theia/theia/pull/14737/files#diff-c3f11c10237ecdc571f7990062c887b7a1ab822927da02db28fedfe1e69fc4a9

fixes #15123

How to test

Nothing to test, as code was working or only documentation update. Only the report is now fixed.

Original
image

After patch
image

Follow-ups

Implementation / restore DocumentDropEditProvider (see #15058)

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Contributed on behalf of STMicroelectronics

Review checklist

Reminder for reviewers

@rschnekenbu rschnekenbu added the vscode issues related to VSCode compatibility label Mar 6, 2025
@github-project-automation github-project-automation bot moved this to Waiting on reviewers in PR Backlog Mar 6, 2025
@rschnekenbu rschnekenbu assigned tsmaeder and unassigned tsmaeder Mar 6, 2025
@rschnekenbu rschnekenbu requested a review from tsmaeder March 6, 2025 12:57
@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Needs merge in PR Backlog Mar 6, 2025
@rschnekenbu rschnekenbu merged commit afde78f into master Mar 6, 2025
10 of 11 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Mar 6, 2025
@rschnekenbu rschnekenbu deleted the issues/15123 branch March 6, 2025 15:48
@github-actions github-actions bot added this to the 1.60.0 milestone Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vscode issues related to VSCode compatibility

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[vscode] 2 declarations for DocumentDropEdit are present in theia.d.ts

2 participants