I've activated github copilot and it works fine but, while typing it only shows one line of suggestion. After all of my tryings, It still shows one line of suggestion. But I want to see multi-line suggestions.

Even the all solutions tab show one line of complete solutions.

Here is my user settings.json
{
"editor.formatOnSave": true,
"prettier.singleQuote": true,
"prettier.tabWidth": 4,
"prettier.useTabs": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"diffEditor.codeLens": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.exclude": {
"**/.DS_Store": false,
"**/.hg": false,
"**/.svn": false,
"**/CVS": false,
"node_modules": true
},
"thunder-client.codeSnippetLanguage": "js-axios",
"editor.fontSize": 13,
"aws.profile": "profile:kahramanlar",
"editor.accessibilitySupport": "off",
"window.zoomLevel": -1,
"github.copilot.inlineSuggest.enable": true,
"editor.inlineSuggest.enabled": true,
}
This bug currently affects all versions of vs code and is known to the developers. Since yesterday they officially announced that they are working on the issue:
Hi folks, this is GH Copilot team. We hear your feedback and are actively working to address it. Dave and I will keep you folks updated on the progress. Thanks again!
For VSCode in Mac OS changing the n.multiline||(h.stop=["\n"] to n.multiline||(h.stop=["\n\n\n"] in /dist/extention.js file fix the problem for me.
Or using just this single-line code from here:
sed -i 's/\["\\n"\]/["\\n\\n\\n"]/' $(ls ~/.vscode/extensions/github.copilot-*/dist/extension.js)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With