'GitHub copilot autocomplete one line only shortcut key

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?



Solution 1:[1]

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

Solution 2:[2]

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:)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 matt Goodwin
Solution 2 laviRZ