Skip to content

Feature/rename refactoring/parametric impl #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: feature/rename-refactoring/parametric
Choose a base branch
from

Conversation

PieterOlivier
Copy link
Contributor

@PieterOlivier PieterOlivier commented Aug 9, 2025

This PR implements rename refactoring from the design in PR #651

Point of discussion:

  • What should we do if a rename changes extensions causing a switch from one language contribution to another?

@PieterOlivier PieterOlivier force-pushed the feature/rename-refactoring/parametric-impl branch from 6711f29 to 803dc0d Compare August 11, 2025 12:19
Copy link
Member

@DavyLandman DavyLandman left a comment

Choose a reason for hiding this comment

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

Looking good, some small changes.


let renameSuccess = false;
let tries = 0;
while (!renameSuccess && tries < 5) {
Copy link
Member

Choose a reason for hiding this comment

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

this loop is a copy of something in the ide.test.ts, how about we factor that out into a function in our ide class? (just like we did for move)

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
11.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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