Valentin Kipyatkov
adea67b219
KT-7790 Import popup should show the most preferable item in its text
...
#KT-7790 Fixed
2015-08-25 18:56:16 +03:00
Valentin Kipyatkov
32cecf5a4c
KT-8828 Parameter name and type completion should not pop up when typing-in parameter name in template mode
...
#KT-8828 Fixed
2015-08-25 18:56:15 +03:00
Valentin Kipyatkov
9900506254
No repeating of completion auto-popup after Esc in all positions
2015-08-25 18:56:15 +03:00
Valentin Kipyatkov
a015c44a60
KT-8843 When typing in lambda parameters' names, smart completion kicks in and makes it impossible to type names
...
#KT-8843 Fixed
2015-08-25 18:56:15 +03:00
Valentin Kipyatkov
9b04afc278
Minor optimization
2015-08-25 18:56:15 +03:00
Valentin Kipyatkov
5fc6525db6
Completion to insert type arguments for a call when they are likely required
2015-08-25 18:56:15 +03:00
Dmitry Jemerov
4743a69d76
rename platformName annotation to jvmName
2015-08-25 15:40:46 +02:00
Zalim Bashorov
3465126bee
Add test lookup tracking for local declarations
2015-08-24 19:50:10 +03:00
Zalim Bashorov
3b21d391c5
Add test for lookups to classifier members
2015-08-24 19:50:09 +03:00
Zalim Bashorov
bdd834604a
Add lacation parameter to ModuleDescriptor.resolveTopLevelClass (in DescriptorUtils.kt)
2015-08-24 19:50:09 +03:00
Zalim Bashorov
eaacd46b4e
Add location parameter to DescriptorUtils#getInnerClassByName
2015-08-24 19:50:08 +03:00
Zalim Bashorov
4dbc08635c
Minor: inline last usages of deprecated JetScope::getFunctions(Name) and drop it
2015-08-24 19:50:08 +03:00
Zalim Bashorov
a395b8b4dd
Minor: drop deprecated JetScope::getProperties which no longer have usages
2015-08-24 19:50:07 +03:00
Zalim Bashorov
024c2761c8
Ignore lookups to parent scope for find super members
2015-08-24 19:50:07 +03:00
Zalim Bashorov
2f13c89fd8
Ignore lookups when typing unqualified super
2015-08-24 19:50:06 +03:00
Zalim Bashorov
30d2d9624a
Minor: add missed ignores
2015-08-24 19:50:06 +03:00
Zalim Bashorov
3c2762dd1d
Don't track lookups for JetScope::getDescriptors (and JetScope::getAllDescriptors)
2015-08-24 19:50:05 +03:00
Zalim Bashorov
6a3200764f
Don't try to record lookups which already tracked
2015-08-24 19:50:05 +03:00
Zalim Bashorov
cca57af401
Provide LookupLocation when resolve calls
2015-08-24 19:50:04 +03:00
Zalim Bashorov
45e6747061
Minor: use synthetic properties everywhere in CallableDescriptorCollectors.kt
2015-08-24 19:50:04 +03:00
Zalim Bashorov
556c755e83
Add test for lookups to top level declarations
2015-08-24 19:50:03 +03:00
Zalim Bashorov
0ba18ca8cd
Track the top level declarations, note not usages
...
It'll be useful for more accurate tracking dependencies inside package.
2015-08-24 19:50:03 +03:00
Zalim Bashorov
673df1f085
No more record path to file which contains current scope in LookupTracker
2015-08-24 19:50:02 +03:00
Zalim Bashorov
7790c2fd71
Minor: ignore KDoc like comments which starts with /**
...
for example it can be used to mark lookups which we can't report yet
2015-08-24 19:50:02 +03:00
Zalim Bashorov
6bed076228
Minor: fix warnings in AbstractIncrementalJpsTest.kt
...
* used new property access syntax
* splitBy -> split
* used string template instead of concatenation
2015-08-24 19:50:02 +03:00
Zalim Bashorov
b32040f610
Store lookup info inside testData code instead of separate file
2015-08-24 19:50:01 +03:00
Dmitry Jemerov
704e72eee1
correcty find Java usages of static methods generated for companion object members annotated as jvmStatic
...
#KT-8902 Fixed
2015-08-24 18:12:13 +02:00
Dmitry Jemerov
24f45a382e
ReferencesSearch finds references of data class component functions in Java code
...
#KT-8808 Fixed
2015-08-24 18:12:05 +02:00
Dmitry Jemerov
056d8dfd9f
correcty index escaped identifiers
...
#KT-8846 Fixed
2015-08-24 15:47:28 +02:00
Dmitry Jemerov
d9a854608b
test to verify that renaming fields of local objects works
...
#KT-6528 Fixed
2015-08-24 15:12:45 +02:00
Dmitry Jemerov
24ba5a46f1
use correct safe delete processor for members of local classes and objects
...
#KT-8894 Fixed
2015-08-24 15:12:45 +02:00
Nikolay Krasko
522a5ea0f2
Safe Delete does not warn about class literal - tests (KT-8919)
...
#KT-8919 In Progress
2015-08-24 15:50:20 +03:00
Dmitry Jemerov
b45af1d47a
the source for a parameter of the generated copy() function is the corresponding constructor parameter
...
#KT-8698 Fixed
2015-08-24 12:20:40 +02:00
Natalia Ukhorskaya
351e1863fc
J2K: Support for method references
...
#KT-8721 Fixed
2015-08-24 12:37:41 +03:00
Natalia Ukhorskaya
ddd7251fce
J2K: Add RemoveRedundantSamConstructor postprocessing
2015-08-24 12:37:39 +03:00
Natalia Ukhorskaya
bf7f56d458
Redundant Sam Constructor inspection
2015-08-24 12:37:37 +03:00
Natalia Ukhorskaya
ccb4abee95
Refactor AbstractInspectionTest to allow java files
2015-08-24 12:37:35 +03:00
Natalia Ukhorskaya
ba48a5b7fc
Formatter: space between type argument list and function literal argument
2015-08-24 12:37:33 +03:00
Natalia Ukhorskaya
03097d3453
J2K: Idea doesn't proposed to insert imports on copy-paste if explicit import was inserted
...
#KT-8738 Fixed
2015-08-24 12:37:31 +03:00
Natalia Ukhorskaya
2226ace683
Ddebugger: fix problem with imports in codeFragments when import is inserted during creation (ex. from variables view)
...
(cherry picked from commit a2322621cb48cd1dfa2227c1baeb3983c1580c54)
2015-08-24 10:39:05 +03:00
Dmitry Petrov
641a59dcf2
- Create independent instances of MandatoryMethodTrasformer.
...
- Properly encapsulate LabelNormalizationMethodTransformer state.
2015-08-24 09:52:29 +03:00
Alexander Udalov
36c88da93a
Minor, fix deprecation warnings in android-compiler-plugin
2015-08-24 01:29:59 +03:00
Alexander Udalov
63831387cf
Only catch exceptions originating from incorrect use in preloader
2015-08-24 01:29:59 +03:00
Alexander Udalov
aba6ab1299
Refactor command-line interface to kotlin-preloader.jar
...
Use reasonable defaults for the options: no time profiling, no instrumenters,
empty classpath, 4096 as the class number estimate. Replace 4096 in the
codebase with the constant field.
Keep the old interface intact until the build is bootstrapped and the new one
can be used in all compilation steps
2015-08-24 01:29:58 +03:00
Alexander Udalov
a592b42357
Refactor Preloader: simplify mode parsing, unify output
2015-08-24 01:29:58 +03:00
Alexander Udalov
7dcb690254
Additional tests on reflection calls
2015-08-24 01:29:58 +03:00
Alexander Udalov
ccb58d8601
Minor, add some tests on get/set/name/instanceof for properties w/o reflection
2015-08-24 01:29:58 +03:00
Alexander Udalov
9f7cb752db
Minor, rename KCallableContainerImpl -> KDeclarationContainerImpl
...
Also rename DeclarationContainerImpl -> ClassBasedDeclarationContainer and make
non-public
2015-08-24 01:29:57 +03:00
Alexander Udalov
df76695e72
Somewhat improve 'incomplete hierarchy' diagnostic message
2015-08-24 01:29:57 +03:00
Alexander Udalov
9095fa2844
Make PropertyMetadataImpl a data class
...
To allow property delegates to use property metadata as a key in the hash map,
and to improve debugging experience
2015-08-24 01:29:57 +03:00