Skip to content

Migration#2

Merged
jdneo merged 700 commits into
mainfrom
migration
Apr 13, 2026
Merged

Migration#2
jdneo merged 700 commits into
mainfrom
migration

Conversation

@jdneo
Copy link
Copy Markdown
Member

@jdneo jdneo commented Apr 13, 2026

No description provided.

jdneo and others added 30 commits September 3, 2025 09:42
* fix the bug Not properly disposed SWT resource.
* fix the bug that failed to install terminal bundle.
- Since the new CLS will separate binaries for different platforms, we need
  to update the copy-binaries.js script to copy the binaries from the new paths.
- --force is used when installing npm packages to force npm download packages
  which does not apply to the current platform.
This fixes regression from commit
83214c1 reported at
eclipse-copilot/eclipse-copilot#45.

The main point is that the values that need to be **stored** in the
configuration scope should be **read** via
`Platform.getPreferencesService()`. The `IPreferencesService` includes
by default (no scopes given) **all** scopes (also config, instance and
product relevant here).

The `CopilotPreferenceInitializer` doesn't need to set any values in the
configuration scope, if nothing is set, defaults hard-coded in the code
can be used used and set to the instance defaults, if config scope has
custom value, this will be used for the instance scope as default.

This way the `GeneralPreferencesPage` will always show the "right" value
for reading from the workspace scope and for writing it will write to
both workspace and config scope.

Note also that this patch fixes the plugin id used to store preferences,
it reverts the code to the original state where the preferences from
`com.microsoft.copilot.eclipse.ui` bundle were used.

To verify the fix with product customization, start Eclipse with extra
application argument `-pluginCustomization /tmp/pluginCustomization.ini`
and the file content like below:

```
com.microsoft.copilot.eclipse.ui/autoShowWhatsNew=false
com.microsoft.copilot.eclipse.ui/lastUsedCopilotPluginVersion=0.11
com.microsoft.copilot.eclipse.ui/copilotQuickStartVersion=1
```

That should not show any "what's new" dialog.

Fixes eclipse-copilot/eclipse-copilot#45
* fix - Get the chatset by file
jdneo and others added 26 commits February 26, 2026 14:56
LSPEclipseUtils returns different URI schemes with different API's.
Example toUri(File file) returns file:///C: scheme where as
toUri(@nullable IDocument document) returns file:/C: scheme. But in both
cases underlying file resource is same.
So we introduce URI comparison as secondary approach. Primary comparison
approach remains the same.

see microsoft/GitHub-Copilot-for-Eclipse#47
Fix URI comparison for similar URI schemes.
…ar to WorkingSetBar (#1617)

Compare editors and file editors no longer auto-open when Copilot applies
changes, preventing focus stealing. Users must click a file in the
WorkingSetBar to view diffs. Also renames FileChangeSummaryBar,
FileChangeSummaryHandler, and all related methods to use WorkingSet naming.
* add nes related telemetry

* resolve comments

* resolve missing import
Copy link
Copy Markdown
Contributor

@ethanyhou ethanyhou left a comment

Choose a reason for hiding this comment

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

LGTM

@jdneo jdneo merged commit f15c6d9 into main Apr 13, 2026
1 check passed
@jdneo jdneo deleted the migration branch April 13, 2026 09:03
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.

8 participants