Closed Blues-star closed 3 months ago
However, it seems that I have only found the cause of the stutter, but I still haven't found the reason why plugins like clangd cannot be used.
[Window Title]
Visual Studio Code
[Main Instruction]
command "clangd: Manually activate extension" cause error
[Content]
command 'clangd.activate' not found
The window logs are as follows, but I haven't found the cause of the error.
2024-06-14 15:58:31.018 [trace] CommandService#executeCommand _setContext
2024-06-14 15:58:31.159 [trace] KeybindingService#dispatch F1 [ Will dispatch command workbench.action.showCommands ]
2024-06-14 15:58:31.159 [trace] CommandService#executeCommand workbench.action.showCommands
2024-06-14 15:58:32.097 [trace] writeTextAreaState(reason: focusgain)
2024-06-14 15:58:32.099 [trace] CommandService#executeCommand clangd.activate
2024-06-14 15:58:32.099 [trace] onWillActivateByEvent: onCommand:clangd.activate
2024-06-14 15:58:32.099 [trace] DialogService#prompt 命令 "clangd: Manually activate extension" 导致错误
2024-06-14 15:58:32.347 [debug] Comments: URIs of continue on comments to add to storage .
2024-06-14 15:58:33.615 [trace] writeTextAreaState(reason: focusgain)
2024-06-14 15:58:33.632 [trace] [text file model] resolve() - enter vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/huaweiplatform/liteos/206_2_release/arch/riscv/rvm32/src/dispatch.S
2024-06-14 15:58:33.632 [trace] [text file model] resolveFromFile() vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/huaweiplatform/liteos/206_2_release/arch/riscv/rvm32/src/dispatch.S
2024-06-14 15:58:33.632 [trace] [text file model] resolve() - enter vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/hisi/confidential/lpmcu/include/ap_cp/nashville/memory_linker.h
2024-06-14 15:58:33.633 [trace] [text file model] resolveFromFile() vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/hisi/confidential/lpmcu/include/ap_cp/nashville/memory_linker.h
2024-06-14 15:58:39.500 [trace] CommandService#executeCommand workbench.action.output.show.network
2024-06-14 15:58:39.503 [trace] Stopped polling file:///c%3A/Users/someuser/AppData/Roaming/Code/logs/20240603T095225/sharedprocess.log
2024-06-14 15:58:39.539 [trace] Started polling file:///c%3A/Users/someuser/AppData/Roaming/Code/logs/20240603T095225/network.log
2024-06-14 15:58:41.409 [debug] User data changed
2024-06-14 15:58:52.924 [trace] writeTextAreaState(reason: focusgain)
2024-06-14 15:58:53.069 [trace] KeybindingService#dispatch F1 [ Will dispatch command workbench.action.showCommands ]
2024-06-14 15:58:53.069 [trace] CommandService#executeCommand workbench.action.showCommands
2024-06-14 15:58:54.007 [trace] writeTextAreaState(reason: focusgain)
2024-06-14 15:58:54.010 [trace] CommandService#executeCommand clangd.activate
2024-06-14 15:58:54.010 [trace] onWillActivateByEvent: onCommand:clangd.activate
2024-06-14 15:58:54.010 [trace] DialogService#prompt 命令 "clangd: Manually activate extension" 导致错误
2024-06-14 15:58:54.396 [debug] Comments: URIs of continue on comments to add to storage .
2024-06-14 15:58:54.993 [debug] User data changed
2024-06-14 15:58:56.079 [trace] writeTextAreaState(reason: focusgain)
2024-06-14 15:58:56.110 [trace] [text file model] resolve() - enter vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/huaweiplatform/liteos/206_2_release/arch/riscv/rvm32/src/dispatch.S
2024-06-14 15:58:56.113 [trace] [text file model] resolveFromFile() vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/huaweiplatform/liteos/206_2_release/arch/riscv/rvm32/src/dispatch.S
2024-06-14 15:58:56.113 [trace] [text file model] resolve() - enter vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/hisi/confidential/lpmcu/include/ap_cp/nashville/memory_linker.h
2024-06-14 15:58:56.113 [trace] [text file model] resolveFromFile() vscode-remote://ssh-remote%2B7.240.88.225/srv/workspace/lpmce_update_208_7/work_code/vendor/hisi/confidential/lpmcu/include/ap_cp/nashville/memory_linker.h
I'm not sure why it only shows one extension activated, but on my side, the extension bar shows clangd, bookmark, and a few other extensions are in the activated state. I don't know why he didn't register the 'clangd' extension or other extensions. @sandy081
2024-06-14 16:05:57.111 [info] [resolveAuthority(ssh-remote,1)][37311ms] waiting...
2024-06-14 16:05:58.113 [info] [resolveAuthority(ssh-remote,1)][38313ms] waiting...
2024-06-14 16:05:59.122 [info] [resolveAuthority(ssh-remote,1)][39322ms] waiting...
2024-06-14 16:05:59.726 [info] [resolveAuthority(ssh-remote,1)][39926ms] setting tunnel factory...
2024-06-14 16:05:59.727 [info] [resolveAuthority(ssh-remote,1)][39927ms] returned 127.0.0.1:15628
2024-06-14 16:08:12.090 [info] Eager extensions activated
2024-06-14 16:08:12.254 [info] ExtensionService#_doActivateExtension alefragnani.Bookmarks, startup: false, activationEvent: 'onStartupFinished'
2024-06-14 16:08:12.254 [trace] ExtensionService#loadCommonJSModule file:///c:/Users/someuser/.vscode/extensions/alefragnani.bookmarks-13.5.0/dist/extension-node.js
2024-06-14 16:08:12.254 [trace] ExtensionService#loadExtensionContext alefragnani.Bookmarks
2024-06-14 16:08:12.255 [info] ExtensionService#_doActivateExtension ms-vscode.remote-explorer, startup: false, activationEvent: 'onCommand:remote-internal.setActiveFolders'
2024-06-14 16:08:12.255 [trace] ExtensionService#loadCommonJSModule file:///c:/Users/someuser/.vscode/extensions/ms-vscode.remote-explorer-0.4.3/dist/node/extension.js
2024-06-14 16:08:12.255 [trace] ExtensionService#loadExtensionContext ms-vscode.remote-explorer
2024-06-14 16:08:12.423 [error] Failed to load translations for alefragnani.Bookmarks from file:///c%3A/Users/someuser/.vscode/extensions/alefragnani.bookmarks-13.5.0/l10n/bundle.l10n.zh-cn.json: 无法读取文件'c:\Users\someuser\.vscode\extensions\alefragnani.bookmarks-13.5.0\l10n\bundle.l10n.zh-cn.json' (Error: 无法解析不存在的文件 'c:\Users\someuser\.vscode\extensions\alefragnani.bookmarks-13.5.0\l10n\bundle.l10n.zh-cn.json')
2024-06-14 16:08:12.428 [trace] ExtensionService#_callActivateOptional alefragnani.Bookmarks
2024-06-14 16:08:12.429 [trace] ExtHostCommands#registerCommand bookmarks.whatsNew
2024-06-14 16:08:12.429 [trace] ExtHostCommands#registerCommand _bookmarks.whatsNewContextMenu
2024-06-14 16:08:12.429 [trace] ExtHostCommands#registerCommand _bookmarks.openSideBar
2024-06-14 16:08:12.429 [trace] ExtHostCommands#registerCommand _bookmarks.openFolderWelcome
2024-06-14 16:08:12.430 [trace] ExtHostCommands#registerCommand bookmarks.openSettings
2024-06-14 16:08:12.430 [trace] ExtHostCommands#registerCommand bookmarks.supportBookmarks
2024-06-14 16:08:12.430 [warning] Using default string since no string found in i18n bundle that has the key: Support
2024-06-14 16:08:12.430 [trace] ExtHostCommands#registerCommand bookmarksHelpAndFeedback.openHelpLink
2024-06-14 16:08:12.431 [trace] ExtHostCommands#executeCommand setContext
2024-06-14 16:08:12.431 [trace] ExtHostCommands#executeCommand _setContext
2024-06-14 16:08:12.432 [trace] ExtHostCommands#registerCommand _bookmarks.sidebar.hidePosition
2024-06-14 16:08:12.432 [trace] ExtHostCommands#registerCommand _bookmarks.sidebar.showPosition
2024-06-14 16:08:12.432 [trace] ExtHostCommands#executeCommand setContext
2024-06-14 16:08:12.432 [trace] ExtHostCommands#executeCommand _setContext
2024-06-14 16:08:12.432 [trace] ExtHostCommands#executeCommand setContext
2024-06-14 16:08:12.432 [trace] ExtHostCommands#executeCommand _setContext
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.viewAsTree#sideBar
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.viewAsList#sideBar
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.jumpTo
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.addBookmarkAtLine#gutter
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.addLabeledBookmarkAtLine#gutter
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand _bookmarks.removeBookmarkAtLine#gutter
2024-06-14 16:08:12.433 [trace] ExtHostCommands#registerCommand bookmarks.refresh
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand _bookmarks.clearFromFile
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand _bookmarks.deleteBookmark
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand _bookmarks.editLabel
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.clear
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.clearFromAllFiles
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.selectLines
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.expandSelectionToNext
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.expandSelectionToPrevious
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.shrinkSelection
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.toggle
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.toggleLabeled
2024-06-14 16:08:12.434 [trace] ExtHostCommands#registerCommand bookmarks.jumpToNext
2024-06-14 16:08:12.435 [trace] ExtHostCommands#registerCommand bookmarks.jumpToPrevious
2024-06-14 16:08:12.435 [trace] ExtHostCommands#registerCommand bookmarks.list
2024-06-14 16:08:12.435 [trace] ExtHostCommands#registerCommand bookmarks.listFromAllFiles
2024-06-14 16:08:12.437 [trace] ExtensionService#_callActivateOptional ms-vscode.remote-explorer
2024-06-14 16:08:12.437 [trace] ExtHostCommands#registerCommand remote-explorer.signIntoTunnelGithub
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.signIntoTunnelMicrosoft
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.refresh
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.add
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.configureSsh
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.deleteFolderHistoryItem
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.unregisterTunnel
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToRemoteInCurrentWindow
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToRemoteInNewWindow
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToFolderInCurrentWindow
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToFolderInNewWindow
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToWslUsingDistro
2024-06-14 16:08:12.438 [trace] ExtHostCommands#registerCommand remote-explorer.connectToWslUsingDistroInNewWindow
2024-06-14 16:08:12.440 [trace] ExtHostCommands#executeCommand remote-internal.getActiveSshRemote
2024-06-14 16:08:12.440 [trace] ExtHostCommands#executeCommand remote-internal.getConfiguredHostnames
2024-06-14 16:08:12.440 [trace] ExtHostCommands#registerCommand remote-internal.setActiveFolders
2024-06-14 16:08:45.959 [trace] ExtHostCommands#executeCommand setContext
2024-06-14 16:08:45.959 [trace] ExtHostCommands#executeCommand _setContext
2024-06-14 16:10:01.118 [trace] ExtHostCommands#executeCommand setContext
2024-06-14 16:10:01.118 [trace] ExtHostCommands#executeCommand _setContext
2024-06-14 16:10:18.382 [error] Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
2024-06-14 16:10:18.383 [error] Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
2024-06-14 16:10:18.383 [error] Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
@Blues-star I reopened the old issue and moved your comments to that issue. Hence closing this.
preview issue
Oh, this darn email notification mechanism. I'm very sorry for not receiving your replies in a timely manner. I have adjusted the log level and attached the server logs. I think you can see a segment of the logs like this in the attachment.
It was stuck for 3 minutes before the extension loaded.
log from server
log form ExtHost
I have tried to upload the log file directly, but it failed. Please forgive me for using markdown to attach the log.