Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vscode becomes unresponsive for few seconds when i start a new instance or window #643

Closed
khanakia opened this issue Apr 5, 2024 · 12 comments

Comments

@khanakia
Copy link

khanakia commented Apr 5, 2024

please complete the following information:

  • OS version: macos sonoma 14.2.1 ARM
  • Editor: vscode
  • Editor version: Version: 1.87.2 (Universal)
  • Programming language: any
  • TabNine extension version: 4.140.0
  • Engine version (could be located within Tabnine Hub): 4.140.0

Issue Details:
Every time I start a new instance or new window of vscode i see Tabning starting as shown in the screenshot and it makes vscode unresponsive for a few seconds. It's slowing down my work a lot as I open and close vscode so many times a day.

This was not the case before but from 1 or 2 weeks I started facing the issue.

Screenshot 2024-04-05 at 5 45 30 AM

gz#30751

(related to Zendesk ticket #30751)

@khanakia
Copy link
Author

khanakia commented Apr 5, 2024

Check the videos here

With Tabnine enabled super slow: https://share.zight.com/jku8xd2B
With Tabning disabled: https://share.zight.com/6quX6Kmj

@TzufTabnine
Copy link

Hi @khanakia ,
Please send us the log files (devtools + engine) and a list of the installed extensions.

@khanakia
Copy link
Author

khanakia commented Apr 15, 2024

Installed Extensions (not all the extensions are activated but I could find a way to export the only activated ones)
installed extensions.txt

Tabnine output

18:57:10 GMT+0530 (India Standard Time) [INFO]: spawning binary with command: /Volumes/D/khanakia/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.144.0/aarch64-apple-darwin/TabNine args: --tls_config insecure=false --no-lsp=true --client=vscode --client-metadata clientVersion=1.88.0 pluginVersion=3.90.0 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-extension-kind=1 vscode-theme-name=Default Dark Modern vscode-theme-kind=Dark vscode-machine-id=b6490734901a5a7604325ee4b2bb17b3a22a68cff3c30f2298d8b4b6b3125d7b vscode-is-new-app-install=false vscode-session-id=4c64195a-b38c-4614-9f28-7131ad201b8d1713187625504 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true vscode-code-lens-enabled=true vscode-found-intellicode=false ide-restart-counter=0 

18:57:10 GMT+0530 (India Standard Time) [DEBUG]: capabilities resolved immediately 

18:57:12 GMT+0530 (India Standard Time) [ERROR]: Error: Binary request timed out. {"State":{}} 

18:57:13 GMT+0530 (India Standard Time) [DEBUG]: Updating root paths for project test: ["/Volumes/D/www/projects/solverhood/test"] 

Devtools logs

 INFO Started local extension host with pid 53307.
9workbench.desktop.main.js:sourcemap:655   ERR [jinliming2.vscode-go-template]: 'configuration.semanticTokenType.description' must be defined and can not be empty
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/khanakia/Library/Application Support/Code/User for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/www/projects/solverhood/test/.vscode for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/khanakia/Library/Application Support/Code/User/settings.json for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/www/projects/solverhood/test/.vscode/settings.json for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/www/projects/solverhood/test/.vscode/launch.json for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/khanakia/Library/Application Support/Code/User/keybindings.json for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:152 [Extension Host] Congratulations, your extension "atlashcl" is now active!
workbench.desktop.main.js:sourcemap:152 [Extension Host] AtlasHCL Language Server starting...
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/khanakia/Library/Application Support/Code/User/snippets for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
12workbench.desktop.main.js:sourcemap:655  WARN [cmake-tools]: Couldn't find message for key cmake-tools.configuration.cmake.options.advanced.statusBarLength.description.
workbench.desktop.main.js:sourcemap:655  WARN [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
workbench.desktop.main.js:sourcemap:655  INFO [perf] Render performance baseline is 16ms
workbench.desktop.main.js:sourcemap:152 [Extension Host] installing vscgo: install -trimpath github.com/golang/vscode-go/vscgo@v0.41.2
workbench.desktop.main.js:sourcemap:655   ERR [Extension Host] failed to install vscgo - Error: Command failed: /usr/local/go/bin/go install -trimpath github.com/golang/vscode-go/vscgo@v0.41.2
go: cannot install cross-compiled binaries when GOBIN is set

workbench.desktop.main.js:sourcemap:152 [Extension Host] failed to install vscgo - Error: Command failed: /usr/local/go/bin/go install -trimpath github.com/golang/vscode-go/vscgo@v0.41.2
go: cannot install cross-compiled binaries when GOBIN is set

w @ workbench.desktop.main.js:sourcemap:152
$logExtensionHostMessage @ workbench.desktop.main.js:sourcemap:1623
S @ workbench.desktop.main.js:sourcemap:1623
Q @ workbench.desktop.main.js:sourcemap:1623
M @ workbench.desktop.main.js:sourcemap:1623
L @ workbench.desktop.main.js:sourcemap:1623
(anonymous) @ workbench.desktop.main.js:sourcemap:1623
y @ workbench.desktop.main.js:sourcemap:89
fire @ workbench.desktop.main.js:sourcemap:89
fire @ workbench.desktop.main.js:sourcemap:628
q.onmessage @ workbench.desktop.main.js:sourcemap:1641
workbench.desktop.main.js:sourcemap:152 [Extension Host] Server: {
  "Commands": [
    "gopls.add_dependency",
    "gopls.add_import",
    "gopls.add_telemetry_counters",
    "gopls.apply_fix",
    "gopls.change_signature",
    "gopls.check_upgrades",
    "gopls.diagnose_files",
    "gopls.edit_go_directive",
    "gopls.fetch_vulncheck_result",
    "gopls.gc_details",
    "gopls.generate",
    "gopls.go_get_package",
    "gopls.list_imports",
    "gopls.list_known_packages",
    "gopls.maybe_prompt_for_telemetry",
    "gopls.mem_stats",
    "gopls.regenerate_cgo",
    "gopls.remove_dependency",
    "gopls.reset_go_mod_diagnostics",
    "gopls.run_go_work_command",
    "gopls.run_govulncheck",
    "gopls.run_tests",
    "gopls.start_debugging",
    "gopls.start_profile",
    "gopls.stop_profile",
    "gopls.test",
    "gopls.tidy",
    "gopls.toggle_gc_details",
    "gopls.update_go_sum",
    "gopls.upgrade_dependency",
    "gopls.vendor",
    "gopls.views",
    "gopls.workspace_stats"
  ],
  "Name": "gopls",
  "Version": "v0.15.2",
  "GoVersion": "go1.22.1"
}
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/www/projects/solverhood/test/.git for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR [File Watcher (node.js)] Refusing to watch /Volumes/D/www/projects/solverhood/test/.git/refs/remotes/origin/main for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.
workbench.desktop.main.js:sourcemap:655   ERR Cannot read properties of undefined (reading 'accessToken'): TypeError: Cannot read properties of undefined (reading 'accessToken')
    at b.h (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1693:21270)
    at b.j (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1693:22006)
    at u.value (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1693:21027)
workbench.desktop.main.js:sourcemap:152 [Extension Host] AtlasHCL Language Server started successfully

@TzufTabnine
Copy link

Hi,
Do you still have this issue?

@khanakia
Copy link
Author

Yes i still having the issue

@TzufTabnine
Copy link

Hi @khanakia
Please try to replicate the issue and send us the new logs -
https://support.tabnine.com/hc/en-us/articles/5283127765265-Getting-Tabnine-Logs-on-VSCode

@khanakia
Copy link
Author

Please check the attached log files.

When opening a new vscode window i have to wait for few seconds to become my IDE active

tabnine_rCURRENT.logs.txt

@TzufTabnine
Copy link

We also need The Devtools console logs
Click Help->Toggle Developer Tools->Console
Can you tell us the email conected to your Tabnine accout?
Can you send us a video of the issue?

@khanakia
Copy link
Author

  1. it's not connected to any email

Check video once the tab nine is active only then my vscode becomes functional

Screen.Recording.2024-05-15.at.8.00.56.PM.mov

Screenshot 2024-05-15 at 8 03 20 PM

@TzufTabnine
Copy link

HI @khanakia
Can you please update your plugin and see if that resolves the issue?

@khanakia
Copy link
Author

Just updated to 3.102.0 and still same issue

Tabnine should not block the vscode on opening a new window

@khanakia
Copy link
Author

khanakia commented May 28, 2024

It is working fine just reloaded the vscode. Thanks for fixing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants