-
Notifications
You must be signed in to change notification settings - Fork 211
fix: quote marks during autocomplete now take care of the existing quotes #1666
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
Open
Karman-singh15
wants to merge
66
commits into
facebook:main
Choose a base branch
from
Karman-singh15:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 43 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
a2fdc89
Change string formatting in Display implementation
Karman-singh15 26e462d
feat: Improve LSP literal completions by removing quotes when inserti…
Karman-singh15 bc16325
Merge branch 'facebook:main' into main
Karman-singh15 44c9c09
test: add 'inserting' field to expected LSP completion results for li…
Karman-singh15 61847f4
combined the quotes test in completion.rs and remove a no-op
Karman-singh15 35e07a2
Fix linter warnings for cargo
stroxler 58798ba
Just pass down inferred_from_method as a boolean flag
stroxler 285379f
Combine the top to matches of `calculate_class_field`
stroxler f4541ac
Inline `check_and_sanitize_type_parameters` into the main match
stroxler b727739
Track a bug in class field sanitization
stroxler 3012d71
Inline get_class_field_initialization
stroxler 309300c
Inline magic initialization check into the match
stroxler e16f11f
Get rid of magic initialization for instance methods
stroxler ea4270e
Trivial restructure of matching code
stroxler 9b549c9
Extract `dataclass_field_initialization` code to a helper
stroxler f04479a
Vendor typify
c78f732
preserve quantified information when unpacking quantified type var tuple
yangdanny97 005801c
Add more info to an `unreachable!` message
rchen152 59b94ca
Add OutputWithLocations struct.
d0f3220
Add mock implementation of OutputWithLocations
7081e24
Update pyrefly version]
7f4cc24
Implement write_str
4a2fa2a
Implement write_qname
ed7a356
Implement write_lit
4d42f7b
Implement write_targs
6db8cdf
fix parsing of multi-line parameter descriptions in docstrings #1588 …
asukaminato0721 3f00984
Implement write_type.
b242eed
Test that Union types do not split properly.
e5bf11e
fix unused variable detection for reassignments
kinto0 4e02534
filter star imports from unused detection
kinto0 7c365fa
highlight false negative
kinto0 aeb0c55
bump version
kinto0 32cfc95
Add test to show the Intersection types do not split properly.
29bfa47
Create fmt_type_sequence helper function to handle types with separat…
7aa0e90
Update Union Logic to properly split into parts.
11c7137
Update intersection types to properly split into parts.
1ff453d
Add test showing that tuple type does not have a location.
deb5c23
Add test showing that types from typing.py do not have locations.
394a6fa
Fix crashes when `yield` or `yield from` appears in type annotations
grievejia 143a3b0
add tests for last diff
kinto0 7c98ce6
refactor: update `get_callables_from_call` destructuring to include a…
Karman-singh15 ad4e361
Refactor add_literal_completions to remove in_string check
Karman-singh15 38fcb67
Merge branch 'facebook:main' into main
Karman-singh15 b2fe8ee
Merge branch 'facebook:main' into main
Karman-singh15 64a4af2
added missing call
Karman-singh15 a4f50d4
updated the duplicate quote test
Karman-singh15 1851ee7
Merge branch 'main' into main
Karman-singh15 935f9bc
add optional display name to Type::Union
yangdanny97 65aef3d
bump ruff packages
yangdanny97 acc00ad
feat: Improve LSP literal completions by removing quotes when inserti…
Karman-singh15 f00a366
test: add 'inserting' field to expected LSP completion results for li…
Karman-singh15 5c8d4f9
Fix linter warnings for cargo
stroxler c781bfa
Just pass down inferred_from_method as a boolean flag
stroxler 3e803c5
Inline `check_and_sanitize_type_parameters` into the main match
stroxler 5f28775
Inline get_class_field_initialization
stroxler 10ac53c
preserve quantified information when unpacking quantified type var tuple
yangdanny97 13bb911
Add OutputWithLocations struct.
6e7d7cb
Update pyrefly version]
63f86cb
fix parsing of multi-line parameter descriptions in docstrings #1588 …
asukaminato0721 aa455f5
Implement write_type.
b26bb7e
fix unused variable detection for reassignments
kinto0 ef09f28
filter star imports from unused detection
kinto0 ebadfed
Update Union Logic to properly split into parts.
08dfad0
Add test showing that tuple type does not have a location.
6e4267d
Fix crashes when `yield` or `yield from` appears in type annotations
grievejia 02b24ba
add tests for last diff
kinto0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.