Commit Graph

23687 Commits

Author SHA1 Message Date
Pavel V. Talanov 786cadb08b Fix failing test in container test and add it to generators module test dependencies
This should enable running this test on build server
2015-06-30 17:06:22 +03:00
Pavel V. Talanov b173f96505 Refactor: Remove ScopeProvider, introduce FileScopeProviderImpl
Rename NoFileScopeProvider -> FileScopeProvider.ThrowException, ScopeProvider.AdditionalScopeProvider -> FileScopeProvider.AdditionalScopes
2015-06-30 16:12:23 +03:00
Dmitry Jemerov 7bcc3dd875 correct place for enabling alternative resolve in library configurator 2015-06-30 14:05:30 +02:00
Nikolay Krasko 8bea21a847 Introduce BodyResolveCache for storing resolve function body task in IDE 2015-06-30 13:54:42 +03:00
Nikolay Krasko 2dfed03b67 Refactoring: rename method addAllMyDataTo -> addOwnDataTo 2015-06-30 13:54:41 +03:00
Nikolay Krasko 09bb050c3f Add addOwnDataTo() to BindingContext 2015-06-30 13:54:40 +03:00
Nikolay Krasko 083023211e Refactoring: create trace inside each resolve task
This will allow reuse external cached results with their temp traces
2015-06-30 13:54:39 +03:00
Nikolay Krasko 980a0d19be Refactoring: don't register scopes explicitly, get them from scope provider on demand 2015-06-30 13:54:38 +03:00
Nikolay Krasko b81d8eb484 Refactoring: Don't depend on whole context if only DataFlowInfo is needed 2015-06-30 13:54:37 +03:00
Nikolay Krasko 0b49197ca3 Minor: suppress warning 2015-06-30 13:54:36 +03:00
Nikolay Krasko fad883e55b Minor: remove outdated commit 2015-06-30 13:54:36 +03:00
Valentin Kipyatkov 2f0bce375e Restored filtering out of empty name actions 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 004b400089 DirectiveBasedActionUtils: added intentions to suppress warning to the list of ignored in tests to fix DeprecatedSymbolUsage.testJavaDeprecated() 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov eadeb6e63f DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov c0062b1199 Code simplifications 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 09723b9991 Converted DirectiveBasedActionUtils to Kotlin 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 646653aa9a Better deparenthesizing 2015-06-29 19:36:50 +03:00
Valentin Kipyatkov 5b997c2c43 Moved method 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov db144a6121 Suggestions from expression itself to have higher priority + fixed incorect upper case naming 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov 4a52247ab7 Name validation filters out invisible declarations 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov 5c0195ff68 IterateExpressionIntention: checking for name conflicts 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov abb729b2ed Moved and renamed classes 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov de2378f909 Rewritten NameValidatorImpl to be both more efficient and more correct 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov df5f035760 KT-7716 Introduce Variable's name suggestions often have "1" at the end for no real reason
#KT-7716 Fixed
2015-06-29 19:36:46 +03:00
Valentin Kipyatkov ed267d9949 Code improvements in NameValidatorImpl 2015-06-29 19:36:46 +03:00
Valentin Kipyatkov e00294d17b IterateExpressionIntention uses collection expression for name suggestions too 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov 024834737d Removed unclear doc 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov f60470b3eb JetNameSuggester: no name duplicates + no full body resolve always 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov bce79906ef Use of List's instead of Array's 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov 343604bce0 Minor 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov a2407aaaa4 Minor code improvements 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov 3dd811e73e Reordered methods 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov c478f1d347 Renamed methods 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov a02c86bac9 Refactored NameValidator getting rid of it and replacing with a function 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov 79a453f12c Renamed classes 2015-06-29 19:36:41 +03:00
Valentin Kipyatkov ffa7492240 Moved classes 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 39f38591d9 Converted JetNameSuggester to Kotlin (step 2) 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 6f9e5ed386 Converted JetNameSuggester to Kotlin (step 1) 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 2206459874 Initial implementation of KT-7688 Intention action to iterate over iterable value
#KT-7688 Fixed
2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 4fc67c27b0 Renamed class 2015-06-29 19:29:27 +03:00
Valentin Kipyatkov 498e746689 KT-8169 Strange exception when replacing function call to its only argument
#KT-8169 Fixed
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 463b0cda79 Fixed test data 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 786793744e Added getEqualsToken for future use 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 46ad1b8573 "Remove argument name" intention 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 6988297511 More informative intention text 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 98c0c636b3 Smaller availability range for add argument name intention 2015-06-29 19:29:26 +03:00
Valentin Kipyatkov 9d83510af5 KT-7144 Intention action on an argument in a call to use named arguments form
#KT-7144 Fixed
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov c689af142a Fixed highlighting for enum and object names in code
#KT-8134 Fixed
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov 2bd1362be6 Create function/property from usage: added "member" when appropriate + changed order 2015-06-29 19:29:25 +03:00
Dmitry Jemerov b691ed2494 use JetIcons instead of direct icon reference 2015-06-29 17:21:32 +02:00