Commit Graph

43 Commits

Author SHA1 Message Date
Nikolay Krasko e2bf8b2eee Suppress warning to avoid spontaneous addition actions 2014-12-05 19:07:46 +03:00
Valentin Kipyatkov 7ba11b0f2f Fixed auto-import of operator functions broken before + fixed bug in its implementation 2014-12-03 21:09:29 +03:00
Alexey Sedunov 1b1eb10979 Create From Usage: Create class by constructor call 2014-11-11 14:42:45 +03:00
Alexey Sedunov b8f68acdbb Create From Usage: Create class by reference expression 2014-11-11 14:42:42 +03:00
Alexey Sedunov 1f14d93412 Create From Usage: Create class by type reference 2014-11-11 14:42:39 +03:00
Alexey Sedunov 42a74f55da Create From Usage: Remove "from usage" words from action text 2014-11-10 21:10:29 +03:00
Valentin Kipyatkov a124827c4e Fixed KT-5611 Completion doesn't include not imported extensions for implicit receiver
#KT-5611 Fixed
2014-10-14 15:47:44 +04:00
Alexey Sedunov 58126b28ca Create From Usage: Quick-fix for properties 2014-10-03 20:18:41 +04:00
Alexey Sedunov 6ad2157806 Create From Usage: Quick-fix for value parameters 2014-10-03 20:18:39 +04:00
Svetlana Isakova ce01c61811 Rename: auto cast -> smart cast 2014-10-01 18:52:52 +04:00
Alexey Sedunov 4ca39e8f9a Create From Usage: Quick-fix for local variables 2014-09-30 19:55:46 +04:00
Alexey Sedunov 6043c6d0a7 Create Function From Usage: Quick-fix for functions invoked via call expressions 2014-09-29 01:27:25 +04:00
Alexey Sedunov 424c086ba3 Sort list of declarations suggested for auto-import by proximity
#KT-2050 Fixed
2014-09-11 21:04:27 +04:00
Valentin Kipyatkov 855cc2443f KT-4976 Completion ignores smart casts
#KT-4976 Fixed
 #KT-5718 Fixed
2014-09-03 15:43:25 +04:00
Valentin Kipyatkov ae9eb19f39 Auto-import popup to import global properties
#KT-4541 Fixed
 #KT-3097 Fixed
2014-08-27 19:07:38 +04:00
Valentin Kipyatkov f8e2841c2b Checked that auto-import works for extension properties 2014-08-27 19:07:38 +04:00
Jeremy Kaplan b3842285e8 Implemented Operator To Function intention action.
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
2014-05-12 21:04:51 +04:00
Alexander Udalov 5a0055cbeb Fix message case in JetBundle.properties
Intention names should be lowercase, family names should have each word
except prepositions capitalized
2014-05-12 16:47:00 +04:00
Zack Grannan 1f720c8559 Added safeAccessToIfThen intention 2014-03-12 16:02:55 +04:00
Alexander Udalov f7b6457139 Replace "jet" package name with "kotlin" in testData 2014-03-02 19:55:26 +04:00
Valentin Kipyatkov d01ff28212 Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions) 2014-01-23 18:46:27 +04:00
Evgeny Gerashchenko ae4c68830d Importing root scope without members. 2014-01-16 22:11:55 +04:00
Pavel V. Talanov e693820fb4 Auto-imports for operator calls and infix calls
#KT-1613 Fixed
 #KT-4192 Fixed

Enable auto-import fix for "unresolved reference with wrong receiver" diagnostic
2013-12-31 13:24:38 +04:00
Nikolay Krasko 24794741ff Testing auto imports work in calls
#KT-4000 In Progress
2013-09-24 16:54:26 +04:00
Nikolay Krasko 37f25f2ee1 KT-2258 Plugin does not suggest to import objects
#KT-2258 Fixed
2013-04-19 01:10:53 +04:00
Nikolay Krasko 2b8cac44bb Test for KT-1322 There's no autoimport suggested for traits
#KT-1322 Fixed
2013-04-19 01:10:52 +04:00
Nikolay Krasko f05de2ffc8 KT-3165 Weird stack overflow in IDE (test added) 2013-02-04 14:23:23 +04:00
Andrey Breslav 5e1e6c2595 Invisible private classes are not auto-imported 2013-01-23 13:10:35 +04:00
Nikolay Krasko 1f12658ce7 Check errors and are all actions are expected in quick fixes tests 2012-12-13 21:14:52 +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 636deb6a09 KT-3016 Exception during analyze when some function has no name
#KT-3016 Fixed
2012-11-19 13:44:55 +04:00
Nikolay Krasko bade0e0275 Check that quick fixes don't produce new errors 2012-06-27 17:41:21 +04:00
Nikolay Krasko c00c4d3881 KT-1808 Auto import offers private static Java classes
#KT-1808 fixed
2012-06-01 17:09:44 +04:00
Sergey Lukjanov 99c7b9ef3e Autoimports tests has been updated. 2012-03-30 18:34:04 +04:00
Nikolay Krasko ed969eb0b4 Do not suggest to import something that is already imported 2012-03-26 14:47:19 +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 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 2826db7d9a KT-1103 Public outer function from different package and source file is not visible in completion:
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
Nikolay Krasko cb2219e72d KT-949 AssertionFailure in quick fix 2012-01-11 16:16:34 +04:00
Nikolay Krasko 25f7c139e0 Remove invalid tests (valid tests are already exist) 2011-12-27 15:51:13 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Nikolay Krasko 17e8a2663d KT-805 Auto import on code completion insert (multifile test) 2011-12-19 19:32:02 +04:00
Nikolay Krasko 26ec797444 KT-805 Auto import on code completion insert (Initial version) 2011-12-16 13:23:58 +04:00