Skip to content
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

Introduce project-wide renaming #1431

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

voodoos
Copy link
Collaborator

@voodoos voodoos commented Dec 23, 2024

This introduces a first functional version of project-wide renaming in ocaml-lsp based on preview work on Merlin.

It re-employs the existing mechanism to handle function labelled arguments correctly. There is no guarantees related to possible shadowing. Here is an example of the feature in action, renaming a value of a functor included from its parameter. The name is changes in all the files, both in signatures and implementations, and the project rebuilds immediately:

project-wide-renaming.mov

This PR is based on #1386 and only the last 2 commits are relevant.

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.

1 participant