Brackets.io 内置对 TypeScript 的支持
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28254822/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Brackets.io in built support for TypeScript
提问by skvsree
Does brackets.io have in-built support for typescript? I tried the plugin from below link
括号.io 是否有对打字稿的内置支持?我从下面的链接尝试了插件
https://github.com/fdecampredon/brackets-typescript
https://github.com/fdecampredon/brackets-typescript
Steps 1) OS Windows 8.1 2) Installed latest version of Brackets 3) Installed Brackets-TypeScript 4) created .brackets.json and added
步骤 1) 操作系统 Windows 8.1 2) 安装最新版本的 Brackets 3) 安装 Brackets-TypeScript 4) 创建 .brackets.json 并添加
{
"typescript": {
"target": "ES5",
"module": "AMD",
"noImplicitAny": true,
"sources" : [
"src/declarations//*.ts",
"src/main//*.ts"
]
}
}
5) Still now luck for code completion of Intellisense. I have created issue in the same Github, but it looks inactive for sometime now.https://github.com/fdecampredon/brackets-typescript/issues/34
5) 现在仍然很幸运能够完成 Intellisense 的代码。我在同一个 Github 中创建了问题,但它现在看起来有一段时间没有活动了。https://github.com/fdecampredon/brackets-typescript/issues/34
采纳答案by skvsree
I figured this out after I posted this request in Githubpage of the plugin.
在插件的Github页面中发布此请求后,我想通了这一点。
there is one other typescript pluginfor brackets and if you have installed it, that intervenes with this.
还有另一个用于括号的打字稿插件,如果您已安装它,则会对此进行干预。
right one is fdecampredon/brackets-typescript
回答by basarat
Does brackets.io have in-built support for typescript? I tried the plugin from below link
括号.io 是否有对打字稿的内置支持?我从下面的链接尝试了插件
No.
不。
The plugin you are pointing to is the de facto one.
您指向的插件是事实上的插件。
回答by Leonzen
Please use https://github.com/zaggino/brackets-typescriptif you need a TypeScript plugin. I'm using this one and it is perfect :)
如果您需要 TypeScript 插件,请使用https://github.com/zaggino/brackets-typescript。我正在使用这个,它很完美:)