You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Completion Sample Error: rejected promise not handled within 1 second: Error: No such branch: main. extensionHostProcess.js:148 stack trace: Error: No such branch: main.
#1064
I am trying to run the completions sample. I npm run watch and then open the Extension Development Host on the extension.ts file but always run into this error when trying to call the Trigger Snippet command.
Error: No such branch: main.
extensionHostProcess.js:148
stack trace: Error: No such branch: main.
at F.getBranch (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:935457)
at async T.retryRun (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1028191)
at async T.run (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1027795)
at async T.getBranch (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1016176)
at async T.getBranchBase (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1016462)
at async t.GitHistoryProvider.resolveHEADMergeBase (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:945925)
at async t.GitHistoryProvider.onDidRunGitStatus (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:940157)
extensionHostProcess.js:148```
The text was updated successfully, but these errors were encountered:
Update:
it works now.
the issue seems to be because when I open the extension development host, the file I was attempting to run the trigger suggest on was in a different repo which is a git repo also
Extension sample
completions-sample
VS Code version
Version: 1.91.1 (Universal)
What went wrong?
I am trying to run the completions sample. I
npm run watch
and then open the Extension Development Host on the extension.ts file but always run into this error when trying to call the Trigger Snippet command.The text was updated successfully, but these errors were encountered: