Conside include, extend-include for the native server#12252
Merged
dhruvmanila merged 2 commits intomainfrom Jul 10, 2024
Merged
Conside include, extend-include for the native server#12252dhruvmanila merged 2 commits intomainfrom
include, extend-include for the native server#12252dhruvmanila merged 2 commits intomainfrom
Conversation
Contributor
|
d83b0f2 to
9041186
Compare
MichaReiser
reviewed
Jul 9, 2024
Member
There was a problem hiding this comment.
Do we also need this for fix_all?
ruff/crates/ruff_server/src/fix.rs
Lines 34 to 59 in e6e09ea
and format_text_document_range?
ruff/crates/ruff_server/src/server/api/requests/format_range.rs
Lines 51 to 63 in 8338db6
Should we have a unified helper to avoid the code repetion?
Member
Author
|
Yes, we'll require for both. I think it'd make sense to add a helper for that. |
8af9e89 to
3b3cf58
Compare
3b3cf58 to
83003dc
Compare
MichaReiser
approved these changes
Jul 9, 2024
5ad936f to
1bf727d
Compare
This was referenced Jul 17, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the native server to consider the
includeandextend-includefile resolver settings.fixes: #12242
Test Plan
Note: Settings reloading doesn't work for nested configs which is fixed in #12253 so the preview here only showcases root level config.
Screen.Recording.2024-07-09.at.12.46.45.mov