The CoPilot extension makes a request to the OpenAI completion API. (see docs for reference: https://api.openai.com/v1/completions )
These settings can be affected by tuning the
github.copilot.advanced
settings of Copilot.
You could try to increase the limits that are responsible for
github.copilot.advanced": {
"inlineSuggestCount": 5,
"length": 700,
"listCount": 15,
"stops": {
}
}
These are the undocumented settings in GitHub Copilot v1.70.8099:
""github.copilot.advanced": {
"debug.filterLogCategories":[],
"debug.overrideEngine": "",
"debug.overrideProxyUrl": "",
"debug.showScores": false,
"debug.testOverrideProxyUrl": "",
"indentationMode": {
"python": false,
"javascript": false,
"javascriptreact": false,
"jsx": false,
"typescript": false,
"typescriptreact": false,
"go": false,
"ruby": false,
"*": true
},
"inlineSuggestCount": 3,
"length": 500,
"listCount": 10,
"secret_key": "",
"stops": {
"*": [
"\n\n\n"
],
"python": [
"\ndef ",
"\nclass ",
"\nif ",
"\n\n#"
]
},
"temperature":"",
"top_p": 1
}
Source:
editor.action.inlineSuggest.acceptNextWord
command. Assign the command to a shortcut key and press it as many times as needed to complete as much of the first suggested line that you want. – Stodge