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

Inline Edit Feature #204158

Merged
merged 77 commits into from
Feb 16, 2024
Merged

Inline Edit Feature #204158

merged 77 commits into from
Feb 16, 2024

Conversation

hediet
Copy link
Member

@hediet hediet commented Feb 2, 2024

No description provided.

@hediet
Copy link
Member Author

hediet commented Feb 5, 2024

Generally, can you try to reuse as much as possible (withoung changing the original much) from the inline completions implementation?
At least the utils you could export and reuse, you don't have to copy them.

@kieferrm kieferrm mentioned this pull request Feb 5, 2024
61 tasks
@Krzysztof-Cieslak
Copy link
Contributor

OK, I've tried to clean it up a bit. utils.ts and ghostText.ts are no longer duplicated, and I'm now reusing parts of ghostTextWidget.ts (the big remaining "pain" point here is the GhostTextWidget class itself, which is very similar in both implementations - I probably could look into refactoring it a bit to enable better code reuse, but it would require bigger changes in the inlineCompletions version)

Copy link
Member Author

@hediet hediet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@Krzysztof-Cieslak
Copy link
Contributor

@hediet I've addressed all the feedback

Copy link
Member Author

@hediet hediet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments. Looks okay, just the leaking disposable store is a blocker at the moment.

@hediet hediet marked this pull request as ready for review February 16, 2024 14:54
@vscodenpa vscodenpa added this to the February 2024 milestone Feb 16, 2024
@hediet hediet enabled auto-merge (squash) February 16, 2024 14:56
@hediet hediet merged commit ad35b73 into microsoft:main Feb 16, 2024
6 checks passed
@hediet hediet changed the title Multi ghost text Inline Edit Feature Feb 16, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants