-
Notifications
You must be signed in to change notification settings - Fork 9
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
base: feature/rename-refactoring/parametric
Are you sure you want to change the base?
Feature/rename refactoring/parametric impl #695
Conversation
6711f29
to
803dc0d
Compare
There was a problem hiding this 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.
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/DefaultWorkspaceService.java
Outdated
Show resolved
Hide resolved
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/BaseWorkspaceService.java
Show resolved
Hide resolved
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/BaseWorkspaceService.java
Outdated
Show resolved
Hide resolved
...-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric/InterpretedLanguageContributions.java
Outdated
Show resolved
Hide resolved
...-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric/InterpretedLanguageContributions.java
Outdated
Show resolved
Hide resolved
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric/ParametricTextDocumentService.java
Show resolved
Hide resolved
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric/ParserOnlyContribution.java
Outdated
Show resolved
Hide resolved
|
||
let renameSuccess = false; | ||
let tries = 0; | ||
while (!renameSuccess && tries < 5) { |
There was a problem hiding this comment.
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
)
|
This PR implements rename refactoring from the design in PR #651
Point of discussion: