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

ERR Cannot read properties of undefined (reading 'completion') #167548

Closed
isidorn opened this issue Nov 29, 2022 · 2 comments
Closed

ERR Cannot read properties of undefined (reading 'completion') #167548

isidorn opened this issue Nov 29, 2022 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders suggest IntelliSense, Auto Complete verified Verification succeeded
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Nov 29, 2022

VS Code Insiders, macOS

  1. New user profile
  2. Open any typescript file. For example editor.ts
  3. write this. -> exception in the dev tools console 🐛
 ERR Cannot read properties of undefined (reading 'completion'): TypeError: Cannot read properties of undefined (reading 'completion')
    at i (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:770:149590)
    at C.m (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:770:148877)
    at C.l (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:770:148670)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:770:148450
    at u.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:85:145)
    at s.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:85:2029)
    at d.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:85:1667)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:770:122434
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:89:16881
@jrieken jrieken added this to the November 2022 milestone Nov 30, 2022
@jrieken
Copy link
Member

jrieken commented Nov 30, 2022

I can only reproduce with

  1. configure "editor.suggest.selectQuickSuggestions": false

@jrieken jrieken added bug Issue identified by VS Code Team member as probable bug suggest IntelliSense, Auto Complete labels Nov 30, 2022
jrieken added a commit that referenced this issue Nov 30, 2022
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Nov 30, 2022
@isidorn
Copy link
Contributor Author

isidorn commented Dec 1, 2022

Thanks for fixing. Somehow that setting was still applied even though I was using a new profile...

@connor4312 connor4312 added the verified Verification succeeded label Dec 1, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders suggest IntelliSense, Auto Complete verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants