Alexander Zlatoverov
- Total activity 68
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 14
- Subscriptions 18
-
Created Custom settings for xml formatting
I can not accept custom settings for reformatting the xml file. CodeStyleSettings settings = CodeStyle.getSettings(project);CodeStyleSettings cloneSettings = settings.clone();XmlCodeStyleSettings x... -
Edited Type migration issue
AnsweredMigrating type annotated as NotNull(javax.validation.constraints.NotNull) the default type to migrate to looks too odd. Removing all and typing new type NotNull goes away. If you leave the annotat... -
Edited How to get arguments for enum constant from com.intellij.psi.impl.compiled.ClsEnumConstantImpl
AnsweredI need to get the list of parameters from the enumeration of library. For example: Enum source public enum IntEnum { VALUE_(3); private Integer id; IntEnum(Integer value) { this.id ... -
Created Processing library with custom artifact type
AnsweredThe project has a library whose artifacts are supplied as *.jar and as *.zip. Can the artifact with the *.zip extension be displayed in the tree in the ‘External Libraries’ section of the Gradle no... -
Created ReformatCodeProcessor with custom settings
I create a file and want it to be formatted. For example, so that there are no empty lines. How can I use ReformatCodeProcessor with custom settings? Something like that: CodeStyleSettings settings... -
Created Add PsiWhiteSpace before XmlAttribute
If I write the following code: PsiElement whiteSpaceFromText = PsiParserFacade.SERVICE.getInstance(project).createWhiteSpaceFromText("\n");xmlTag.addBefore(whiteSpaceFromText, xmlAttribute); IDEA w... -
Created Deploy plugin for specific operating systems
AnsweredHi! 1. I have a plugin that has a different set of libraries for different operating systems. How do I deploy a plugin for a specific operating system?2. If this is not possible, is there any metho... -
Created How to add custom reference provider for PsiField
Hi! I'm trying to add ReferenceProvider for PsiField as follows: com.intellij.psi.PsiReferenceRegistrar.registerReferenceProvider(new com.intellij.patterns.PsiFieldPattern(), new MyReferenceProvide... -
Created How to prevent the move from the invalid FileEditorProvider?
For the java class, there is an additional FileEditorProvider (Properties) when you switch to the tab `Text`, the value is committed (to PsiClass) and validated from the FileEditorProvider (Propert... -
Edited How to make caching a model built from a PsiElement
Task: I have created model classes from a PsiElement. For example: Model - JPA Entity, PsiElement - PsiClass. The model has (cross)reference to other the JPA Entity, for instance, attribute type ...