Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Rustam Vishniakov
Total activity
296
Last activity
July 10, 2023 13:47
Member since
April 09, 2010 09:02
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
124
Activity overview
Articles (0)
Posts (1)
Comments (171)
Sort by recent activity
Recent activity
Votes
Created
May 24, 2016 14:47
Correct. You can definitely assign the indentation type at block creation time. In reality child blocks are created lazily on demand but at this point they may get some fixed assigned indentation.
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
May 24, 2016 14:32
The indent in a formatter block is always relative to it's parent. If you want a child block be unindented to it's parent, you simply return Indent.getNoneIndent(), not parent.getIndent(). In you c...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
April 04, 2016 17:22
Well, there is no straightforward solution for that too. You may need to build a model without leading '%', perform formatting and insert leading '%' back, for example. Basically you can remove '%'...
Community
IntelliJ IDEA Open API and Plugin Development
Indentation relative to n-th column of the line
1 vote
Created
March 22, 2016 15:41
It's not a trivial task. Most of templates have 2 PSI trees: template language tree and HTML one. You need TemplateLanguageFileViewProvider for that. Eventually you get two models: one for HTML and...
Community
IntelliJ IDEA Open API and Plugin Development
Indentation relative to n-th column of the line
0 votes
Created
February 18, 2016 13:56
XHTML formatting rules are taken from XML, not HTML. XML rules though are limited and do not have settings for specific tags. On the other hand <h:outputText>, for example, goes to the next line. I...
Community
IntelliJ IDEA Users
XHTML and formatting
1 vote
Created
February 08, 2016 13:11
When child blocks are requested from the block wrapping the composite element in buildChildren() method, you may use InjectedLanguageBlockBuilder.addInjectedBlocks() to add child blocks for the inj...
Community
IntelliJ IDEA Open API and Plugin Development
Injected languages formatting
0 votes
Created
January 11, 2016 16:44
1) You need to make sure there is a single (leaf) block covering all the content which should not be modified. The block should cover all unmodifiable whitespaces (indents). Alternatevely you may n...
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
October 29, 2015 15:31
It's not that simple. In reality CodeInsightColors contains both Java-specific attributes and generic ones for reasons I'd call "historical". It has to be split with Java part moved to javaimpl. Th...
Community
IntelliJ IDEA Open API and Plugin Development
OpenAPI: move class
0 votes
Created
September 04, 2015 10:41
I guess only end MARKER should keep its position. Thus it's the only PSI element which should never be indented. When indenting lines, the editor checks every element at the beginning of every line...
Community
IntelliJ IDEA Open API and Plugin Development
Perl5 plugin for Intellij IDEA
0 votes
Created
July 21, 2015 22:22
The first one seems to be a bug. By the way, please don't hesitate to report an issue even if you are not sure if it's a bug or not. We'll figure it out in any case.For the second one there is a fe...
Community
PhpStorm
Simple methods in one line bug?
0 votes
«
First
‹
Previous
Next
›
Last
»