Commit Graph

81 Commits

Author SHA1 Message Date
Nikolay Krasko 37e4402822 Complete only imported classes on auto-typing and first completion and set up invocation count 2013-07-04 21:22:22 +04:00
Nikolay Krasko f0a10b70c1 Fix wrong unnecessary completion for the case of force completion
#KT-1187 Fixed
2013-07-04 20:49:31 +04:00
Nikolay Krasko 994107ee0a Mix class object scope to member resolution scope in lazy resolve 2013-06-07 17:24:17 +04:00
Evgeny Gerashchenko cb2f24b1cc Not loading SAM constructors for FunctionN classes. 2013-05-07 18:50:44 +04:00
Natalia.Ukhorskaya b88981f678 Workaround for appearance of PsiClass from runtime in JavaDescriptorResolver 2013-04-30 21:47:26 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Nikolay Krasko 87c9a65667 Move all basic completion tests to common folder 2013-04-11 20:00:29 +04:00
Nikolay Krasko aeff3c783e Move class completion tests into ordinal tests 2013-04-11 20:00:25 +04:00
Nikolay Krasko 1a5ccafd47 Refactor tests and activate them for working with JS 2013-04-11 20:00:22 +04:00
Maxim Shafirov 3545f7758a Merge remote-tracking branch 'origin/master' 2013-02-04 18:04:07 +04:00
Maxim Shafirov 9f546f938d KT-3192 Drop kotlin.nullable package
#KT-3192 Fixed
2013-02-04 18:02:52 +04:00
Nikolay Krasko a15f1c8946 Test are imported functions completed 2013-02-04 14:23:24 +04:00
Natalia.Ukhorskaya 65f1efb921 Add JetPackageClass annotation 2013-01-15 19:45:07 +04:00
Natalia.Ukhorskaya 0f2fa6bade Fix completion for top level non-imported functions 2013-01-15 19:45:04 +04:00
Nikolay Krasko 5368e8cef3 Process imports for functioncs and properties in creating scope for file
during lazy resolve

Fix for "KT-3096 No completion in function literal" and "KT-3102 No
completion/auto-import for an extension method"

 #KT-3102 Fixed
 #KT-3096 Fixed
2012-12-03 15:17:24 +04:00
Andrey Breslav a71ea5c6db EA-39003 - ISE: ResolveSession.resolveToDescriptor
Lokking up classes and objects by PSI element, rather than by name
2012-11-16 17:48:49 +04:00
Nikolay Krasko aca747390b KT-2849 Object that are not imported do not show up in completion
#KT-2849 Fixed
2012-11-09 14:49:28 +04:00
Nikolay Krasko dc5402337a KT-2796 Variable name is not completed in the receiver position of a chained call
#KT-2796 Fixed
2012-11-09 14:49:26 +04:00
Nikolay Krasko 91f7a094fe KT-1931 Duplicate class from Kotlin runtime in completion
#KT-1931 Fixed
2012-11-09 14:49:25 +04:00
Nikolay Krasko c081ced616 KT-2499 If Java class is imported, it is visible in completion three times: as Java class, Kotlin class and package
- Add java trace into delegation for lazy resolve session
 #KT-2499 Fixed
2012-11-09 14:49:23 +04:00
Nikolay Krasko 9d65cb482d KT-2866 Names from multi-declarations do not show up in completion
Test added
 #KT-2866 Fixed
2012-11-06 18:54:35 +04:00
Andrey Breslav 14e5b777c4 EA-39104 - IAE: DescriptorResolver.getPropertyDeclarationInnerScope
Fixed
2012-11-06 12:59:37 +04:00
Nikolay Krasko 11da503c62 KT-2962 auto completion support for extension functions
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Nikolay Krasko c7af6de16b KT-1187 Wrong unnecessary completion
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko b301bbe1f9 Don't activate top level completion in user types after dot 2012-09-20 16:50:08 +04:00
Nikolay Krasko 7ad0fd56f3 EA-39175 Completion fails if MultiDeclaration is present on top level in file 2012-09-13 21:06:18 +04:00
Nikolay Krasko a95ba27b7d KT-2758 Errors in lazy resolve: Unknown TYPEDEF
Unknown declaration: TYPEDEF: Unknown declaration: TYPEDEF
 #KT-2758 Fixed
 EA-38287 Fixed
2012-09-13 21:06:18 +04:00
Nikolay Krasko 1121d9b316 EA-38789 Fix "Name is null for OBJECT_DECLARATION object" 2012-09-12 19:58:45 +04:00
Nikolay Krasko d9cd4f0d74 KT-2725 No completion in properties initializers and accessors
#KT-2725 Fixed
2012-09-04 16:37:37 +04:00
Nikolay Krasko 138373c94c KT-2724 No completion in class initializers
#KT-2724 Fixed
2012-09-04 15:36:30 +04:00
Svetlana Isakova 1b28604268 java Iterable/Iterator replaced to jet ones
in completion, js tests
2012-08-16 18:39:23 +04:00
Nikolay Krasko d1dc67c049 Search for function in resolve session with non-physical file 2012-08-14 14:15:13 +04:00
Nikolay Krasko 66eaeedd31 Add types in test 2012-08-06 11:05:09 +04:00
Nikolay Krasko fa7ad96a4e Test parent scope completion in local object declaration 2012-07-20 16:28:02 +04:00
Nikolay Krasko 32b70db6b2 KT-1920 Don't complete java.lang.Double for the prefix Double
#KT-1920 fixed
2012-06-01 13:28:12 +04:00
Nikolay Krasko f18372cfdc KT-1672 Don't complete import java.lang.reflect.Array when Array is typed at the beginning of a line
#KT-1672 fixed
2012-06-01 00:11:54 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +04:00
Nikolay Krasko d759d50811 Change representation of extension functions 2012-05-29 15:03:36 +04:00
Nikolay Krasko 8208489759 KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko a7b11d2b4e KT-1673 Respect formatter settings in the completion list - apply standard renderer
#KT-1673 fixed
2012-05-22 01:45:36 +04:00
Svetlana Isakova d08bb4e6ec test for KT-1805 Better diagnostic for access to private field of parent class
#KT-1805 Fixed
2012-04-18 19:02:24 +04:00
Nikolay Krasko e4026c6465 - KT-1756 Filter invisible members from the first completion list
- Analyze is reference variant is suitable for completion before creating LookupElement
- Show visibility icon in completion list for kotlin declarations

 #KT-1756 fixed
2012-04-17 19:32:50 +04:00
Nikolay Krasko f8d50fd9bb Fix project completion in the beginning 2012-04-16 20:50:01 +04:00
Nikolay Krasko 531ffaaffa KT-1645 Propose members according to smart casts
#KT-1645 fixed
2012-04-13 15:35:55 +04:00
Nikolay Krasko 26b47c0180 KT-1755 Duplicates in completion
#KT-1755 fixed
2012-04-11 17:54:45 +04:00
Svetlana Isakova f7cfb36f62 # KT-1579 Fixed Can't import nested class/trait 2012-03-27 16:20:59 +04:00
Nikolay Krasko 072a552923 KT-1644 Propose types after fun — for receiver type
#KT-1644 fixed
2012-03-26 17:31:27 +04:00
James Strachan b90fdf3d81 fix up test case 2012-03-26 09:10:46 +01:00