GitHub copilot autocomplete one line only shortcut key

Viewed 1313

Is there a shortcut key to complete the first line only?

enter image description here

here I wanted to autocomplete only the line line-height: 1.2;, but if I press the tab it will insert the whole suggested code including a new class below.

Since this happens a lot, is there a way only to complete the first line/ line by line?

:) Even looking at the image, don't you get an urge to complete the first line only?

2 Answers

That is annoying, but the answer to your question seems to be no for the time being. Keep in mind that there are updates to the plugin very frequently, so there's still hope:)

If you're using VSCode, I think it's Alt + \ to toggle inline suggestions, or at least that's what the docs say.Docs

Related