【问题标题】:How to import *.xml code style into Webstorm IDE?如何将 *.xml 代码样式导入 Webstorm IDE?
【发布时间】:2015-10-29 12:40:15
【问题描述】:

我现在正在设置本地工作区,我想知道是否可以在我的 Webstorm IDE 中使用此处 (https://github.com/google/styleguide) 中的代码样式。

当尝试导入代码样式时,Webstorm 要求 JSCS 配置文件。我不知道它们是什么。

有没有办法将 *.xml 文件导入为代码样式?

谢谢

【问题讨论】:

    标签: ide coding-style webstorm jetbrains-ide


    【解决方案1】:

    在 WebStorm 中无法将任意 XML 作为新的代码样式导入。 WebStorm 将自己的代码样式设置存储在 .xml 文件中,但格式与 https://github.com/google/styleguide 中使用的格式不同。所以不,没有办法在 WebStorm 中导入这些样式指南。 从版本 11 开始,WebStorm 支持从 JSCS 导入代码样式选项的子集 - 请参阅 http://blog.jetbrains.com/webstorm/2015/08/maintaining-consistent-code-style/

    【讨论】:

      猜你喜欢
      • 2019-12-09
      • 2014-07-08
      • 2016-04-29
      • 2013-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-16
      • 1970-01-01
      相关资源
      最近更新 更多