28

为什么 idea 里面 @Cacheable 的 SpEL 表达式可以高亮?自定义的不行

 2 years ago
source link: https://www.v2ex.com/t/789913
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为什么 idea 里面 @Cacheable 的 SpEL 表达式可以高亮?自定义的不行

V2EX  ›  Java

为什么 idea 里面 @Cacheable 的 SpEL 表达式可以高亮?自定义的不行

  m2276699 · 1 天前 · 443 次点击

有什么方法可以做到吗?

4 条回复    2021-07-16 21:29:57 +08:00

m2276699

m2276699   1 天前

自定义注解不行~

jj783850915

jj783850915   1 天前   ❤️ 1

alt+enter -> inject language

m2276699

m2276699   1 天前

@jj783850915 非常感谢~!我还想问一下你,如果按此方式设置后,别人通过 git 下载的代码,是否也会有提示呢?

astkaasa

astkaasa   1 天前

跟别人没关系, 是你的 ide 的设置

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1064 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 27ms · UTC 18:47 · PVG 02:47 · LAX 11:47 · JFK 14:47
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK