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

Spawning the interactive editor widget with left indentation #184480

Merged
merged 13 commits into from Jun 12, 2023

Conversation

aiday-mar
Copy link
Contributor

@aiday-mar aiday-mar commented Jun 7, 2023

Fixes https://github.com/microsoft/vscode-copilot/issues/289

The code is structured in such a way so that the inline chat widget appears at the indentation level of the first valid line (not containing only whitespaces) above it. By default the indentation will be used, unless there is little available space in the editor (less than 400px) in which case the inline chat will be shown at the left most position with no indentation.

Screen.Recording.2023-06-08.at.16.52.00.mov

@aiday-mar aiday-mar self-assigned this Jun 7, 2023
@aiday-mar aiday-mar marked this pull request as ready for review June 7, 2023 15:18
@aiday-mar aiday-mar requested a review from jrieken June 7, 2023 15:18
@VSCodeTriageBot VSCodeTriageBot added this to the June 2023 milestone Jun 7, 2023
@jrieken jrieken self-requested a review June 12, 2023 07:00
@aiday-mar aiday-mar merged commit 4144b0a into main Jun 12, 2023
6 checks passed
@aiday-mar aiday-mar deleted the aiday/internalIssue4344 branch June 12, 2023 08:50
@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2023
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.

None yet

3 participants