我想知道是否有可能在Atom中获得类似的Codecompletion/Autocomplete,就像它是Webstorm一样.
现在我正在尝试习惯打字稿,到目前为止我真的很喜欢它,但真正令我恼火的是,我无法在原子中为我的HTML文件获得任何Codecompletion.
这将使我的生活变得如此简单......
这就是它在Webstorm中的表现(试用版)

界面非常简单:
interface Person {
name: string;
lastName: string;
birthday: number;
}
Run Code Online (Sandbox Code Playgroud)
控制器看起来像这样:
module myModule {
export interface IMyScope extends ng.IScope {
person: Person;
}
export class MyCtrl {
constructor($scope: IMyScope) {
$scope.person.name = "Lucifer";
}
}
angular
.module('myModule')
.controller('MyCtrl', MyCtrl);
Run Code Online (Sandbox Code Playgroud)
}
您可以告诉我任何提示,配置问题都将受到高度赞赏!谢谢阅读!
我对我的webapplication的奇怪行为感到疯狂.我不得不将它从EJB3更改为Spring,现在我面临一个(至少对我而言)奇怪的错误.我有一些正常的JSF页面(Primefaces 3.4)并创建了一些Filter.这一切都很好,但我的所有过滤BigInteger值现在总是0代替null.结果是,我的db-query现在总是添加0 - values到我的查询..这不是我想要的.每个建议都将非常感激.我已经添加了
<context-param>
<param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
<param-value>true</param-value>
</context-param>
Run Code Online (Sandbox Code Playgroud)
到我的WEB.xml,但这并没有改变任何东西......
编辑: 因此,解决方案是将EL从Tomcat 7.0更改为"标准"EL.这有点奇怪.我的web.xml现在看起来像这样:
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
Run Code Online (Sandbox Code Playgroud)
我的pom看起来像那样:
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>2.2</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)
哇...现在它起作用..仍然困惑......
angularjs ×1
atom-editor ×1
el ×1
html ×1
java ×1
javascript ×1
jsf ×1
spring ×1
tomcat ×1
typescript ×1