Commit Graph

601 Commits

Author SHA1 Message Date
Valentin Kipyatkov 9feed9c3ef Fixed filtering of shadowed declarations after changes in extensions treatment 2015-10-30 12:03:50 +03:00
Valentin Kipyatkov be5569d31a Performance optimization in completion: do not analyze all extensions available from imports - use index 2015-10-30 12:03:50 +03:00
Valentin Kipyatkov 59fa639ab4 Refactored ReferenceVariantsHelper to not require KtSimpleNameExpression 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov c239e84aa0 Removed hack for package directive completion 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov 95a0372b43 Using PsiElement.getResolutionScope instead of LEXICAL_SCOPE from BindingContext 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov 6af71caaa9 Moved PsiElement.getResolutionScope utliity into ide-common 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov c09cf63424 Added utility functions for functions and variables in scope 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov 5f06f53bfd Renames 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov 470e9ba776 Fixed 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 6ca6718271 Dropped BindingContext.RESOLUTION_SCOPE 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 3eb1cff36a Less use of KtScope 2015-10-26 19:30:00 +03:00
Valentin Kipyatkov 9eeb051bd4 Refactoring FileScope into a chain of ImportingScope's (all compiler tests pass) 2015-10-26 19:29:59 +03:00
Valentin Kipyatkov 27ef6fab21 Accessor completion uses code style settings 2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 74f2d60e19 No duplicate property accessor should be allowed 2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 6eba45febd KT-9661 Code completion of "get" and "set" in property accessors
#KT-9661 Fixed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 798223b0e4 Better presentation for use site targets in completion 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov b7809ed94a Functions to properties 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov 6cfb30bb81 KT-9388 Code completion inserts use-site annotation target with superfluous chars
#KT-9388 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov fabf3e5e84 More correct keyword completion after "@" 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov 235399f784 KT-8036 Completion does not suggest file after @ in file header
#KT-8036 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov b26a590614 KT-7844 Completion for top level classes should propose the file name
#KT-7844 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 6baef687ef Minor 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov ab04ae4956 KT-9365 Code completion does not suggest annotation names at type usage
#KT-9365 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 197218a512 KT-9389 Code completion inserts annotation FQN into annotation list
#KT-9389 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 255373162d KT-9666 Inner classes do not appear in type completion
#KT-9666
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 375ecb4026 Refactored CompletionKind removing duplication with CallType 2015-10-22 18:48:14 +03:00
Valentin Kipyatkov b4501a6b98 Fixed filtering of annotation classes in annotation completion broken recently 2015-10-22 18:48:14 +03:00
Mikhail Glukhikh d6988ad69e Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed 2015-10-21 16:36:55 +03:00
Denis Zharkov 1413cab1e6 Mixin kotlin.Number methods into j.l.Number member scope
#KT-9672 Fixed
2015-10-20 19:41:58 +03:00
Dmitry Jemerov d6a3870101 rename Kt to Kotlin in KtType, KtIcons 2015-10-20 16:23:31 +02:00
Valentin Kipyatkov 73176fae17 Property with all accessors deprecated considered as deprecated 2015-10-20 10:12:34 +03:00
Dmitry Jemerov 49033e0002 rename Jet* classes to Kt* 2015-10-19 21:35:30 +02:00
Valentin Kipyatkov 0cfccdefe4 "enum class" and "annotation class" are completed as single keywords 2015-10-19 18:36:06 +03:00
Valentin Kipyatkov fa14b18f7f KT-8624 Don't complete "dynamic" keyword when targeting JVM
#KT-8624 Fixed
2015-10-19 18:36:06 +03:00
Pavel V. Talanov 4f5f5fc3b9 Fix test data for completion in java of source/compiled kotlin
(cherry picked from commit 83f2625)
2015-10-19 16:03:21 +03:00
Valentin Kipyatkov d0f318d7db Fixed bug in completion with double insertion of "::class.java" 2015-10-19 15:10:21 +03:00
Valentin Kipyatkov e3ff464109 Minor 2015-10-19 09:43:13 +03:00
Denis Zharkov 28c46b73f1 Rename some of builtin parameters 2015-10-17 17:46:16 +03:00
Valentin Kipyatkov e2c7ba7f40 Changed test data to not use deprecated api 2015-10-15 19:20:12 +03:00
Valentin Kipyatkov 36b3b16cb5 KT-5145 has been resolved but KT-9606 exists 2015-10-15 19:20:12 +03:00
Valentin Kipyatkov a83539705e Fixed completion handler for annotations (because the parser does not parse "@ xxx" as annotation anymore) 2015-10-15 19:20:12 +03:00
Valentin Kipyatkov f67bd8c13f Even more precise keyword completion for modifiers 2015-10-15 19:20:11 +03:00
Valentin Kipyatkov 15d507bf47 Removed obsolete comments 2015-10-15 19:20:11 +03:00
Valentin Kipyatkov 58a9b34276 Minor 2015-10-15 19:20:10 +03:00
Valentin Kipyatkov 78f60503e3 More correct keyword completion after @ 2015-10-15 19:20:10 +03:00
Valentin Kipyatkov e27528477f KT-9478 No override completion for second parameter in primary constructor
#KT-9478 Fixed
 #KT-9386 Fixed
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov 434be3be21 Adapted keyword completion to changed parser + more precise completion for modifier keywords 2015-10-15 19:20:09 +03:00
Valentin Kipyatkov f90ff31507 Adapting code completion to no annotations without "@" 2015-10-15 19:20:09 +03:00
Valentin Kipyatkov 090ea37a32 Fixed test data to use only annotation syntax with @ 2015-10-15 19:20:08 +03:00
Dmitry Petrov 8cd624a58a Drop package facades: code cleanup in Kotlin project. 2015-10-15 10:33:47 +03:00