Skip to content

Add N&N for LTK copy refactoring - #575

Merged
merks merged 1 commit into
eclipse-platform:masterfrom
Felix-Schmid:copy-refactoring-n&n
Jul 3, 2026
Merged

Add N&N for LTK copy refactoring#575
merks merged 1 commit into
eclipse-platform:masterfrom
Felix-Schmid:copy-refactoring-n&n

Conversation

@Felix-Schmid

Copy link
Copy Markdown
Contributor

@merks merks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be in platform_isv.md not in platform.md because it's about APIs used by developers developing plugins, not directly used by the end user.

Please also split sentenced onto new lines.

Comment thread news/4.41/platform.md Outdated
- [Felix Schmid](https://github.com/Felix-Schmid)
</details>

LTK already supported refactoring operations for moving, renaming, and deleting resources, but part of the infrastructure for copying was missing. Copy participants contributed via the `org.eclipse.ltk.core.refactoring.copyParticipants` extension point are now invoked when resources are copied.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please start new sentences on a new line.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@Felix-Schmid
Felix-Schmid force-pushed the copy-refactoring-n&n branch from 134e456 to 8ab8c02 Compare July 3, 2026 09:45

@merks merks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just small details. Then we can merge. Thanks for your patience! And for contributing this useful new feature!!

Comment thread news/4.41/platform_isv.md Outdated

## Language Toolkit (LTK)

### Copy refactoring support

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Title case please.

Suggested change
### Copy refactoring support
### Copy Refactoring Support

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Comment thread news/4.41/platform_isv.md Outdated
Copy participants contributed via the `org.eclipse.ltk.core.refactoring.copyParticipants` extension point are now invoked when resources are copied.

These copy participants can perform refactorings, such as adjusting package names for specific languages.
For example, the Eclipse 4diac IDE includes a participant that updates package names to match the new folder structure when resources are copied. It can be found [here](https://github.com/eclipse-4diac/4diac-ide/blob/develop/plugins/org.eclipse.fordiac.ide.typemanagement/src/org/eclipse/fordiac/ide/typemanagement/refactoring/copy/CopyTypeParticipant.java).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please split these two sentenced into two lines.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops, overlooked that one. Done.

@Felix-Schmid
Felix-Schmid force-pushed the copy-refactoring-n&n branch from 8ab8c02 to 0490b91 Compare July 3, 2026 11:01
@merks
merks merged commit 43bb60b into eclipse-platform:master Jul 3, 2026
1 check passed
@Felix-Schmid
Felix-Schmid deleted the copy-refactoring-n&n branch July 3, 2026 13:04
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.

2 participants