简体   繁体   中英

Will code completion in .js files work using atom-typescript plugin for atom?

I have a typescript definition file https://github.com/borisyankov/DefinitelyTyped/blob/master/arcgis-js-api/arcgis-js-api.d.ts . I used atom-typscript plugin in atom editor and was able to get code completion in .ts files when I use import/require. How can I get code completion work in .js files (in amd)? is it possible?

How can I get code completion work in .js files (in amd)? is it possible?

Not using atom-typescript. VSCode and WebStorm supports providing intellisense for .js files using .d.ts files.

It's requested but not on the plans for atom-typescript : https://github.com/TypeStrong/atom-typescript/issues/315

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM