Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Kerry
Total activity
65
Last activity
April 04, 2025 00:32
Member since
July 31, 2019 01:58
Following
0 users
Followed by
0 users
Votes
1
Subscriptions
16
Activity overview
Posts (13)
Comments (35)
Sort by recent activity
Recent activity
Votes
Created
June 04, 2020 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. ...
Community
IntelliJ IDEA Plugin Users
How do I use SyntaxHighlighter.getTokenHighlights(type) to return context-specific text attributes?
0 votes
Edited
June 04, 2020 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...
Community
IntelliJ IDEA Plugin Users
How do I use SyntaxHighlighter.getTokenHighlights(type) to return context-specific text attributes?
0 votes
Created
May 28, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 votes
Created
May 27, 2020 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
Converting VSCode extension to Intellij plugin questions
0 votes
Created
May 20, 2020 19:10
Thanks for the quick response! I've put in a request.
Community
IntelliJ IDEA Users
Is there any way to improve spell check for Kotlin regexes?
0 votes
Edited
May 20, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 votes
Created
May 15, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
Can I find the colors and font style currently being used to render a particular PsiElement?
0 votes
Edited
May 13, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 votes
Created
May 13, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 votes
Created
May 13, 2020 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiFile and PsiFile.findElementAt() only providing useful info for a few languages.
0 votes
«
First
‹
Previous