Commit Graph
76 Commits
Author SHA1 Message Date
Tagir Valeevandintellij-monorepo-bot 0191ffb437 Testdata fix after 6f6f693c6a3c
GitOrigin-RevId: 1e8e50c91e78ef61788e922cdbc5c92da7c07b61
2020-05-18 04:10:49 +00:00
Tagir Valeevandintellij-monorepo-bot ea08920aee Inline descriptions for soutc, serrc; FQN for java.lang.System
Review ID: IDEA-CR-60451

GitOrigin-RevId: c50adbdaeb66256e8e09b37d618eb84169c69c09
2020-03-23 08:32:01 +00:00
Tagir Valeevandintellij-monorepo-bot 149e5de1f7 Tests for soutc, serrc; use JavaLanguage.INSTANCE.getDisplayName() for Java
Review ID: IDEA-CR-60451

GitOrigin-RevId: ea77644cd21b8d34ba4060f7c12106f290c50764
2020-03-23 08:32:01 +00:00
Alexander Zolotovandintellij-monorepo-bot 8ccd4547f5 Live templates: list template action should work in multi-carets mode (IDEA-182741)
GitOrigin-RevId: 7617b4d3c2bcc7bafef15ef0199eac08f6cb8491
2019-12-27 15:40:08 +00:00
Dmitry Neverovandintellij-monorepo-bot 10bf03cc53 IDEA-CR-52982: GO-8123 fix getOriginalElement during postfix template completion
GitOrigin-RevId: 73f3045e4c07b5ca65e512877d55f3d2dde436af
2019-09-30 13:36:53 +00:00
Rustam Vishnyakovandintellij-monorepo-bot 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdanandintellij-monorepo-bot c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlovaandintellij-monorepo-bot 91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdanandintellij-monorepo-bot 39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiyandintellij-monorepo-bot 185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhininandintellij-monorepo-bot 9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
peterandintellij-monorepo-bot 30f0b0ab21 IDEA-83668 soutp live template: take arrays into consideration
GitOrigin-RevId: 354497ccd320e7716e21ecb54c8f0daebfd96e43
2019-05-20 18:10:13 +03:00
Pavel Dolgov 729f8b1328 Java: Support more variants with switch expressions in '.switch' template (IDEA-204010) 2019-02-07 18:20:56 +03:00
Pavel Dolgov ddfaf087ee Java: Support switch expressions in '.switch' template (IDEA-204010) 2019-02-06 15:43:29 +03:00
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