Commit Graph

4135 Commits

Author SHA1 Message Date
Nikolay Krasko 69cb9008b3 Refactoring: rewrite JetKeywordCompletionContributor on Kotlin 2013-12-23 16:43:14 +04:00
Nikolay Krasko 085554b793 Temp commit: Rename before rewriting to kotlin 2013-12-23 16:43:14 +04:00
Nikolay Krasko 964fe6bbdb Refactoring: change structure - each keyword has own filter 2013-12-23 16:43:13 +04:00
Nikolay Krasko b39b2c1062 Refactoring: reformat with reordering entities 2013-12-23 16:43:13 +04:00
Evgeny Gerashchenko f7d33d2297 Removed comments auto-generated by IDEA. 2013-12-23 15:58:36 +04:00
Natalia Ukhorskaya 4329c42e3f Make unary minus and unary plus return int for byte and short 2013-12-23 13:46:00 +04:00
Pavel V. Talanov 9fad61352b Conversion on copy paste dialog:
Change text for dialog options to "Yes/No"
2013-12-22 16:50:09 +04:00
Pavel V. Talanov 7049b4e17e Conversion on copy paste:
Refactor: prettify code
2013-12-22 16:50:08 +04:00
Pavel V. Talanov 5408c6ea77 Conversion on copy paste:
Copy elements that are partially selected as text
2013-12-22 16:50:07 +04:00
Pavel V. Talanov 3a4b7e07f8 Conversion on copy paste:
Copy element as text in case it can't be converted
2013-12-22 16:50:05 +04:00
Pavel V. Talanov ab19669c43 Conversion on copy paste:
Only convert elements that are wholly selected
2013-12-22 16:50:04 +04:00
Pavel V. Talanov da3b43fbf3 Refactor converter:
Convert JavaCopyPasteProcessor to kotlin (minor code prettifications)
2013-12-22 16:50:03 +04:00
Pavel V. Talanov 1464d1f7ad Conversion on copy paste:
Introduce tests for conversion on copy paste
Don't insert additional end of line after each converted element (not needed since converter takes care of formatting)
Add test for some of the trivial cases of conversion on copy paste
2013-12-22 16:50:01 +04:00
Pavel Talanov d7e1c1f0a2 Refactor converter:
Minor: Replace *to* naming convention by convert* convention
2013-12-22 16:49:40 +04:00
Pavel Talanov cba8d3b6db Converter:
Replace hack used to configure Converter by ConverterSettings class
Minor: remove redundant open modifiers, add override annotations
2013-12-22 15:37:09 +04:00
Valentin Kipyatkov 914a566094 Smart completion: anonymous object creation + rewrote some code using LookupElementDecorator 2013-12-20 18:49:11 +04:00
Valentin Kipyatkov 9627a335c2 Smart completion: no items of unresolved types 2013-12-20 18:49:10 +04:00
Evgeny Gerashchenko 4f36031874 Using null instead empty string for directory. 2013-12-19 21:48:40 +04:00
Evgeny Gerashchenko 6a36ba99d1 KT-4302 Kotlin plugin drops unsaved document content on indexing finish
#KT-4302 fixed
2013-12-19 21:48:38 +04:00
Evgeny Gerashchenko cd8f5fae54 Renamed some generated tests to follow conventions. 2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko 7c4675a9c0 Removed unnecessary "recursive = false" 2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko fa89d537fa Fixed generator class name. 2013-12-19 21:48:36 +04:00
Valentin Kipyatkov 24b68e7bdf Completion: better replacement range calculation for both basic and smart completions 2013-12-19 16:07:46 +04:00
Valentin Kipyatkov d28705a5ec Smart completion to ignore context after the caret 2013-12-19 16:07:46 +04:00
Valentin Kipyatkov 843a005aec Fixed KT-4318 Keyword should be selected in completion if there's exact match
#KT-4318 Fixed
2013-12-17 21:17:56 +04:00
Evgeny Gerashchenko a49551dd35 Introduced getFqNameSafe method. 2013-12-17 20:28:57 +04:00
Evgeny Gerashchenko 3352d8a954 Minor. Renamed method. 2013-12-17 20:28:56 +04:00
Evgeny Gerashchenko 5c22787c15 Simplified API of JetNamespaceHeader and its usages. 2013-12-17 20:28:55 +04:00
Evgeny Gerashchenko de6f25ff1b Removed unused method. 2013-12-17 20:28:53 +04:00
Evgeny Gerashchenko c472cb682f Minor. Moved method. 2013-12-17 20:28:51 +04:00
Evgeny Gerashchenko 73114d7e9c Fragment providers added on higher level. 2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko ad7044cc6c Fixed resolving references to packages in plugin. 2013-12-17 20:28:46 +04:00
Evgeny Gerashchenko bf0daf4b20 Minor. Renamed method. 2013-12-17 20:28:46 +04:00
Evgeny Gerashchenko 303f2b8c4c Simplified BuiltinsReferenceResolver. 2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko 75e550fe11 Removed namespaces from descriptor visitor. 2013-12-17 20:28:41 +04:00
Evgeny Gerashchenko 005b59e783 Inlined method. 2013-12-17 20:28:41 +04:00
Evgeny Gerashchenko b783175fb4 Removed ex-ModuleConfiguration classes. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko d0605009ae Removed ModuleConfiguration. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko 19d8f1394b Big refactoring continued. Migrating to package views and fragments. 2013-12-17 20:28:39 +04:00
Evgeny Gerashchenko 7abe6a5b4a Big refactoring. Migrating to package views and fragments. 2013-12-17 19:18:33 +04:00
Evgeny Gerashchenko 2a0d81a6fe Introduced package view and fragment classes. 2013-12-17 19:18:31 +04:00
Evgeny Gerashchenko 1b28fb50b9 Removed useless method. 2013-12-17 19:18:31 +04:00
Nikolay Krasko dbc1f6b42c Fix autopopup completion with irrelevant variants after typing 'f' suffix for float number
#KT-4312 Fixed
2013-12-17 17:43:13 +04:00
Natalia Ukhorskaya 7a9d822070 'As' function for constants 2013-12-17 15:00:30 +04:00
Alexey Sedunov b4ad149e77 Replace getParentByTypePredicate with getParentByTypesAndPredicate 2013-12-17 01:41:20 +04:00
Alexey Sedunov e13abf2444 KT-4274 #Fixed 2013-12-17 01:41:19 +04:00
Valentin Kipyatkov 5e20f509b7 Smart completion: minor code editing 2013-12-16 21:23:09 +04:00
Valentin Kipyatkov f22ba73a92 Smart completion: enum members to be listed after qualifier too 2013-12-16 21:23:09 +04:00
Valentin Kipyatkov db77eb54d7 Smart completion: java static members, enum members and class object members added 2013-12-16 21:23:08 +04:00
Nikolay Krasko db8222c50a Disable reindex in tests 2013-12-16 19:39:42 +04:00