Commit Graph

766 Commits

Author SHA1 Message Date
Nikolay Krasko 8088b770f7 #KT-1426 Implement "Optimize Imports" in plugin - fixes for used reference search (look to calls and work with java type constructors.) 2012-03-17 02:03:13 +04:00
Nikolay Krasko fda2bc25dc KT-1426 Implement "Optimize Imports" in plugin - tests and small fix for aliases. 2012-03-16 19:41:44 +04:00
Evgeny Gerashchenko ba841816c8 Fixed tests related to changes in DescriptorRenderer. 2012-03-16 17:00:59 +04:00
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
Evgeny Gerashchenko af9f00c177 Merge branch 'decompiler'
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/NamespaceCodegen.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaPackageScope.java
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorUtils.java
2012-03-14 14:50:04 +04:00
Nikolay Krasko ae1138c4ba Activate "around operators" space properties. Remove other from settings 2012-03-12 17:43:29 +04:00
Evgeny Gerashchenko 29662cdb1b Fixed JetFunctionParameterInfoTest. Replaced Int with jet.Int, Boolean with jet.Boolean, etc in test data. 2012-03-12 16:21:17 +04:00
Evgeny Gerashchenko f4eba40f45 Added checks for navigation elements for cls members. 2012-03-12 15:59:07 +04:00
Evgeny Gerashchenko 09c48ae440 Added test cases checking all decompiled files. 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko a0ea56be3f Added LibrariesTest (checking only one decompiled source yet). 2012-03-12 14:23:15 +04:00
Nikolay Krasko c21cdaf413 Start working with spaces:
KT-1532 IDEA should remove extra whitespaces when reformmating code
KT-1378 Code formatting: spaces around ':'

#KT-1532 fixed
#KT-1378 fixed
2012-03-11 22:11:55 +04:00
Nikolay Krasko efece992eb Completion for top-level functions from class and jar files - import quick fix 2012-03-11 16:54:07 +04:00
Nikolay Krasko fba492c492 Completion for top-level functions from class and jar files. 2012-03-11 16:54:06 +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
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
Nikolay Krasko ccaffd8165 KT-1312 Formatter: After package directive should be empty line - test 2012-03-06 13:30:36 +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
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
Nikolay Krasko a9bab96e33 Auto-import before object declaration corrupts code 2012-02-29 19:37:17 +04:00
Nikolay Krasko 84efd8536f KT-1151 Code completion for not imported extension functions - test for completion not-imported function on nullable type 2012-02-29 17:14:09 +04:00
Nikolay Krasko a086e3985e KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties 2012-02-29 17:14:07 +04:00
Nikolay Krasko 67dc9ba6e3 KT-1151 Code completion for not imported extension functions - ignore parameters 2012-02-29 17:14:06 +04:00
Nikolay Krasko 0a669b9c01 KT-1151 Code completion for not imported extension functions - test for completion extension function without params 2012-02-29 17:14:06 +04:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
Andrey Breslav cefd9d5ca2 KT-627 Drop Predicate expression 2012-02-27 12:58:23 +04:00
Evgeny Gerashchenko e44754683b Added test for selection of when entries. 2012-02-27 12:28:47 +04:00
Evgeny Gerashchenko d6fa5b8921 Added simple test for word selection. 2012-02-27 12:28:47 +04:00
Nikolay Krasko fe97ed0155 Fix test - avoid file renaming for now 2012-02-24 15:06:27 +04:00
Svetlana Isakova cc244fad94 KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
2012-02-24 12:09:02 +04:00
Evgeny Gerashchenko f89b0c3193 Fixed tests. Added 'object {...}' template after "class" inside class. 2012-02-23 23:46:14 +04:00
Evgeny Gerashchenko 8575da228d Fixed 'Implement members implement functions with no curly braces - not convenient'
#KT-1317 fixed
2012-02-23 23:00:03 +04:00
Evgeny Gerashchenko 6fadca9ac1 Fixed 'Completion suggests live tempates in name position'
#KT-1374 fixed
2012-02-23 22:49:55 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Alexander.Podkhalyuzin c9c81ed70f Patched test to avoid package renaming. 2012-02-22 13:57:33 +04:00
Alexander.Podkhalyuzin 2e2287f207 KT-1274 fixed tests 2012-02-21 16:10:13 +04:00
Andrey Breslav bff62484b1 KT-1306123.lng or 123.sht is not good name 2012-02-20 21:42:13 +04:00
Nikolay Krasko 80a40ae175 Rename folders with tests. 2012-02-20 19:31:00 +04:00
Nikolay Krasko 1e2ef9fbf1 KT-1294 Class rename fails to update import statement and breaks the code - test for kotlin class rename 2012-02-20 15:54:05 +04:00
Nikolay Krasko 300fafc90d KT-1351 References are not updated after java private package class rename - test 2012-02-20 15:16:51 +04:00
Nikolay Krasko 00fa077c34 KT-1294 Class rename fails to update import statement and breaks the code - add test for different packages and public java class. 2012-02-20 15:16:50 +04:00
Svetlana Isakova 046c13a264 KT-1041 Add check that thrown/catched expression is of Throwable type 2012-02-20 14:03:39 +04:00
Evgeny Gerashchenko 0d477c2e44 Added file templates for new class/trait/enum.
#KT-1010 fixed
2012-02-16 20:25:29 +04:00
Nikolay Krasko 56fa9b29f2 KT-1229 Packages should be showed in package derictive - more files 2012-02-16 16:05:38 +04:00
Alefas c643b1cf45 Fixed KT-1295, first part of removing 'println'. Undo part is still not working. 2012-02-15 19:38:42 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Evgeny Gerashchenko 7ce86a138e Added simple IDE templates test which checks that folding worked normally. 2012-02-14 14:21:17 +04:00
Evgeny Gerashchenko 37eb7d7e63 Removed trailing newline characters in test cases for 'interface' and 'main' live templates. 2012-02-13 22:28:51 +04:00
Evgeny Gerashchenko 8c75c408c1 Added tests for anonymous template 2012-02-13 22:04:41 +04:00
Evgeny Gerashchenko a790616eef Added test for 'void' live template. 2012-02-13 21:42:39 +04:00