Commit Graph

2194 Commits

Author SHA1 Message Date
Evgeny Gerashchenko cd2e619364 Removed renderMessage from API of DescriptorRenderer. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko 8a946c6ef9 Renamed DescriptorRenderer and moved to 'renderer' package.
Moved DescriptorRendererTest to 'renderer' package, as well.
2012-12-17 16:35:56 +04:00
Nikolay Krasko 689cff6196 KT-3157 Java void method are inserted with ; after completion
#KT-3157 Fixed
2012-12-13 21:14:53 +04:00
Nikolay Krasko 1978d3522d Add ability to filter import usages 2012-12-13 21:14:51 +04:00
Andrey Breslav 15328ed9c5 Make exceptions from compiler reported as is, without any wrappers visible in EA 2012-12-13 21:10:00 +04:00
Nikolay Krasko c224b6441d KT-3133 Editor suggest to specify the package when it already has specified
Do not suggest imports in imports and in qualified names
 #KT-3133 Fixed
2012-12-07 14:50:22 +04:00
Andrey Breslav 2948875cad QuickFix: adding <*> for 'raw' type inside javaClass() call 2012-12-05 21:15:30 +04:00
Nikolay Krasko 2dafbdc45a Ask for external annotation only while looking for nullability or kotlin signature annotation 2012-11-28 19:21:33 +04:00
Andrey Breslav 6f4afd675f A quick fix for 'Raw type in is-expression' 2012-11-27 16:47:39 +04:00
Andrey Breslav bc7f2fd09b KT-2818 Show Parameters should show short type names instead of long
#KT-2818 Fixed
2012-11-26 15:25:19 +04:00
Andrey Breslav 3b11d5787c Migrating to IDEA 123.4 2012-11-23 12:38:54 +04:00
Andrey Breslav 3e1a5a7be1 Report exceptions from both makes to Exception Analyzer 2012-11-21 19:31:14 +04:00
Andrey Breslav 4ed07cd9ae Introducing KotlinPaths to impose some discipline on compiler/library location 2012-11-21 18:16:09 +04:00
Svetlana Isakova d0a6f6252d fixed: DEBUG_INFO_ERROR_ELEMENT should be visible in tests 2012-11-20 19:53:03 +04:00
Andrey Breslav 6384b7340c IDEA 122.813 is required now (API of the new make depends on the new build) 2012-11-19 18:15:20 +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
Svetlana Isakova 126f5e1668 check debug info errors in diagnostic tests 2012-11-16 15:32:59 +04:00
Svetlana Isakova df057010f3 record ambiguous label references 2012-11-16 15:32:58 +04:00
Svetlana Isakova 6d3981503b refactoring (removed duplicated code) 2012-11-16 15:32:58 +04:00
Nikolay Krasko 5117bf8118 Don't postpone assigning created body 2012-11-14 18:19:53 +04:00
Nikolay Krasko c4dd556b92 Fix for EA-39487 2012-11-14 18:19:38 +04:00
Andrey Breslav ddf99e0726 Process outputs as well as logging 2012-11-13 15:18:11 +04:00
Andrey Breslav f7a6c6f6fd JPS plugin stub 2012-11-13 13:46:12 +04:00
Andrey Breslav afa4ee898c Rename 2012-11-13 13:45:45 +04:00
Andrey Breslav b2b5ccefbd Switching from log/learn to reportOutput/add 2012-11-13 13:45:45 +04:00
Andrey Breslav ef403cc91a Alternative methods for progress reporting 2012-11-13 13:45:45 +04:00
Svetlana Isakova dda3091dfb 'CANNOT_COMPLETE_RESOLVE' error added 2012-11-12 15:32:11 +04:00
Andrey Breslav 8fc46680d6 Usinf io.File instead of concatenating paths 2012-11-12 11:55:19 +04:00
Andrey Breslav 57120e6d5c Migrating script generation onto java.io.File 2012-11-09 21:56:32 +04:00
Andrey Breslav c01587a0b1 Common functionality factored out of OutputItemsCollectorImpl
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav e2d504c78e Report raw paths, not URLs, convert when needed 2012-11-09 21:56:31 +04:00
Andrey Breslav 3d394cc49b The code that executes the KotlinToJVM compiler moved to an independent module
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav e9e9ebba9c Exceptions are reported through message collector
This will later allow us to move this code to a separate module, where loggers are not available
2012-11-09 21:56:30 +04:00
Andrey Breslav 4926dd7189 Code that runs the compiler is migrated onto MessageCollector
CompilerEnvironment migrated to use io.Files instead of VirtualFiles

This prepares the move of this code to the separate module, to be re-used by external build
2012-11-09 21:56:30 +04:00
Andrey Breslav 2584ba5246 Module script generation moved to a separate module
To be re-used by the external build later
2012-11-09 21:56:30 +04:00
Andrey Breslav 3a96559ce2 TipsManager moved to idea module 2012-11-09 21:56:29 +04:00
Nikolay Krasko 0b33bf5ff6 Merge pull request #140 from crazyproger/KT-1985
KT-1985 Creating class body in time of override/implement, if necessary
2012-11-09 08:52:44 -08: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 cb602496e3 Index for top level objects 2012-11-09 14:49:27 +04:00
Nikolay Krasko 5cf708d056 Don't insert fqn even if current element is resolved into constructor 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
Vladimir Rudev 2dd47d6339 KT-1985 Add test case and fix minor bug
Reference compacting must be done before adding body to class.
2012-11-08 23:23:49 +04:00
Andrey Breslav 45df349f16 EA-40126 - assert: StandardLibraryReferenceResolver.ensureInitialized
Working around the VFS refresh problem
2012-11-08 14:25:50 +04:00
Vladimir Rudev 5f5d375a36 fixed cosmetic issues 2012-11-08 13:20:36 +04:00
Vladimir Rudev 0dabbbeed5 KT-1985 Creating class body on override/implement if necessary 2012-11-07 19:50:41 +04:00
Pavel V. Talanov a657a19253 Fix TypeConstructor#getSupertypes() return type 2012-11-07 16:12:56 +04:00
Nikolay Krasko 4ca7d086c2 Refactor completion
- introduce JetCompletionResultSet to abstract adding descriptors
- remove multiple static methods from JetCompletionContributor
2012-11-06 18:54:52 +04:00
Nikolay Krasko 68a55f1c5e Rename JetClassCompletionContributor -> JetTypesCompletionHelper 2012-11-06 18:54:48 +04:00
Nikolay Krasko d2c4734187 Remove outdated class completion contributor 2012-11-06 18:54:44 +04:00