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

Rename function/variable #791

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Commits on Jan 24, 2023

  1. POC for "rename" functionality

    LSPs can offer a rename capability to rename a "symbol" across a workspace.
    We're not there yet, but this is a starting point. In VS Code it can be used by
    right clicking a symbol (currently variable or call to local function) and
    selecting "Rename symbol". A dialog should pop up asking for a new name.
    
    Official spec:
    https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rename
    Tuxified authored and timgent committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    6bd7de3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aecdfa7 View commit details
    Browse the repository at this point in the history
  3. Simplify tests with rename_example

    - Make rename_example a `.ex` file so we can later test multi-file
      refactors
    - Simplify rename_example to make it easier to follow
    - Extract some common patterns out in the tests
    timgent committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    27da270 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0cf7ab8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    70b5bb5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8db226c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f3d2b30 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    73f8178 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b52042c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f18d548 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    4634203 View commit details
    Browse the repository at this point in the history