Roman.Ivanov
|
ecc74e9a2d
|
BoolUtils: make it recognize methods with negated counterparts: IDEA-199888
|
2018-10-04 17:39:11 +07:00 |
|
Alexander Zolotov
|
2f149fa165
|
Postfix templates: added serr and souf templates
|
2018-06-27 14:49:24 +03:00 |
|
Alexander Zolotov
|
6c66dbbdd0
|
Postfix templates: added soutv postfix template (IDEA-194685)
|
2018-06-27 14:49:24 +03:00 |
|
Roman.Ivanov
|
5076e08145
|
set SPACE_BEFORE_COLON_IN_FOREACH true by default, fix tests
|
2018-06-26 12:04:00 +07:00 |
|
Roman.Ivanov
|
5858ba478c
|
fix tests for foreach formatting
|
2018-06-05 11:31:17 +07:00 |
|
Dmitry Neverov
|
50268274cd
|
Support several postfix live templates on the same key
Need it for GO-4845 where same postfix sort template is expanded
differently depending on the type of the element it is invoked on.
|
2018-05-08 06:01:53 +02:00 |
|
anstarovoyt
|
50348eacc6
|
java postfix templates: "new" postfix template IDEA-122440
|
2018-04-27 16:09:50 +03:00 |
|
anstarovoyt
|
856344c4eb
|
java postfix templates: new castvar template IDEA-191025
|
2018-04-26 16:44:41 +03:00 |
|
Alexander Zolotov
|
cc65205f71
|
Postfix templates: remove entire expression statement for topLevelExpression-like templates only (IDEA-188667)
|
2018-03-22 17:43:52 +03:00 |
|
Alexander Zolotov
|
985ea1e4ba
|
Postfix templates: remove only expression statements on expanding
(IDEA-187042)
|
2018-02-21 20:32:17 +03:00 |
|
Alexander Zolotov
|
d20f061afe
|
Postfix templates: add a template to wrap an expression with a function call (IDEA-122461)
|
2018-02-13 14:09:07 +03:00 |
|
Dmitry Batkovich
|
4c1ca2353e
|
add postfix template for Objects.requireNonNull
|
2017-10-27 16:35:42 +03:00 |
|
Dmitry Batkovich
|
5116aad4cc
|
use Optional.of() instead ofNullable() in "opt" postfix template when expression is not null
|
2017-09-15 15:55:54 +03:00 |
|
Dmitry Batkovich
|
bd2c0418e8
|
stream postfix template shouldn't be available for primitive arrays except long[], double[], int[]
|
2017-09-15 15:29:00 +03:00 |
|
Anna.Kozlova
|
614deb2e24
|
postfix completion: inplace introduce variable: ensure doc committed when handler is started inside writeAction
test: switch on inplace mode in tests
EA-86900 - RE: PostprocessReformattingAspect.beforeDocumentChanged
|
2016-10-14 09:57:28 +02:00 |
|
Andrey Starovoyt
|
2e7d6eb8af
|
java: expression context for array.stream postfix template IDEA-157975
|
2016-10-04 16:54:06 +03:00 |
|
Alexander Zolotov
|
7d55ac958e
|
Live Templates: do not wrap tests with write command
|
2016-05-30 15:42:11 +03:00 |
|
Andrey Starovoyt
|
134c9f30e6
|
java postfix templates: add braces for while loop IDEA-153730
|
2016-05-13 19:29:39 +03:00 |
|
Alexander Zolotov
|
9f1c967cff
|
Postfix templates: add tests for new templates and use full qualified names
in templates
|
2016-01-25 16:33:20 +03:00 |
|
Alexander Zolotov
|
ebf79c6dfb
|
Live Templates: proper handling home/end actions with selection in templates
context
+ add tests for editor actions inside template segments
|
2015-12-22 18:38:09 +03:00 |
|
Yaroslav Lepenkin
|
9f2128c39a
|
Added test for "iter" postfix template (IDEA-CR-5441)
|
2015-10-07 15:56:47 +03:00 |
|
Alexander Zolotov
|
2687cd7a22
|
Do not filter out templates with same key but different groups from completion
|
2015-09-28 12:23:37 +03:00 |
|
Andrey Starovoyt
|
373deb8475
|
java postfix templates: '.format' template should be expression-based IDEA-139659
|
2015-04-27 17:06:08 +03:00 |
|
Alexander Zolotov
|
30c60fff7a
|
ListTemplate action: do not overwrite prefix-matched template with template
that was found by description
|
2014-12-24 19:44:40 +03:00 |
|
Andrey Starovoyt
|
b20fc1c936
|
live templates: incorrect adding generic parameter IDEA-134434
|
2014-12-23 18:18:43 +03:00 |
|
Andrey Starovoyt
|
315f1b9977
|
reduce scope of try postfix template (2) after review IDEA-132878
|
2014-12-05 14:42:09 +03:00 |
|
Andrey Starovoyt
|
0b767366cb
|
postfix templates incorrect expand IDEA-133867
|
2014-12-04 21:20:26 +03:00 |
|
Andrey Starovoyt
|
f1fb09084b
|
postfix template: reduce scope of 'try' IDEA-132878
|
2014-12-02 18:06:44 +03:00 |
|
Andrey Starovoyt
|
af6e705092
|
disable autocompletion for live/postfix templates
|
2014-12-01 16:48:30 +03:00 |
|
Andrey Starovoyt
|
2b128bf30d
|
postfix template: EA-59129 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
|
2014-08-05 16:55:44 +04:00 |
|
Andrey Starovoyt
|
6bf1409b85
|
postfix template fix ternary operator + test
|
2014-07-18 19:48:54 +04:00 |
|
Andrey Starovoyt
|
8e0bbd5967
|
cover with tests
|
2014-05-27 16:47:17 +04:00 |
|
Andrey Starovoyt
|
438a3e28ae
|
final in "foreach" loop
|
2014-05-23 17:49:50 +04:00 |
|
Andrey Starovoyt
|
96d93a88e1
|
add new not expression test
|
2014-05-19 13:06:16 +04:00 |
|
Alexander Zolotov
|
f7abe52af5
|
Delete dummy semicolon after postfix template expansion
|
2014-05-07 22:37:31 +04:00 |
|
Andrey Starovoyt
|
a43d7f8726
|
added new test for live postfix templates
|
2014-04-21 17:55:24 +04:00 |
|
Andrey Starovoyt
|
5d908867e0
|
Add "try-with-resources" live postfix template
|
2014-04-17 17:57:50 +04:00 |
|
Alexander Zolotov
|
814a79afde
|
Unify prefix calculation rules for live templates
|
2014-04-17 16:02:35 +04:00 |
|
Andrey Starovoyt
|
fffcd492d5
|
Add "try" live postfix template
|
2014-04-16 14:45:35 +04:00 |
|
Alexander Zolotov
|
2f3d180fbd
|
IDEA-123355 Postfix template expansions .null/.notnull after 'else' fail to provide a valid Java output
allow JavaWithIfExpressionSurrounder just after else keywords
|
2014-04-07 19:05:34 +04:00 |
|
Alexander Zolotov
|
edb1f6b86f
|
suppress postfix templates [r=ignatov]
|
2014-04-07 15:08:10 +04:00 |
|
Alexander Zolotov
|
c3a806c92d
|
EA-55600
|
2014-04-04 17:14:38 +04:00 |
|
Sergey Ignatov
|
bf098f6e8f
|
IDEA-121693 Postfix completion for System.out.println()
IDEA-122459 Postfix completion: template for String.format
|
2014-03-20 16:51:11 +04:00 |
|
Alexander Zolotov
|
8d6f72b2ca
|
IDEA-121756 Don't provide postfix completion options in java string literals
|
2014-03-06 21:54:52 +04:00 |
|
Alexander Zolotov
|
68e033ec04
|
IDEA-121138 Tab completion does not work in autopopup
|
2014-02-24 15:30:15 +04:00 |
|
Alexander Zolotov
|
e896024c69
|
Postfix completion: apply throw template on Throwable only
|
2014-02-20 16:07:52 +04:00 |
|
Alexander Zolotov
|
79e95dc617
|
Postfix completion: do not apply null, notnull and instanceof template on primitive types
|
2014-02-20 16:07:51 +04:00 |
|
Alexander Zolotov
|
d9fb5143ca
|
Add custom templates to completion list if corresponding Registry-key is enabled
|
2014-02-06 17:21:46 +04:00 |
|
Alexander Zolotov
|
7d2fe18916
|
IDEA-119910 Middle matching doesn't work if pattern starts with a digit
|
2014-01-28 16:04:30 +04:00 |
|
Alexander Zolotov
|
8aa8ca5de2
|
Postfix templates: fix template for anonymous classes
|
2014-01-13 15:40:55 +04:00 |
|