Vladimir Dolzhenko
a98c610958
Fix KotlinCodeStyleSettings and IDEKotlinBinaryClassCache.kt 191 compilation
2019-09-24 22:01:05 +02:00
Vladimir Dolzhenko
a8c72b7e84
Do not resolve services in static initializers in IDEKotlinBinaryClassCache, KT-33973
2019-09-24 16:47:49 +02:00
Nikolay Krasko
8218ca5bae
More 182 branch mentioning remove
...
#KT-33536 Fixed
2019-08-30 12:14:58 +03:00
Dmitry Gridin
d47a7234bb
ReplaceJavaStaticMethodWithKotlinAnalogInspection: apply inspection on idea module
2019-07-10 14:09:36 +03:00
Toshiaki Kameyama
9f6e88d571
Formatter: format around safe cast operator as? (KT-32324)
...
#KT-32324 Fixed
2019-07-05 12:57:48 +03:00
Toshiaki Kameyama
44e9090931
Formatter: format between type reference and 'by' keyword (KT-32277)
...
#KT-32277 Fixed
2019-07-05 12:57:47 +03:00
Nikolay Krasko
b7c12014ee
Modify dependencies for 192 branch: more dependencies to full java plugin
2019-06-26 14:11:23 +03:00
Nikolay Krasko
beb1bc09d4
Update to 192.5118.30
2019-06-25 11:48:59 +03:00
Dmitry Gridin
8c84f885ac
Cleanup: apply RemoveRedundantQualifierNameInspection to idea
2019-06-24 15:56:33 +07:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
Dmitry Gridin
2a85bece80
Replace CodeStyleSettingsManager.getSettings with CodeStyle.getSettings
2019-04-25 19:47:38 +07:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Dmitry Gridin
3bed360c98
Fix "Should be replaced with Kotlin function" warnings
2019-04-18 15:28:52 +07:00
Nikolay Krasko
814aca9c8b
Single indent for declarations on adding new line (KT-26954)
...
#KT-26954 Fixed
2019-04-06 20:44:06 +03:00
Yan Zhulanow
5d156c2edb
Debugger: Fix indentation in code fragments
2019-03-20 20:52:21 +03:00
kenji tomita
e1f26ffc74
Remove spaces between accessor and its parameter list in formatter (KT-30393)
...
#KT-30393 Fixed
2019-03-19 16:09:07 +03:00
Nikolay Krasko
8977d0e26d
Setup Missing API inspection
2019-03-08 19:13:07 +03:00
Nikolay Krasko
74bc440e44
Remove all that left from 173 branch
2019-01-18 19:42:43 +03:00
Nikolay Krasko
046a0e059c
Always add last version of idea for which change is needed to BUNCH
...
BUNCH directive should contain last idea IDEA version this change is
meant for.
2019-01-18 19:42:43 +03:00
Vyacheslav Gerasimov
2157c777b3
Remove obsolete bunch fixes for 173 & as31
2019-01-14 21:29:03 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Nikolay Krasko
571ee4a1fe
Don't ruin indentation for comments inside expression declarations (KT-23295)
...
#KT-23295 Fixed
2018-12-26 15:39:40 +03:00
Nikolay Krasko
e0d3abc819
Do not indent and align initializer list in enums (KT-28070)
...
#KT-28070 Fixed
2018-12-07 18:32:07 +03:00
Nikolay Krasko
05b2443988
Make assignment indent conforms with indent for expression bodies (KT-28484)
...
Do not make plain list of binary expression for assignment expressions.
#KT-28484 Fixed
2018-11-29 13:31:07 +03:00
Toshiaki Kameyama
e671318653
Formatting: add line break between '{' and enum entry (KT-28227)
...
#KT-28227 Fixed
2018-11-17 01:26:27 +03:00
Nikolay Krasko
6f719a9460
Use binary expression as parent for better spacing (KT-27717)
...
When BINARY_EXPRESSION is used as parent, spacing rules for it are applied.
There're no rules for OPERATION_REFERENCE on the other side.
#KT-27717 Fixed
2018-11-01 12:24:02 +03:00
Nikolay Krasko
2684974a33
Single indent for multi-declarations for official codestyle (KT-27847)
...
#KT-27847 Fixed
2018-11-01 12:24:01 +03:00
Nikolay Krasko
1be491504a
Fix formatting for when with subjects (KT-27027)
...
#KT-27027 Fixed
2018-09-26 13:35:36 +03:00
Nikolay Krasko
073f4f51fd
Clean accidentally committed temporary code
2018-09-17 11:28:22 +03:00
Nikolay Krasko
782aa94513
Bad indentation after annotation in incomplete declaration (KT-22322)
...
Same behavior is for any modifier in incomplete declaration.
#KT-22322 Fixed
2018-09-16 15:52:34 +03:00
Nikolay Krasko
462000ae19
Fix code style applier (KT-23400)
...
- Stop removing defined schemes and clone settings before modification
- Clone code styles before modification
- Don't bother users that already have needed code style with settings change
2018-09-10 19:07:36 +03:00
Nikolay Krasko
69aa6d399e
Forgotten utility for getting Kotlin code style defaults
2018-09-10 17:49:39 +03:00
Nikolay Krasko
1820028086
Refactoring: extract method for applying codestyle from string (KT-23400)
2018-09-10 13:03:41 +03:00
Nikolay Krasko
921af44cb9
Import code style if gradle.properties has kotlin.code.style option (KT-23400)
2018-09-07 20:15:04 +03:00
Nikolay Krasko
f94ff3dc26
Implement transition project code style to predefined code style (KT-23400)
2018-09-07 20:15:04 +03:00
Mikhail Glukhikh
ea74b37b5b
Insert new line between annotation and type alias or sec. constructor
...
#KT-26377 Fixed
2018-08-30 18:30:47 +03:00
Mikhail Glukhikh
f9bba3ca86
Reformat & cleanup: kotlinSpacingRules
2018-08-20 13:21:28 +03:00
Mikhail Glukhikh
4fd8d3b480
Add formatting rule "new line between { and when entry"
2018-08-20 13:21:22 +03:00
Nikolay Krasko
563b2f13a3
Better notification logic and explicit code style apply (KT-23400)
2018-08-10 18:45:30 +03:00
Nikolay Krasko
2924bd80d9
Minor: move methods
2018-08-10 18:45:29 +03:00
Nikolay Krasko
5aacd181fa
Restore old code style settings action (KT-23400)
...
Can't use `KotlinCodeStyleSettings` instead `KtCodeStyleSettings`,
because current `KotlinCodeStyleSettings` class is already used in third
party plugin.
2018-08-10 18:45:28 +03:00
Nikolay Krasko
a1759fe2ab
Load kotlin formatter settings with obsolete defaults for restore (KT-23400)
2018-08-10 18:45:24 +03:00
Nikolay Krasko
a22f4232c0
Add information about obsolete code style usage (KT-23400)
2018-08-10 18:45:23 +03:00
Nikolay Krasko
17b88a28a0
Utility for detection if new code style is set by default (KT-23400)
...
Need this because some code should work differently before and after
applying new Kotlin code style defaults.
2018-08-10 18:45:22 +03:00
Vyacheslav Gerasimov
53b1a8bd37
Remove hacks introduced for 172 platform compatibility
2018-08-02 19:32:18 +03:00
Vyacheslav Gerasimov
a2bf417d75
Remove 172 bunchset
2018-08-02 19:32:18 +03:00
Vyacheslav Gerasimov
2ec7c4fd0d
Update platform versions for 181, 182, as32, as33 plugins
2018-07-31 19:27:23 +03:00
Nikolay Krasko
d709b03160
Load/Save for old Intellij formatting settings (KT-22252)
...
#KT-22252 In Progress
2018-07-11 14:25:24 +03:00
Nikolay Krasko
6a4d2c1fdb
Predefined obsolete code style (KT-22252)
...
#KT-22252 In Progress
2018-07-11 14:25:24 +03:00
Nikolay Krasko
8e31113a4f
Ident elvis with normal ident in Kotlin code style (KT-25008)
...
#KT-25008 Fixed
2018-06-22 19:19:13 +03:00