Commit Graph

23622 Commits

Author SHA1 Message Date
Michael Nedzelsky c462d23a0e add support for cancel compilation from IDE
#KT-8158 Fixed
2015-06-29 16:41:16 +03:00
Alexey Sedunov 4eeff03525 Change Signature: Support Kotlin functions overriding Java methods
#KT-5856 Fixed
2015-06-27 13:58:13 +03:00
Alexey Sedunov 38982fe641 Change Signature: Fix receiver removal in the dialog 2015-06-27 13:58:11 +03:00
Alexey Sedunov 5fb37097dc Introduce Variable: Fix offset to start template at
#KT-8162 Fixed
2015-06-27 13:58:10 +03:00
Alexey Sedunov 1469275a5a Extract Function: Fix return type computation for extracted callee expression
#KT-8233 Fixed
2015-06-27 13:58:09 +03:00
Alexey Sedunov febf725e85 Extract Function: Extract block contents
#KT-8235 Fixed
2015-06-27 13:58:07 +03:00
Alexey Sedunov 4e7200d8e8 Extract Function: Add backticks to non-identifiers and references originally surrounded in backticks
#KT-8192 Fixed
2015-06-27 13:58:06 +03:00
Alexey Sedunov c6f6637b25 Extract Function: Fix extraction of explicit/implicit invoke()
#KT-8116 Fixed
2015-06-27 13:58:04 +03:00
Alexey Sedunov f6965b5004 PSI: Add parentheses around annotated expressions in returns
#KT-8260 Fixed
2015-06-27 13:58:03 +03:00
Alexey Sedunov 8c9863e759 PSI: Add parentheses around non-trivial callee expressions
#KT-8232 Fixed
2015-06-27 13:58:02 +03:00
Alexey Sedunov 5ac1fbf59b Descriptor Renderer: Add parentheses around receiver type if it's non-nullable function type
#KT-8188 Fixed
2015-06-27 13:58:00 +03:00
Alexey Sedunov 5d89097870 Move: Fix processing of references with qualifier receivers
#KT-8098 Fixed
2015-06-27 13:57:59 +03:00
Alexey Sedunov c4442c59d4 Move: Suggest target file name based on selected declarations
#KT-8227 Fixed
2015-06-27 13:57:57 +03:00
Alexey Sedunov 6055933258 Copy: CopyFileHandler must support all elements inside of Kotlin file (in the absence of more specific handlers)
#KT-8175 Fixed
2015-06-27 13:57:56 +03:00
Ilya Gorbunov cbdaf2a151 Minor: regenerate generated code. 2015-06-26 19:40:56 +03:00
Pavel V. Talanov 65c6adfaa4 Drop "injector-generator" module, tests and existing generated injectors
Move GeneratorsFileUtil to "generators" module
Drop "Generate Injectors" run configuration
2015-06-26 15:21:43 +03:00
Pavel V. Talanov df529f1a4b Convert usages of existing generated injectors to dynamic injectors
Rewrite RuntimeModuleData to use hand-written code as we do not pack container module into runtime
This change introduces some overhead (up to 10% for the tests I ran) in some scenarios in IDE, that should be addressed later
2015-06-26 15:21:41 +03:00
Ilya Ryzhenkov 5db541ee24 Add container module with implementation of di based on java reflection
Initial implementation by Ilya Ryzhenkov
Renovation, optimization, integration and removal of unused features by Pavel Talanov
2015-06-26 15:21:39 +03:00
Alexander Udalov f52bc8a2d2 CLI: make message bold only for errors and warnings
Info, logging and output are not important enough to appear bold every time
2015-06-26 13:31:36 +03:00
Alexander Udalov 499579274d Move MessageRenderer instances to top level 2015-06-26 13:31:35 +03:00
Natalia Ukhorskaya 999aea6179 Update to IDEA 142.2670.3 2015-06-26 12:30:48 +03:00
Valentin Kipyatkov a7e032456c Minor corrections after code review 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov f679ed7011 Renamed a class 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov 8146fb673b Moved classes to separate files 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov bf3b731347 More correct 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov afa46f1c95 Filtering out type parameters that are not visible at the completion point 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov e894a04ce6 Code refactoring 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov 57ff2be9b9 Simplified code by introducing one more option in LookupElementFactor 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov 73fd4ad57f Fixed small inconsistency in presentation for nested classes 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov 01e56dc571 Fixed test data 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov c5f0fbf327 Replaced JetScopeUtils.getResolutionScope() with more correct utility 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov 776d198ea5 Disabled parameter name&type completion for annotation type constructor 2015-06-25 21:57:15 +02:00
Valentin Kipyatkov 0ab155d61d Rename 2015-06-25 21:57:15 +02:00
Valentin Kipyatkov 75a260a366 Restarting completion when new suggestions may appear 2015-06-25 21:57:15 +02:00
Valentin Kipyatkov fa588ace57 Fixed icons for java and compiled classes broken before 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov ecbc7ba5b6 Parameter name completion allows user prefix part in the name + more strict prefix matcher used 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov d95c44f838 Minor 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov 1011a59884 Don't detect isDeprecated twice 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov 8520235934 Fixed deprecated ordering and quick doc for java and compiled classes in completion 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov 53688d061a Fixed name suggestions for types with abbreviations like "URL" 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 84ba634c3e Parameter names from current file get higher priority + number of occurrences matters 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov c6fd04dcac No duplication for parameter name/types from current file and from classes 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov ce6668b5ba Fixed class names shortening 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 55e9a3b851 Refactored createLookupElementForType changing rendering for function types 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 17500cef98 Completion of parameter name/types from the current file 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 22ad1389f5 Parameter name completion: no insertion on just typing 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov c0126b08c3 Parameter name completion: added more tests for ordering 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov 437478e694 Parameter name completion: suppressed auto-insertion 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov 6478c7d460 Ordering of parameter name suggestions by type relevance 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov e2991b1412 Disabled parameter name completion where it makes no sense 2015-06-25 21:57:12 +02:00