Commit Graph

1727 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 2a9c124957 Added implementation of ClsCustomNavigationPolicy for Kotlin libraries. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 91adb13380 Added JetDummyClassFileViewProvider which is needed to JetFiles created from libraries have link to physical VirtualFile instead of LightVirtualFile. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 01ed1c3f75 Added saving mapping from ClsElements to JetElements in compiled classes. 2012-03-10 14:57:07 +04:00
Stepan Koltsov 62221494e2 fix plugin build 2012-03-10 02:03:16 +04:00
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00
Andrey Breslav 97ec5b4344 Make JetLightClass analyze the whole project (with no caching, for now). This change is related to the following issues:
KT-1474 Execption when running kotlin project
KT-1501 Run script doesn't work in IDEA
In seems that to fix the problem completely, we need to avoid importing Java's default package into every file, but the problems reported in these requests are gone now.

#KT-1501 Fixed
#KT-1474 Fixed
2012-03-09 17:48:11 +04:00
Andrey Breslav e5e227b57b Putting 75dcb84 back 2012-03-09 15:01:15 +04:00
Andrey Breslav 1a447e4ff3 Revert the 75dcb84 2012-03-09 13:58:41 +04:00
Svetlana Isakova c857785910 KT-1002 If there's no return in function highlight only last token but not last statement 2012-03-09 12:20:10 +04:00
Hiram Chirino 75dcb84c2e Fixes an NPE when compiling from the IDE. 2012-03-08 14:42:41 -05:00
Evgeny Gerashchenko 72fbdfa65e Extracted JetDecompiledData from JetContentBasedFileSubstitutor. It saves parsed Kotlin tree and text to user data of ClsFileImpl 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko 54a781edb6 Got rid of loading java stubs from class files: using ClsFile from PsiManager.findFile() instead. 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko d989fdfd3e Minor in DescriptorRenderer: added space after type parameters 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko b257a497d1 Added /* compiled code */ comments. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko e810d73286 Some minor fixes in presentation of decompiled namespaces. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 61639e577e Added basic decompilation for namespace classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 5baf50cb92 Provided PSI file for decompiled Kotlin classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2d492e5171 Added rendering class members. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2950d87b95 Using JavaDescriptorResolver to resolve Kotlin compiled classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko a98532c46e Implemented simple class content subsitutor. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko cb45426d44 Got rid of non-ASCII character in JetCompiler. 2012-03-07 13:55:22 +04:00
Nikolay Krasko ec29e06115 - KT-1430 Import popup/type completion does not work for extension functions
- refactoring for auto import tests
2012-03-07 13:42:06 +04:00
Andrey Breslav a94b77ffc9 Revert GUICE introduction 2012-03-07 12:58:37 +04:00
Stepan Koltsov c3e2fc947d using guice to wire TopDownAnalyzer beans 2012-03-07 04:09:12 +04:00
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
Andrey Breslav 73fedd7ff6 Ignore workspace.xml 2012-03-06 19:04:58 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
Andrey Breslav 7c6f1657d2 Classpath collection fixed for multi-module projects 2012-03-06 19:00:29 +04:00
Andrey Breslav 26519c74f1 Compiler output stream fixed
Exit code 1 not reported in the IDE
2012-03-06 19:00:28 +04:00
Nikolay Krasko 0c19d3add9 KT-1502 right click -> Run as JUnit test doesn't work in IDEA - show configuration over classes and files in project and structure views 2012-03-06 18:16:45 +04:00
Alexander.Podkhalyuzin 581cca0f5c KT-1386 Copy/Move classes delegates to Copy/Move files. 2012-03-06 16:22:43 +04:00
Alexander.Podkhalyuzin 9050582960 KT-1462 2012-03-06 14:34:20 +04:00
Nikolay Krasko ccaffd8165 KT-1312 Formatter: After package directive should be empty line - test 2012-03-06 13:30:36 +04:00
Svetlana Isakova 72c9eef31b Added ability not to mark error if there is a syntax one in some cases 2012-03-06 13:07:51 +04:00
Nikolay Krasko 77150f02d9 KT-1373 Completion suggests constructors in type position
KT-1316 Type name completion inserts fully qualified name when works in incomplete code
2012-03-05 18:36:12 +04:00
Svetlana Isakova b6161cb41b Bug with wrong 'anonymous initializer without constructor' fixed 2012-03-05 17:05:36 +04:00
Svetlana Isakova d6a5733a67 ParametrizedDiagnostic interface added 2012-03-05 16:48:43 +04:00
Nikolay Krasko 863e3ff382 Try to fix compile error on buildserver 2012-03-05 11:36:31 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Nikolay Krasko fda7e8a927 Merge pull request #8 from Frostman/kt-1375
Fix for KT-1375 Rename "No methods to implement found" to "No method to ...
2012-03-02 13:38:14 -08:00
Sergey Lukjanov 51361a29c1 Fix for KT-1375 Rename "No methods to implement found" to "No method to override found" where it is needed 2012-03-02 23:57:49 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
Nikolay Krasko 5882c10368 Add temporary class object icon for structure and project views 2012-03-02 16:53:28 +04:00
Nikolay Krasko 91c135f081 Merge pull request #6 from Frostman/kt-1486
Fix for KT-1486 and KT-1480 (Can't see class object and it children in project view)
2012-03-02 04:24:30 -08:00
Andrey Breslav 956865b830 Make the module script the last message so that it doesn't interfere with the errors 2012-03-02 15:56:30 +04:00
Andrey Breslav 3c566286dd Show generated module script in the messages view in the IDE 2012-03-02 15:54:51 +04:00
Andrey Breslav b120fa05ae Module script creation factored out. Output directories removed from classpath 2012-03-02 15:39:13 +04:00
Sergey Lukjanov 3fc897cbcd Fix for KT-1486 Can't see class object and it children in project view when "Show Members" enabled 2012-03-02 01:01:52 +04:00
olegkunov 96d7203370 KT-1378 Code formatting: spaces around ':'
Changed test data to match actual behavior of the "override methods" feature.
2012-03-01 21:18:37 +04:00
olegkunov 339cbdc0b5 KT-1378 - added spaces before ':' in the generated code. 2012-03-01 16:07:01 +04:00