Open xuanhua opened 3 months ago
I'm not an expert on typescript. I see more messages on deveoper console like this:
WARN [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
webviewElement.ts:482 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:482
log.ts:419 INFO Started local extension host with pid 22292.
log.ts:419 INFO [perf] Render performance baseline is 16ms
webviewElement.ts:482 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:482
P @ overlayWebview.ts:249
claim @ overlayWebview.ts:135
Eb @ extensionEditor.ts:721
await in Eb (async)
Hb @ extensionEditor.ts:864
await in Hb (async)
Db @ extensionEditor.ts:692
Cb @ extensionEditor.ts:677
Bb @ extensionEditor.ts:638
Ab @ extensionEditor.ts:590
await in Ab (async)
setInput @ extensionEditor.ts:458
await in setInput (async)
S @ editorPanes.ts:434
L @ editorPanes.ts:254
openEditor @ editorPanes.ts:131
(anonymous) @ editorGroupView.ts:1269
Kb @ editorGroupView.ts:1293
Jb @ editorGroupView.ts:1251
openEditor @ editorGroupView.ts:1155
openEditor @ editorService.ts:573
open @ extensionsWorkbenchService.ts:1252
cd @ extensionsViews.ts:1100
(anonymous) @ extensionsViews.ts:228
y @ event.ts:1196
fire @ event.ts:1227
(anonymous) @ event.ts:268
y @ event.ts:1196
fire @ event.ts:1227
(anonymous) @ event.ts:161
y @ event.ts:1196
fire @ event.ts:1227
j @ listService.ts:778
g @ listService.ts:749
(anonymous) @ listService.ts:705
y @ event.ts:1196
fire @ event.ts:1227
(anonymous) @ event.ts:127
y @ event.ts:1196
fire @ event.ts:1227
u @ listWidget.ts:784
(anonymous) @ event.ts:178
y @ event.ts:1196
fire @ event.ts:1227
(anonymous) @ event.ts:127
y @ event.ts:1196
fire @ event.ts:1227
E @ event.ts:40
log.ts:419 INFO Started local extension host with pid 23579.
vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html?&vscodeWebWorkerExtHostId=c22f0e7f-c32d-4632-9b5d-e1d1fc79d39d:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
webviewElement.ts:482 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Hope this would help
@xuanhua thanks for sharing all of the logs. I don't think there's anything there strictly related to the Continue extension, but I'm wondering whether anything in this list might be able to explain the problem
particularly the 6th point could explain the fact that you still see the completion in the Output tab
@xuanhua thanks for sharing all of the logs. I don't think there's anything there strictly related to the Continue extension, but I'm wondering whether anything in this list might be able to explain the problem
@sestinj thanks for your reply, I just check the list you provided especially the 6th, And I can see the option of "editor.inlineSuggest.enabled" is checked. So from my understanding, this should not be cause.
The weird thing is that when I connected to a remote ubuntu machine, the code-completion suggestion could work and it also use my local (on macos) model. I also tried to disable or even uninstall Continue plugin from that ubuntu machine. And I see there are actually only one instance of Continue plugin. And once I change the its configuration on ubuntu machine, the configuration also is changed on my macos. And I remembered that I also tried to using Continue on Jetbrain IDE for python programming. There is no lucky for me there so I did uninstalled Continue on Jetbrain IDE. And as far as I know, there is only one vscode instance running during my development: local deveopment on my macos or remote development on that ubuntu machine.
Before submitting your bug report
Relevant environment info
Description
Right side bar could work (llm could give answers for questions). But code autocompletion does not work
Here is my
config.json
:And the local installed Continue plugin could work on when connecting to remote ubuntu server. So I wonder if there is any access permission issue on Macos? And I cannot see any obvious related issue in devopler console
And by using following steps:
During typing in *.py file, I can see the llm's code completion. But I there still no code completion displayed during the typing.
To reproduce
steps are listed above
Log output