Commit Graph

2493 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 4cede47c70 Added tests with class/function used in Java 2015-01-22 15:20:26 +03:00
Evgeny Gerashchenko 4b20435ec9 Not searching for functions with conventional names.
Reasons:
1. They kind of implement interface.
2. They are too expensive to search.
2015-01-22 15:20:25 +03:00
Evgeny Gerashchenko b68b2e2e40 Added optimization: if name is too popular, don't check as unused. 2015-01-22 15:20:24 +03:00
Evgeny Gerashchenko f652d314d8 Finding unused functions. 2015-01-22 15:20:24 +03:00
Dmitry Jemerov f4a25f69b1 Merge pull request #552 from JetBrains/rr/yole/kdoc-generate
structured rendering of doc comments in quick documentation dialog
2015-01-21 23:32:10 +01:00
Valentin Kipyatkov 77a560775f KT-6628 Allow imports of classes from root package
#KT-6628 Fixed
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov 7ce3925d71 Removed USELESS_HIDDEN_IMPORT error for it cannot happen anymore 2015-01-21 20:10:17 +03:00
Dmitry Jemerov 609914fb4a code review; add test for brackets around subject name in tag 2015-01-21 17:23:24 +01:00
Dmitry Jemerov 659c54d7e6 structured rendering of doc comments in quick documentation dialog 2015-01-21 16:20:20 +01:00
Dmitry Jemerov 0c2b230e4a allow inheriting doc comments from base classes 2015-01-20 19:20:59 +01:00
Dmitry Jemerov 100b8c2c4d Fix tests according to new PSI structure; move doc comment text calculation from JetQuickDocumentationProvider to KDocTag.getContent() 2015-01-20 18:07:18 +01:00
Alexey Sedunov b40e657180 Create from usage: Create constructor parameter by reference in delegation specifier
#KT-6601 Fixed
2015-01-19 20:58:55 +03:00
Alexey Sedunov 70b202dfa6 Extract Function: Do not extract extension receiver from 'implicit invoke'
call
 #KT-6302 Fixed
2015-01-19 20:58:54 +03:00
Alexey Sedunov d54b261c61 Extract Function: Fix 'this' label (extension case)
#KT-5456 Fixed
2015-01-19 20:58:53 +03:00
Alexey Sedunov 8d40ca1a74 Extract Function: Merge jumps with default exits if all exit points are equivalent
#KT-6598 Fixed
2015-01-19 20:58:51 +03:00
Alexey Sedunov 9278dee1a4 Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
#KT-6261 Fixed
 #KT-6416 Fixed
2015-01-19 20:58:50 +03:00
Natalia Ukhorskaya d2cf83902b Debugger: do not evaluate calls on mouse cover when 'Value auto tooltip' switched on 2015-01-15 11:45:16 +03:00
Natalia Ukhorskaya f5aefc96fb Local variable shouldn't be visible in debugger before initialization 2015-01-15 11:45:15 +03:00
Valentin Kipyatkov c915eb4eac KT-6566 Generate Override/Implement method does not work for locally declared classes
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00
Valentin Kipyatkov eed0def1cb Completion auto-popup works at the start of function literal 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov 9e526fca58 Completion for "file" keyword in annotations 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov fde1890de9 More tests
#KT-1670 Fixed
 #KT-2690 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov ec1541a692 No completion auto-popup where parameter name can be 2015-01-14 20:57:27 +03:00
Valentin Kipyatkov 000cde3f7f KT-6225 Completion of annotations for method parameters
#KT-6225 Fixed
2015-01-14 20:57:27 +03:00
Dmitry Jemerov 95d29e0f8a Merge pull request #546 from JetBrains/rr/coverage-test-fix
fix code coverage test to match the new implementation logic
2015-01-14 17:15:34 +01:00
Dmitry Jemerov 548b52d529 don't store .class files in testdata 2015-01-14 14:49:07 +01:00
Evgeny Gerashchenko b6dffb8f0b Added test with class used only in import. 2015-01-14 15:48:50 +03:00
Evgeny Gerashchenko 2d4e0be076 Added test with class referred in XML. 2015-01-14 15:48:49 +03:00
Evgeny Gerashchenko 9b22fc06c7 Class used in text is not unused. 2015-01-14 15:48:48 +03:00
Evgeny Gerashchenko 8297411e5f Not marking entry points as unused. 2015-01-14 15:48:46 +03:00
Evgeny Gerashchenko b781a09caf Implemented simplest version of unused symbol inspection. 2015-01-14 15:48:45 +03:00
Dmitry Jemerov cc1a628110 fix code coverage test to match the new implementation logic 2015-01-14 12:12:27 +01:00
Nikolay Krasko 6215b3962c Fix warning and and test fail 2015-01-13 12:37:19 +03:00
Alexander Udalov 662e8707b2 Minor, drop copyright from test data 2015-01-13 01:15:17 +03:00
Alexander Udalov c82308d3be Rename jet -> kotlin in idea 2015-01-13 01:15:14 +03:00
Alexander Udalov 44840d07a8 Rename jet -> kotlin in idea: caches, findUsages, references, stubindex 2015-01-13 01:15:10 +03:00
Alexander Udalov a9a15978e0 Rename jet -> kotlin in idea: completion, debugger, decompiler, highlighter
org.jetbrains.jet.plugin.* -> org.jetbrains.kotlin.idea.*
2015-01-13 01:15:09 +03:00
Alexander Udalov 044f7b6156 Rename jet -> kotlin in idea: refactoring, codeInsight
org.jetbrains.jet.plugin.* -> org.jetbrains.kotlin.idea.*
2015-01-13 01:15:08 +03:00
Alexander Udalov fe544eaf71 Rename jet -> kotlin in idea: intentions
org.jetbrains.jet.plugin.intentions -> org.jetbrains.kotlin.idea.intentions
2015-01-13 01:14:37 +03:00
Alexander Udalov 0b64f028b6 Rename jet -> kotlin in idea: quickfixes
org.jetbrains.jet.plugin.quickfix -> org.jetbrains.kotlin.idea.quickfix
2015-01-13 01:14:36 +03:00
Alexey Sedunov 86d5bd9365 Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
2015-01-12 22:55:33 +03:00
Alexey Sedunov 64ddd52e60 Extract Function: Fix type candidates for parameters with flexibly nullable types
#KT-6546 Fixed
2015-01-12 22:55:32 +03:00
Alexey Sedunov c8cb5f8c29 Find Usages: Fix reference matching for declarations located in libraries
#KT-5762 Fixed
2015-01-12 22:55:31 +03:00
Alexey Sedunov 59d646bc16 Extract Function: Generate function in property's enclosing declaration if original expression belongs to initializer of that property
#KT-6290 Fixed
2015-01-12 22:55:30 +03:00
Natalia Ukhorskaya 2aaa94cccb Debugger: implement Jump to Source for localVariables 2015-01-12 14:16:29 +03:00
Natalia Ukhorskaya 8dcb4ab5bb Debugger: suppress UNSAFE_CALL diagnostic in debug mode 2015-01-12 14:16:26 +03:00
Alexander Udalov d384e50a97 Rename jet -> kotlin in frontend: PSI
org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
2015-01-10 15:52:14 +03:00
Nikolay Krasko 31de60738a Temporary allow import 2014-12-31 21:56:20 +03:00
Valentin Kipyatkov 4b2ee7e645 Fixed KT-6429 Wrong replacement range in smart completion in some particular case
#KT-6429 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov 51678d0a45 KT-5874 Support code completion of label names after "continue@" and "break@"
#KT-5874 Fixed
2014-12-29 17:27:30 +03:00