Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astral-sh/ruff-vscode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2023.22.0
Choose a base ref
...
head repository: astral-sh/ruff-vscode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2023.24.0
Choose a head ref
  • 5 commits
  • 20 files changed
  • 2 contributors

Commits on Jun 17, 2023

  1. Pull in updates to VS Code template extension (#226)

    ## Summary
    
    This PR overhauls the LSP client to pull in a bunch of improvements
    that've been made to the upstream template, primarily through these two
    PRs:
    
    -
    microsoft/vscode-python-tools-extension-template#100
    -
    microsoft/vscode-python-tools-extension-template#99
    
    Some of the issues that those PRs fixed, we've actually fixed already --
    but that team knows the LSP and VS Code much, much better, and so I'm
    happy to pull in their changes.
    
    We've obviously diverged a bit from the original template, so pulling in
    these changes while preserving our own deviations is tricky... But, in
    particular, I had to do the following:
    
    - Change the code in `settings.ts` to match our settings schema,
    defaults, etc.
    - Change the code in `extension.ts` to register our custom actions.
    - Change the code in `extension.ts` to support enabling and disabling
    the extension (#222).
    - Change the code in `extension.ts` to debounce restarts (#194, #218).
    charliermarsh committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    cda673b View commit details
    Browse the repository at this point in the history
  2. Fix links to canonical repository URL (#228)

    ## Summary
    
    Simple fix to the new canonical URL of the `ruff-vscode` project.
    
    ## Test Plan
    
    I clicked them all! 😁
    kdeldycke committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    622d796 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73a725c View commit details
    Browse the repository at this point in the history
  4. Always add bundled directory to front of path (#230)

    I guess it's, like, _possible_ that some users already have the bundled
    library in their `sys.path`? There's no harm in adding it again, we want
    it to be at the front.
    charliermarsh committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    66b49c2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a2f7ce View commit details
    Browse the repository at this point in the history
Loading