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

Renaming Variable or Function Support #7515

Merged
merged 28 commits into from
Aug 10, 2023

Conversation

4e6
Copy link
Contributor

@4e6 4e6 commented Aug 7, 2023

Pull Request Description

close #7389

Changelog:

  • add: refactoring/renameSymbol request to rename locals or module methods

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.

@4e6 4e6 self-assigned this Aug 7, 2023
@4e6 4e6 marked this pull request as ready for review August 8, 2023 19:43
jobControlPlane = jobExecutionEngine,
locking = locking,
state = executionState,
versionCalculator = Sha3_224VersionCalculator
Copy link
Contributor

Choose a reason for hiding this comment

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

We really should avoid using sha3, seems like an overkill, but I know that it is used in other places as well. Probably a separate ticket.

}

/**
* @return {@code true} if the provided name is a valid identifier of an Enso method and {@code
Copy link
Contributor

Choose a reason for hiding this comment

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

"of an Enso method" is this only validating method names or just symbols' names in general?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It validates names that appear on the left-hand side of the assignment. Type name can be also called an identifier (but it should be an uppercase), so I preferred to specify.

@4e6 4e6 changed the title Renaming a variable Renaming Variable or Function Support Aug 10, 2023
@4e6 4e6 added the CI: Ready to merge This PR is eligible for automatic merge label Aug 10, 2023
@mergify mergify bot merged commit b7ab691 into develop Aug 10, 2023
24 checks passed
@mergify mergify bot deleted the wip/db/7389-renaming-variable-or-function branch August 10, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Renaming Variable or Function Support within a Single File
3 participants