Serhii Kachan

- Total activity 47
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 10
-
Edited Custom string literal formatter
AnsweredI would like to implement custom formatting for a certain parts of my code:Consider the following code snippet: MyClass clazz = new MyClass();clazz .row("|first|second|third|") .row("|a|bla b... -
Created ServiceLoader alternative for plugin SDK
AnsweredI'm curious how can I create a facade class that keeps a collection of instantiated classes implementing a particular class.So I can further filter these implementations and return specific one eve... -
Edited Run Configuration 'Run' tab and 'Console layout'
I'm writing a custom Run Configuration (ApplicationConfiguration alike).Everything goes well so far and I am now stuck at execution process layout.Problem: When I run my code it executes as expecte... -
Created How to check whether element ever referenced by custom reference
AnsweredI have implemented a PsiReferenceContributor for specific PsiExpressionLiteral elements. They refer to methods.But method is highlighted as "never used".How can I suppress this warning?I've started... -
Edited Get usages in return from referenced element
AnsweredPsiReferenceContributor implementation: public class ImplementationStepReferenceContributor extends PsiReferenceContributor { @Override public void registerReferenceProviders(@NotNull PsiRefe... -
Created How do I find PsiElements of any type conditionally in a project?
AnsweredI tried to find any utilities like Searchers of Finders, but no luck.Here are some examples: find all psi literals -> condition: literal in a specific psi method call parameter find all psi method... -
Created PsiAugmentProvider throws ArrayStoreException
AnsweredI'm trying to make IDEA think that class member is present, using implementation of PsiAugmentProvider.I created a @Singleton annotation: @Target(ElementType.TYPE)@Retention(RetentionPolicy.SOURCE)... -
Edited Highlight string literal parts in a specific method call
AnsweredPlease take a look at my question on SO. https://stackoverflow.com/questions/73925462/intellij-idea-custom-language-plugin-highlight-numbers-in-string-parameter-of?noredirect=1#comment130547093_73... -
Created java.io.IOException: Broken index maps: trigrams empty true users empty false paths empty false
AnsweredWhen opening a project I always get an error once, it says it's in IDEA Core.How can I fix it? java.io.IOException: Broken index maps:trigrams empty trueusers empty falsepaths empty false at com... -
Created Variable 'variable' might not have been initialized compilation error suppressing by custom annotation
AnsweredHi Dev Team!I would like to make a little cheat on Java syntax.There is a built-in compilation error like Variable 'variable' might not have been initialized I am working on a framework and there i...