Skip to content

Copilot Next Edit Suggestion impedes code indentation #252432

Open
@leo-arguello-ueno

Description

@leo-arguello-ueno

NES feature is a very good idea, it really helps to catch issues beforehand, but sometimes it gets in your way of coding, when i'm trying to indent the code (in places where we have to be vary careful, like YML or Python files) doing tab highlights first the github completion first instead doing an actual tab in the code.

Also it is becoming difficult to handle because before when the greyed code suggestions were in the way of indentation i could dismiss those with an esc and then do a normal tab, now NES gets highlighted and i do an esc, it closes the suggestion but the cursor is still selecting the suggestion collapsed and if i do a tab at that moment it applies the suggestion, even where i'm not coding. A workaround is to do double esc but if you are fast coding and you missed it, some new code appears on screen moving everything and you looses where you were touching and also has to check what NES added to it.

It would be nice that the behaviour of copilot is shared between normal and NES (dismissing with one esc), is that possible?

Metadata

Metadata

Labels

NESIssues related to the next edit suggestions featureinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions