主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Kerry
活动总数
65
最后的活动
2025年04月04日 00:32
成员加入日期
2019年07月31日 01:58
关注
0 名用户
关注者数
0 名用户
投票数
1
订阅数
16
活动概览
帖子(13)
评论(35)
按最近的活动排序
最近的活动
投票数
创建于
2020年06月04日 02:07
Here's what I think the issue might be. When I check what type of element a PsiElement is like this: val type = elem.elementType ?: elem.node.elementType I get a very generic type like IDENTIFIER. ...
社区
IntelliJ IDEA Plugin Users
How do I use SyntaxHighlighter.getTokenHighlights(type) to return context-specific text attributes?
0 票
已编辑于
2020年06月04日 00:03
I'm not sure how this information helps with my problem. I'm trying to find out how a particular PsiElement would otherwise be styled before I apply my own style, because my choice of style is inte...
社区
IntelliJ IDEA Plugin Users
How do I use SyntaxHighlighter.getTokenHighlights(type) to return context-specific text attributes?
0 票
创建于
2020年05月28日 21:14
The above solution turns out not to be complete, and misses getting the correct colors in certain cases. A partial improvement can be made by using the last item, rather than the first, returned by...
社区
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 票
创建于
2020年05月27日 00:01
Thanks for the info. I've already seen how different these APIs are, but I've managed to make some progress. Using highlightingPassFactory and highlightVisitor does most of what I need. What would ...
社区
IntelliJ IDEA Open API and Plugin Development
Converting VSCode extension to Intellij plugin questions
0 票
创建于
2020年05月20日 19:10
Thanks for the quick response! I've put in a request.
社区
IntelliJ IDEA Users
Is there any way to improve spell check for Kotlin regexes?
0 票
已编辑于
2020年05月20日 18:08
I think I've found a way to solve this problem. I don't know if this code covers all possible cases, but it's working well for now: private fun searchForLigatures(file: PsiFile, holder: HighlightIn...
社区
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 票
创建于
2020年05月15日 15:48
This is not a complete solution at all, because I'd still need to be able to find out whether the text I'm highlighting was originally styled italic and/or bold, but I think I can at least get away...
社区
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 票
已编辑于
2020年05月13日 17:37
Your comment inspired me to check something... For some reason, when I launch my plugin from within IDEA, it's launching the Community Edition. That was not a deliberate choice, just what apparentl...
社区
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 票
创建于
2020年05月13日 14:55
Yes, PsiViewer is working for TypeScript and JavaScript.The reason I said "Even when you're using the Ultimate Edition" is that I wanted to make sure you didn't think I was using the Community Edit...
社区
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 票
创建于
2020年05月13日 14:21
Even when you're using the Ultimate Edition? I've been looking at the source code for Rainbow Brackets, and I put this test code into DefaultRainbowVisitor.kt at line 18: override fun visit(element...
社区
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 票
«
第一页
‹
上一页