简体   繁体   English

Atom中的Angular 2样式指南助手—缺少功能

[英]Angular 2 Style Guide Helper in Atom — Missing Feature

My supervisor has Atom with eight plugins for Angular. 我的主管有Atom,其中有八个Angular插件。 I have the same eight plugins installed. 我安装了相同的八个插件。 But I'm missing a feature that he has, and we're not sure what plugin or preferences will provide the feature. 但是我缺少他具有的功能,而且我们不确定会提供该功能的插件或首选项。 It is to do with the Angular 2 Style Guide. 这与《 Angular 2样式指南》有关。 It provides information of code that doesn't meet the style guidelines. 它提供不符合样式准则的代码信息。

You can see the warnings in this screenshot of the lower right of his IDE window: 您可以在他的IDE窗口右下方的屏幕截图中看到警告:

在此处输入图片说明

Looking at the same file in my IDE, I see no warnings: 在我的IDE中查看相同的文件,我看不到任何警告:

在此处输入图片说明

The plugins he and I have installed when I search for 'angular' are: 我和他搜索“ angular”时安装的插件是:

angular-2-typescript-snippets, angular-bootstrap, angular2-snippets, angular2-snippets-atom, angularjs, angular-helper, angularjs-snippets, angularjs-styleguide-snippets angular-2-typescript-snippets,angular-bootstrap,angular2-snippets,angular2-snippets-atom,angularjs,angular-helper,angularjs-snippets,angularjs-styleguide-snippets

One thing that may be different for us is that he is on a Linux system, and I am on Mac OS. 对我们而言可能不同的一件事是,他在Linux系统上,而我在Mac OS上。

I need this feature. 我需要这个功能。 Can someone please help me figure out how to bring it to Atom for me? 有人可以帮我找出如何将其带给Atom吗?

From the comments, as requested: 根据要求,在评论中:

The warning message is produced by tslint . 警告消息由tslint产生。 The corresponding package that adds support for Atom is linter-tslint which can be found under the following link: https://atom.io/packages/linter-tslint 添加了对Atom支持的相应软件包是linter-tslint ,可以在以下链接下找到: https : //atom.io/packages/linter-tslint

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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