tangcent / easy-yapi

Generate API document to yapi
https://easyyapi.com
GNU Affero General Public License v3.0
425 stars 141 forks source link

resolveProperty = true 和 resolveMulti 的作用 #1101

Open gghxjava opened 5 months ago

gghxjava commented 5 months ago
image

resolveProperty = true 和等于false有何区别

image

这个不同的枚举 又有什么区别呢 大佬 可以解答一下我的疑惑吗

tangcent commented 5 months ago

resolveProperty = true 和等于false有何区别

https://github.com/Earth-1610/intellij-kotlin/blob/c905f2444fa0c712c59cf6ba9f208876957232e1/intellij-idea/src/main/kotlin/com/itangcent/intellij/config/AbstractConfigReader.kt#L149 resolveProperty用于控制是否处理${xxx}, 你截图上的配置里将resolveProperty置为false, 就是为了让插件不要尝试处理${1}

这个不同的枚举 又有什么区别呢

https://github.com/Earth-1610/intellij-kotlin/blob/c905f2444fa0c712c59cf6ba9f208876957232e1/intellij-idea/src/main/kotlin/com/itangcent/intellij/config/AbstractConfigReader.kt#L173

gghxjava commented 5 months ago

谢谢大佬 感激不尽