Skip to content

Intellisense and code validator in JavaScript broken #6239

Closed
@Sampo123

Description

@Sampo123
  • VSCode Version:
    Version 1.0.0
    Commit fa6d0f0
    Date 2016-04-13T14:21:33.326Z
    Shell 0.35.6
    Renderer 45.0.2454.85
    Node 4.1.1
  • OS Version:
    Debian Jessie

Steps to Reproduce:
Reproduction might be an issue as it seems to be severely broken in my project. I have added the jsconfig.json into root of my project and it looks like this:

{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
},
"exclude": [
"node-modules", "bower_components", "dist"
]
}

Project basically contains some node.js, some react etc.

But, the intellisense and all ide features are just broken. No code correction, no intellisense, not with in the file, for example creating a variable with String initializer, like this:

var a = "aaa";

VS Code is not able to recognize the a as a String. So no proposals what so ever when I try to get them show. Also I can write full non sense where ever I want and there are no error or warning markers what so ever.

Also when I open the VS Code, it will show "Loading..." for a while for things I try to hover but after that, nothing.

Only "intellisense" autocompletion I get is just autocomplete to words I have used in the same file. Words, no variables of nothing like that, just words.

Only thing more I can provide is that when I open the developer tools in the VS Code I get this error (repeatedly):

VSCode-linux-x64/resources/app/out/vs/workbench/workbench.main.js:91
[Extension Host] Object
Command: "projectInfo"
message: "Error processing request. Cannot read property 'projectFilename' of undefined."

It also presents itself in threadService.ts:198

As I have tries Googling this, set the project up tens of times and I'm not able to find any help, I'm starting to think that this is bug. Also what ever happens it probably should not brake like this.

If more information or tests are wanted, please contact me.

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions