-
Notifications
You must be signed in to change notification settings - Fork 439
Merge IncrementalEdit
andSourceEdit
#2604
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
Merge IncrementalEdit
andSourceEdit
#2604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @kimdv!
A few comments about deprecations I think we could perform. If those are too wide-reaching, I think it would make sense to do them in a follow-up PR.
IncrementalEdit
andSourceEdit
32fdeb0
to
3a4bb8b
Compare
@ahoppen do you mind do a quick review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I think it would be good to gather a list of all the deprecations + API-incompatible changes as well. And once this is finalized, I’d like to do another double-check about which API is broken and which is deprecated to make sure it matches the release notes.
01dce84
to
be77960
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Looks good 👍🏽
Oh, one think I forgot: Could you add an entry to the release notes?
Added to 6.0 as I saw you added byte range to that. |
be77960
to
f8853c9
Compare
Sorry for changing my mind, @kimdv but I think it would be safer to not include this in 6.0. Changing/deprecating API that’s not strictly necessary is too big a risk for its value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one question about replacementLength
f8853c9
to
cbfcd62
Compare
@swift-ci please test |
e6d6ee4
to
70e4088
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
70e4088
to
df37bb1
Compare
df37bb1
to
0c04746
Compare
swiftlang/sourcekit-lsp#1250 |
swiftlang/sourcekit-lsp#1250 |
Resolves #2532
I'm not sure if this what you envisioned.