Commit Graph

8302 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov 0e045b9478 Completion of parameter name+type works for val/var parameters 2015-06-25 21:57:11 +02:00
Valentin Kipyatkov 0e4ac7108a Completion: fixed insertion of java class names that require escaping 2015-06-25 21:57:11 +02:00
Valentin Kipyatkov 8210d3091f Initial implementation of KT-6427 Completion to use Java name suggestion to complete function parameters
(+ filtered out synthetic Kotlin classes from completion)
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov e0f1bde20a Renames 2015-06-25 21:57:11 +02:00
Dmitry Jemerov c91a359fea run Kotlin library configurator with alternative resolve enabled 2015-06-25 21:30:50 +02:00
Mikhail Glukhikh 8d25c20169 Introduction of sealed classes
Sealed classes can be derived only by their own inner classes or objects.
Their constructors cannot be called explicitly, so compiler knows all their descendants.
Incompatible modifier checks (final, abstract). Impossible with interface, object, enum.
A pack of tests provided.
2015-06-25 19:07:13 +03:00
Nikolay Krasko d937f385cd Copy libraries to {project.dir}/lib folder by default (KT-8231)
#KT-8231 Fixed
2015-06-25 13:50:32 +03:00
Natalia Ukhorskaya 25210c0c18 Merge pull request #707 from JetBrains/rr/yole/run-configurations
add missing UI for specifying alternative JRE path to Kotlin run configuration
2015-06-23 19:06:28 +03:00
Dmitry Jemerov 02211f1431 reorder fields to match Java 2015-06-23 18:02:15 +02:00
Dmitry Jemerov a3b543a05a change module chooser to look like in IDEA's Java run configuration 2015-06-23 17:48:34 +02:00
Dmitry Jemerov e3846f0150 use PanelWithAnchor to align all labels and text fields in Kotlin run configuration 2015-06-23 17:16:32 +02:00
Dmitry Jemerov 1ddf87fa2e validate some of the settings in KotlinRunConfiguration 2015-06-23 16:32:15 +02:00
Denis Zharkov 35fa4eadd8 Attach ideaSDK/jdkAnnotations.jar to external annotations for intention tests
As they're always attached to real SDKs in real projects
2015-06-23 16:44:47 +03:00
Denis Zharkov ad99b079b9 Update intention tests: don't use java.util.Collections.*
Because their behaviour depends on annotations that we are going to drop
2015-06-23 16:44:46 +03:00
Nikolay Krasko 237987fcc5 Workaround for non-thread-safe intentions text state 2015-06-23 16:00:38 +03:00
Nikolay Krasko 87f325c44b Use common Kotlin test supertype to avoid invalid root access assert 2015-06-23 16:00:21 +03:00
Nikolay Krasko ef7cc6ae10 Force openning project 2015-06-23 15:59:40 +03:00
Nikolay Krasko 3d8f04e4fe Update test data: Idea can't parse description with "ctrl+ alt + b" promotion 2015-06-23 15:59:38 +03:00
Evgeny Gerashchenko 2820dbf181 Removed workaround for exception in IDEA. 2015-06-23 15:59:36 +03:00
Nikolay Krasko 549987b27f Ignore actions with empty message 2015-06-23 15:59:33 +03:00
Nikolay Krasko 94db320f7a Update hack for restore validity of builtins files 2015-06-23 15:59:31 +03:00
Nikolay Krasko b64aff9f9a Add actions with "Supress " prefix to irrelevant group 2015-06-23 15:59:27 +03:00
Nikolay Krasko 737ad5b9e0 Search in index under read action in tests 2015-06-23 15:59:25 +03:00
Natalia Ukhorskaya c2a1dc4c90 Fix compilation errors 2015-06-23 15:59:22 +03:00
Natalia Ukhorskaya aaa4e747db Fix tests: type for string isn't now rendered by default 2015-06-23 15:59:19 +03:00
Alexey Sedunov 73b2de95ab Create from Usage: Do not delete temporary file as this operation is not supported by IDEA anymore 2015-06-23 15:59:12 +03:00
Nikolay Krasko 8e51f1aadd Idea moved to junit-4.12 2015-06-23 15:59:10 +03:00
Nikolay Krasko 2ebdd32267 Make compatible with 142 idea branch 2015-06-23 15:59:08 +03:00