Skip to content

Inline Edit Feature - #204158

Merged
Henning Dieterichs (hediet) merged 77 commits into
microsoft:mainfrom
githubnext:multi-ghost-text
Feb 16, 2024
Merged

Henning Dieterichs (hediet) merged 77 commits into
microsoft:mainfrom
githubnext:multi-ghost-text

Conversation

@hediet

Copy link
Copy Markdown
Member

No description provided.

@hediet

Copy link
Copy Markdown
Member Author

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.

@Krzysztof-Cieslak

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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
Copy Markdown
Contributor

Henning Dieterichs (@hediet) I've addressed all the feedback

Copy link
Copy Markdown
Member Author

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
Henning Dieterichs (hediet) marked this pull request as ready for review February 16, 2024 14:54
@vscodenpa VS Code Bot (vscodenpa) added this to the February 2024 milestone Feb 16, 2024
@hediet
Henning Dieterichs (hediet) merged commit ad35b73 into microsoft:main Feb 16, 2024
@hediet Henning Dieterichs (hediet) changed the title Multi ghost text Inline Edit Feature Feb 16, 2024
@microsoft 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