我的用于xml完成​​的intellij插件不适用于Intellij Ultimate版本

时间:2017-02-15 09:06:06

标签: intellij-idea intellij-plugin

它在Intellij Community Edition版本上非常完美。

喜欢以下

enter image description here

关于Intellij Ultimate版本

enter image description here

我的插件没有重新推荐。我的代码从未运行过 终极版。

这是我的插件配置

hdfs dfs -du -s /user/hive/warehouse/mytable
110265307244  /user/hive/warehouse/mytable

我在https://github.com/gejun123456/MyBatisCodeHelper上的插件源代码 我怎样才能在Ultimate版本上解决这个问题?

1 个答案:

答案 0 :(得分:1)

似乎另一个插件已经为这个特定的代码片段实现并注册了语言注入,而不是使用你的插件。

第一次成功的注入实施将起作用,您可以将let dollars = 123.4 let n = NumberFormatter() n.numberStyle = .currency n.locale = Locale.autoupdatingCurrent // or whatever locale you want if let text = n.string(from: NSNumber(value: dollars)) { text // "$123.40" let charactersAsStrings = text.characters.map({String($0)}) charactersAsStrings // ["$", "1", "2", "3", ".", "4", "0"] } 配置为String(format: "$%0.2f", dollars)languageInjector另一个插件注入:

first
相关问题