question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot start the program with F5

See original GitHub issue

Hi, I just installed vscode insiders for windows and cloned the repo. When opening it as hitting F5 here’s what I am getting

src/extension.ts:67:7 - error TS2345: Argument of type '{ text: string; range: vscode.Range; trackingId: string; }' is not assignable to parameter of type 'CustomInlineCompletionItem'.
  Object literal may only specify known properties, and 'text' does not exist in type 'CustomInlineCompletionItem'.

67       text: rs.completions[i],
         ~~~~~~~~~~~~~~~~~~~~~~~

[10:25:11] Found 1 error. Watching for file changes.

Not knowing nodejs, i have no clue where to start

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16

github_iconTop GitHub Comments

5reactions
hgouveiacommented, Jun 23, 2022

@willmendil i had the same issue and fixed by replacing text: rs.completions[i] to insertText: rs.completions[i] it seems the latest vscode insider change the parameters signature of CustomInlineCompletionItem

2reactions
MHuiGcommented, Jun 26, 2022

If you want to get rid of the Huggingface account’s API, I think the first thing to do is to encapsulate gpt-code-clippy as a service (code clippy as service) like clip-as-service , and then refactor the vsc plug-in here to use the service encapsulated above.

There’s still a long way to go, and the repo hasn’t been updated in half a year.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual studio commands don't work. ctrl + f5 doesn't run my ...
I'm using a new laptop, and re-introducing myself to programming. ... not to run nor debug (the menu option didn't appear and the...
Read more >
F5 doesn't work, and it's not found in the menu either.
It seems to be related to openning a existing solution, and then pressing F5 - nothing happens. If you then start the App...
Read more >
F5 doesn't start program at all · Issue #4049 · microsoft/vscode
Just installed Code 0.10.10 on Windows 8.1 and installed PowerShell x86 debugger extension. If I click the green triangle, ...
Read more >
BIG-IP VE system down and failing to start after problem on ...
BIG-IP VE failing to start after problem with host that was recovered. Filesystem errors present, cannot run df or mount successfully.
Read more >
when i open my vs c++ i cant use ctrl + f5 and there is ...
"VS C++" - you mean Visual Studio? "ctrl+F5" - you want to start debugger without debugging? That is almost always the wrong answer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found