Commit Graph

13455 Commits

Author SHA1 Message Date
Dmitry Jemerov e7cf64631b Don't offer updates for @snapshot@ plugin version 2016-11-22 20:04:06 +01:00
Dmitry Jemerov 0cfc4db2d4 Check for plugin update before allowing to submit exception 2016-11-22 20:03:22 +01:00
Alexey Sedunov 6881d071e5 Minor: Use mutable empty list (as IDEA may attempt to modify it after calling detector) 2016-11-22 19:55:36 +03:00
Alexander Udalov 22e1221c75 Support "default platform" in IDE via facet settings 2016-11-22 18:19:02 +03:00
Alexander Udalov eacf64e4db Report initializer block-related diagnostic on 'init' keyword 2016-11-22 18:19:01 +03:00
Mikhail Glukhikh 45e28bef1c Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed 2016-11-22 16:41:37 +03:00
Mikhail Glukhikh c44ecded42 Refactoring: MoveAssignmentToInitializer --> JoinDeclarationAndAssignment 2016-11-22 16:41:27 +03:00
Mikhail Glukhikh d4995c07f7 Convert primary constructor to secondary: KNPE fixed #KT-14745 Fixed 2016-11-22 16:35:28 +03:00
Dmitry Jemerov 13b2c2cd24 Add test for highlighting escape sequences in character literals 2016-11-22 13:24:13 +01:00
Dmitry Jemerov d565e18889 Show enum constants in Goto Symbol
#KT-6535 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov ab8abc9c62 Delete paired > after deleting < after any identifier, not just a class-like one
#KT-13279 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov baf321a193 Highlight escape sequences in character literals
#KT-13795 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov 2fe2e1802e Fix quote handler for character literals
#KT-12385 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov b742c8a63d Implement "Show non-public" filter for Kotlin structure view
#KT-14217 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov f586eebe16 KotlinStructureViewModel: cleanup after J2K 2016-11-22 13:20:35 +01:00
Dmitry Jemerov 4b591bf41f KotlinStructureViewModel: J2K 2016-11-22 13:20:35 +01:00
Dmitry Jemerov bf97e64c1d KotlinStructureViewModel: rename to .kt 2016-11-22 13:20:35 +01:00
Dmitry Jemerov f4ce63f6d7 Collect local declarations under properties (KT-14215); improve presentation of object declarations
#KT-14215 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov 45077023bb KotlinStructureElementPresentation: cleanup after J2K 2016-11-22 13:20:35 +01:00
Dmitry Jemerov 75a5b0ee0c KotlinStructureElementPresentation: J2K 2016-11-22 13:20:35 +01:00
Dmitry Jemerov 6225867cae KotlinStructureElementPresentation: rename to .kt 2016-11-22 13:20:35 +01:00
Dmitry Jemerov 4cc6b98e1b Run configuration producer for Gradle tests (KT-10700) 2016-11-22 13:19:13 +01:00
Dmitry Petrov fc2a965d2a Fix decompiler tests. 2016-11-22 14:40:02 +03:00
Dmitry Jemerov 99bfbd0a26 Never set isScript flag for stubs of file facade and multifile facade classes (scripts are always generated with ClassKind.CLASS) 2016-11-22 10:26:16 +01:00
Alexey Sedunov 075a0bc7f1 Kotlin Facet: Configure facet automatically on Gradle project import 2016-11-22 11:54:09 +03:00
Alexey Sedunov e59754e86c Kotlin Facet: Configure facet automatically on Maven project import 2016-11-22 11:54:09 +03:00
Alexey Sedunov dc33436c64 Kotlin Facet: Implement automatic facet configuration 2016-11-22 11:54:08 +03:00
Alexey Sedunov 4613eed406 Kotlin Facet: Track configuration version 2016-11-22 11:54:07 +03:00
Alexey Sedunov 27aaac5a96 Kotlin Facet: Infer 1.6 platform version for modules with JDK 1.7 dependency
#KT-14741 Fixed
2016-11-22 11:54:06 +03:00
Alexey Sedunov b1fbf9f6b6 Kotlin Facet: Fix platform detection for Gradle project 2016-11-22 11:54:05 +03:00
Dmitry Petrov e6fcf20cf2 No variance elision in type alias substitution.
Add test with cyclic inheritance via type alias.
2016-11-22 10:04:47 +03:00
Ilya Gorbunov 8b77430af4 Remove java.util package from js decompiler tests 2016-11-21 18:20:33 +03:00
Vyacheslav Gerasimov 60bc35b787 Implemented suppress lint intention action for android lint (KT-12020)
#KT-12020 Fixed
2016-11-21 17:16:27 +03:00
Dmitry Jemerov 6a8f78d7c1 Don't add script files to facade indices
#KT-12445 Fixed
2016-11-21 14:35:00 +01:00
Dmitry Petrov 9ac3dbceca Prohibit nested & local type aliases in 1.1: don't suggest to introduce typealias in a class or a function. 2016-11-21 10:25:51 +03:00
Dmitry Petrov 4c47d77a9f Report error on non-top-level type aliases (unsupported in 1.1).
Get rid of nested type aliases in project.
2016-11-21 10:25:51 +03:00
Zalim Bashorov 4374d353ba IDE: don't exclude external system libraries (e.g. from gradle) when getting library version in facetUtils 2016-11-18 17:18:16 +03:00
Zalim Bashorov 7dbcbeb794 IDE: fix detecting target platform for module when it contains js stdlib without regular name
Don't use fixed library name to detect JS stdlib.
2016-11-18 15:57:46 +03:00
Dmitry Jemerov b8525de726 Disallow @JvmOverloads on any interface methods
#KT-12224 Fixed
2016-11-18 11:05:02 +01:00
Dmitry Jemerov 79e90b32e8 @JvmOverloads on local declarations is now an error 2016-11-18 11:05:01 +01:00
Dmitry Jemerov 140c7351a8 Add quickfix for incorrect @JvmOverloads annotation
#KT-12701 Fixed
2016-11-18 11:05:00 +01:00
Nikolay Krasko 56ef09c09c Fix null pointer in evaluate expression (EA-87276) 2016-11-17 14:57:34 +03:00
Nikolay Krasko 6f95667f54 Better diagnostic for inlined line under dex on step over 2016-11-17 13:47:27 +03:00
Nikolay Krasko 2817e1a5f1 Avoid failure on first() call 2016-11-17 13:47:23 +03:00
Nikolay Krasko a13e878c9b Pre-count line numbers
(cherry picked from commit 5412723e023768d308190f43edd5378476ad35c4)
2016-11-17 13:47:21 +03:00
Nikolay Krasko 0032818ec6 Step over locations after return in dex debug when no return position found by locations 2016-11-17 13:47:20 +03:00
Nikolay Krasko a2652832e3 Step over locations after return in dex debug 2016-11-17 13:47:18 +03:00
Nikolay Krasko f07b5eaea1 Refactorings: clean smapUtil, moves, renames 2016-11-17 13:47:17 +03:00
Nikolay Krasko 1c955a64f3 Cache debug information from bytecode in Android debug 2016-11-17 13:47:15 +03:00
Nikolay Krasko 78c76a2ca4 Allow to place breakpoints in inline functions defined in android tests 2016-11-17 13:47:13 +03:00