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

No intellisense for some typings until tsconfig.json created #835

Closed
benjaminRomano opened this issue Nov 30, 2015 · 4 comments
Closed

No intellisense for some typings until tsconfig.json created #835

benjaminRomano opened this issue Nov 30, 2015 · 4 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@benjaminRomano
Copy link

For some typings, intellisense does not start working until a tsconfig.json config file is included. Is this intended behavior?

Case 1:
Gulp typings without a tsconfig.json included. Typings work
image

Case 2:
Extjs typings without a tsconfig.json. Typings don't work
image

Case 3:
Extjs typings with a tsconfig.json.Typings work
image

@dbaeumer
Copy link
Member

dbaeumer commented Dec 2, 2015

For TS files you either need a tsconfig.json file or use /// reference imports. See https://code.visualstudio.com/docs/languages/typescript

@dbaeumer dbaeumer closed this as completed Dec 2, 2015
@EthraZa
Copy link

EthraZa commented Dec 6, 2015

I tryed.
I have typings/extjs/ExtJS.d.ts.
I have created a jsconfig.json at root level of my Sencha ExtJS 6 project folder:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "ES5",
        "outDir": "out",
        "noLib": true,
        "sourceMap": true
    },
    "exclude": [
        "node_modules",
        "ext",
        "overrides",
        "resources",
        "sass",
        "build",
        "packages",
        "help"
    ]
}

When I open any js file I just get a popdown Warning saying:

Sorry, but there are too many JavaScript source files for VS Code. Consider using the exclude-property in jsconfig.json.

And no IntelliSense.

I have another web project that is not a Sencha MVC project, but uses ExtJS 4 on js files. In this project I get no warnings, but I get no IntelliSense as well.

@dbaeumer
Copy link
Member

dbaeumer commented Dec 7, 2015

@EthraZa can you please open a separate issue for the JS behavior. This is independent of the TS problem you described here.

@EthraZa
Copy link

EthraZa commented Dec 7, 2015

Done #1081

@dbaeumer dbaeumer added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Dec 11, 2015
@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
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants