WangJi92 / arthas-idea-plugin

arthas idea plugin 更简单的使用arthas的IDEA 插件,方便的构建各种arthas 命令,复制到剪切板 然后到服务器上启动arthas 执行命令。
https://plugins.jetbrains.com/plugin/13581-arthas-idea
Apache License 2.0
582 stars 98 forks source link

希望支持watch命令的条件参数. #112

Closed lingting closed 9 months ago

lingting commented 9 months ago

可以加个专用选项, 然后弹框自己写就可以了. 能自动处理下 " 就更好了.

lingting commented 9 months ago

https://arthas.aliyun.com/doc/watch.html#%E6%9D%A1%E4%BB%B6%E8%A1%A8%E8%BE%BE%E5%BC%8F%E7%9A%84%E4%BE%8B%E5%AD%90

WangJi92 commented 9 months ago

支持得不是很好,配置里面有一个配置可以生成 Show the default conditional expression 1==1

比如 :

watch org.springframework.boot.env.EnvironmentPostProcessor postProcessEnvironment '{params,returnObj,throwExp}'  -n 5  -x 3 '1==1'

然后自己在文本编辑器编辑也行,主要是大多数场景都是简单看一下,需要编辑过滤可以 文本处理一下。