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

IntelliSense is broken. Version: 0.10.6 #2168

Closed
janosjanka opened this issue Jan 22, 2016 · 6 comments
Closed

IntelliSense is broken. Version: 0.10.6 #2168

janosjanka opened this issue Jan 22, 2016 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues verified Verification succeeded
Milestone

Comments

@janosjanka
Copy link

function User(name) { this.name = name; }
var user = new User("Me");
user. (No suggestions)

Cannot convert undefined or null to object: TypeError: Cannot convert undefined or null to object
at Function.keys (native)
at Function.e.adapt (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:51:10296)
at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:51:8794
at Object.h [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5:31868)
at Object.__dirname.undefined.P.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:6:3004)
at __dirname.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:6:4830)
at __dirname.undefined.t.Class.define._completed (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:6:4271)
at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:15:26695
at C:\Program Files (x86)\Microsoft VS Code\resources\app\node_modules\graceful-fs\graceful-fs.js:76:16
at C:\Program Files (x86)\Microsoft VS Code\resources\app\node_modules\graceful-fs\graceful-fs.js:76:16e.onUnexpectedError @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91(anonymous function) @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91e.onUnexpectedError @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:10u @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:10(anonymous function) @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:12(anonymous function) @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:12
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:12 WARNING: Promise with no error callback:3

@janosjanka
Copy link
Author

I tried to add a reference to the jquery.js in the same folder, but the result is the same:

/// <reference path="jquery.js" />
jQuery (Cannot find name 'jQuery').

However, JS globals are available by InstelliSense.

@janosjanka
Copy link
Author

Plus, I can not move files to the trash. I have already reinstall but the result is unchanged:

vscodeisbroken

@dbaeumer
Copy link
Member

@janosjanka is this TypeScipt or JavaScript. I can't reproduce in neither of them. I do see the empty suggestion but not the exception.

@dbaeumer dbaeumer added the bug Issue identified by VS Code Team member as probable bug label Jan 22, 2016
@dbaeumer dbaeumer added this to the Backlog milestone Jan 22, 2016
@janosjanka
Copy link
Author

Hi, it is simple JavaScript. It seems to me that TypeScript works.

@janosjanka
Copy link
Author

Here is another picture about it:
error

@dbaeumer dbaeumer assigned jrieken and unassigned dbaeumer Jan 25, 2016
@jrieken jrieken added the javascript JavaScript support issues label Jan 25, 2016
@jrieken
Copy link
Member

jrieken commented Mar 16, 2016

As we now ship with project Salsa this should work

@jrieken jrieken closed this as completed Mar 16, 2016
@joaomoreno joaomoreno added the verified Verification succeeded label Sep 2, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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 javascript JavaScript support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants