tangcent

Results 108 comments of tangcent

> @GroupSequence 支持这个注解 这个看起来只是校验顺序,并不会影响输出的json内容?

有报错吗? 我直接用的idea提供的存储: https://github.com/tangcent/easy-yapi/blob/master/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/settings/xml/ProjectSettingsComponent.kt https://github.com/tangcent/easy-yapi/blob/e1be9fe9bd5cab6c15a1bebfcd4ca171a7290f37/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/settings/XmlSettingBinder.kt#L16-L18

你为啥要存DefaultTreeModel?

太复杂的对象还是自己处理序列化比较好,settings里面就放string

可以的,处理一下测试用例就行了。 --- 应该是`fix`不是`feat`

> 我写了这个 但是不生效,而且 我想知道field.order 有什么用 ,看起来是可以排序的 配了之后,你就可以在注释上控制顺序了: ```java /** * @order 100 */ private Integer xxx; ``` > 并且我发现大佬你的排序 只能处理两层的继承 如果是3层的继承 只会生效2层的继承 没有做层次的限制,按说你在任意层都可以注释`@order`.

我没办法复现这个情况。 --- > 实体类使用export json5 有一定概率会造成idea卡死 有什么规律吗? - 某些类一定会触发吗? - 是不是某些特殊的情况下会触发? 比如在maven/gradle重新build的时候? --- 发生这种情况的时候看看日志里的错误信息? > Logs of IDEA: > > The easiest way to find the product log file is...

😂,目前还没有办法解析方法, 虽然你这里的例子并不复杂。 ```java @Override public String getCode() { return this.name(); } ``` 但如果你这里`getCode`返回的总是`name()`,那可以试试直接配: ```properties enum.use.custom[groovy:it.isExtend("com.zbycorp.fenghuo.domain.common.constants.BaseEnum")]=name() ```

有尝试过实现方法推断,但是代码逻辑太复杂了可能导致卡死,目前还没有找到好的实现方案。 https://github.com/tangcent/easy-yapi/blob/master/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/DefaultMethodInferHelper.kt --- > 只是部分枚举用到了name() 其他的大概是怎么样的?

> 我不需要你给我默认值呀 这里只是为了表示字段是什么类型的。你希望展示成啥样? > 再就是大佬 我想要自己写一个配置文件 放在remote上面 我应该怎么弄啊 就建个仓库,把文件加进去就行了。然后在插件里面添加raw链接,像这样: https://raw.githubusercontent.com/tangcent/easy-yapi/master/third/markdown.cn.config