Mikhail Glukhikh
2dd8b526fb
Live templates test: fix typo & cleanup
2018-10-16 17:17:22 +03:00
Mikhail Glukhikh
0f94c0901f
Introduce live templates for main without arguments #KT-27461 Fixed
2018-10-16 17:17:21 +03:00
Nicolay Mitropolsky
d415ca9cf6
fixed nullability for various listeners update in 183
2018-08-31 17:20:54 +03:00
Toshiaki Kameyama
c06aaf6128
Some Live Templates should probably be enabled also for "expressions" not only "statements" (KT-19194)
...
Consider if-then, if-else, do-while, while positions without block as
statement position.
#KT-19194 Fixed
2018-01-24 20:09:32 +03:00
Dmitry Jemerov
0ca2117ac7
Remove the usages of some of the deprecated APIs
2018-01-09 18:43:11 +01:00
Toshiaki Kameyama
640c28ceaf
KT-14670 Support kotlinPackageName() macro in live templates ( #1455 )
...
* KT-14670 Support kotlinPackageName() macro in live templates
* Use context.psiElementAtStartOffset.containingFile #KT-14670
2018-01-03 10:41:28 +01:00
Toshiaki Kameyama
79ff36592d
KT-15320 Live templates: please add function which returns the "outer" class name
2018-01-02 12:35:20 +01:00
Nikolay Krasko
5a8c957edc
Fix null-pointer template apply (EA-102391)
2017-09-22 16:51:08 +03:00
Dmitry Jemerov
690eaa95bd
Update expected testdata of live templates test
2017-09-21 17:33:55 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Dmitry Jemerov
5d9307024a
Hide Kotlin live template macros from non-Kotlin contexts
...
#KT-16635 Fixed
2017-05-10 14:27:24 +02:00
Mikhail Glukhikh
b121bf8802
Cleanup: fix some compiler warnings (mostly deprecations, javaClass)
2017-03-15 17:35:31 +03:00
Simon Ogorodnik
0cf02dcb7b
KT-15092 Suppress inspection "use property access syntax" for some getters and fix completion for them
...
#KT-15092 fixed
2017-01-12 14:53:38 +03:00
Nikolay Krasko
67cc6bb004
Insert '()' under write action in finishing anonymous object template (EA-82700)
...
(cherry picked from commit 3234d76)
2016-10-19 14:05:06 +03:00
Denis Zharkov
1b391123e6
Implement for/iter postfix templates
...
#KT-4710 In Progress
2016-09-20 15:26:47 +03:00
Valentin Kipyatkov
b1a6255ac2
Renamed class
2016-09-07 19:04:47 +03:00
Nikolay Krasko
4d6206a7b5
Introduce 'maino' and 'psvmo' templates for generating main in object (KT-6520)
...
#KT-6520 Fixed
(cherry picked from commit cf1bdba)
2016-08-18 17:25:32 +03:00
Pavel V. Talanov
be1e8fcfda
Disable templates that are available on "TOP_LEVEL" in scripts
2016-06-25 22:25:21 +03:00
Valentin Kipyatkov
bd5af61879
Moved ShortenReferences from idea-analysis to idea-core, added dependency from idea-analysis to idea-core
2016-04-18 17:15:52 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Valentin Kipyatkov
f85de3aac7
Added better way to construct FuzzyType
2016-04-05 19:33:05 +03:00
Valentin Kipyatkov
e8c35e16e0
Smart completion after "by" and "in": non-imported operators supported
2016-04-05 19:32:54 +03:00
Nikolay Krasko
ef13e8f5bb
Prepare building plugins modules against 1.8 JDK
2016-04-05 00:39:46 +03:00
NitroG42
c66f4450d8
Add new expressions to template
...
Added two missing expressions for live-templates, the className(), and
the functionName()
2016-03-16 13:40:33 +01:00
Dmitry Jemerov
43a6e13f4b
idea: cleanup 'public', property access syntax
2016-01-07 18:12:36 +01:00
Alexander Udalov
a9476dfe37
Replace 'kotlin-runtime' in module dependencies with 'util'
2015-12-21 18:46:08 +03:00
Mikhail Glukhikh
f319b1b93a
Sealed classes are not taken into account in live templates
2015-12-09 19:27:50 +03:00
Mikhail Glukhikh
9a4eb2a368
Refactoring: ClassDescriptor.isFinal, no more Modality.isOverridable
2015-12-09 19:27:47 +03:00
Alexey Sedunov
c80826aab4
Minor: Allow passing explicit type to KotlinNameSuggester.suggestByExpressionAndType
2015-11-24 20:40:12 +03:00
Valentin Kipyatkov
4905275a30
Renames
2015-11-24 12:16:58 +03:00
Valentin Kipyatkov
fc34557a7a
Refactored to be more type safe
2015-11-24 12:16:57 +03:00
Valentin Kipyatkov
606a34283d
Use lookup elements from completion for variables in live templates
2015-11-23 20:31:34 +03:00
Valentin Kipyatkov
f44bbfe4cd
Moved test data to idea-live-templates too
2015-11-23 20:31:33 +03:00
Valentin Kipyatkov
b8dadeb4cc
Moved live templates support into separate module
2015-11-23 20:31:33 +03:00