Natalia Ukhorskaya
2ffcc5124e
Debugger: use extract method to get function arguments
2014-04-23 18:09:59 +04:00
Natalia Ukhorskaya
fa482bca80
Use lazy analysis for debug file
2014-04-23 18:09:57 +04:00
Natalia Ukhorskaya
45d78dae5a
Debugger: implement findExpression method correctly to make work Alt+Click in debugger
2014-04-23 18:09:56 +04:00
Natalia Ukhorskaya
bd737a32fb
Debugger: add imports from file on breakpoint
2014-04-23 18:09:55 +04:00
Natalia Ukhorskaya
133aea9c4b
Debugger: add test for evaluate expression
2014-04-23 18:09:47 +04:00
Zack Grannan
aec5ae5dd4
Added IfThenToDoubleBangIntention
2014-04-22 22:33:08 +04:00
Zack Grannan
8476a790bd
Added DoubleBangToIfThenIntention
2014-04-22 22:33:08 +04:00
Zack Grannan
e5054a4a54
Modified IfThenToElvis to not apply when using '!!' would be better
2014-04-22 22:33:08 +04:00
Alexey Sedunov
0e9676173b
Extract Function: Implement validation
2014-04-22 18:45:55 +04:00
Alexey Sedunov
e052a64767
Introduce Variable: Compare receivers (both implicit and explicit) when looking for expression occurrences
...
#KT-4819 Fixed
2014-04-22 18:45:54 +04:00
Zalim Bashorov
40ee454e67
Merge pull request #450 from wutalman/assert_to_if
...
KT-4576: (Bug fix) Intention to transform an if an AssertionError throw into an assert
2014-04-22 17:30:22 +04:00
Valentin Kipyatkov
134496d182
Smart completion: special items with "!!" and "?:" for nullable members
2014-04-21 22:14:20 +04:00
Valentin Kipyatkov
28e0f3013b
Smart completion: no fq-names in types
2014-04-21 22:06:15 +04:00
Valentin Kipyatkov
4968377969
Smart completion: lambda item uses template to allow change parameter names
2014-04-21 22:06:15 +04:00
Andrey Breslav
767eb04930
JetElement.getContainingJetFile() introduced
2014-04-21 21:55:00 +04:00
Pavel Talanov
9127902a28
Merge pull request #433 from kuity/ReplaceInfixCallFix
...
Bug Fix for KT-4652 Replace with Infix Call
2014-04-21 04:44:44 -07:00
Tal Man
3713f50800
Intention to convert assert into an if with throw - bug fix for when the call is dot qualified
2014-04-20 12:45:31 -04:00
Andrey Breslav
feece3c326
Temporarily disabling a blinking test
2014-04-18 21:28:24 +04:00
Andrey Breslav
9da2cbd5e8
Duplicating diagnostics removed from test data
2014-04-18 21:28:23 +04:00
Alexey Sedunov
5f92c22df3
Smart Selector: Do not suggest expressions contained in the super-expression
...
#KT-4824 Fixed
2014-04-18 14:38:17 +04:00
Nikolay Krasko
962044f887
Use render with short types names in completion lookup elements
2014-04-18 13:18:18 +04:00
Lingzhang
6feee57d5e
Bug Fix for KT-4652 Replace with Infix Call
2014-04-18 02:15:02 -04:00
Alexander Udalov
a5cc894ecd
Fix "name in constraint is not a type parameter" diagnostic message
...
TO_STRING renderer was used for PSI elements, so things like "CLASS", "FUN"
were displayed in the message
2014-04-17 19:51:32 +04:00
Alexander Udalov
72dfca1698
Fix "cannot override invisible member" diagnostic message
...
Fix "cannot has", delete "in class ..." as it's already present in the message
(function ... defined in class ...)
2014-04-17 19:51:32 +04:00
Alexander Udalov
146498ec32
Sort out renderers for diagnostics
...
- change NAMED to be Renderer<Named> and render Named's name. It was used in
multiple places with arbitrary arguments, not only Named: change renderers in
those places to TO_STRING
- add STRING, which is Renderer<String> and renders string itself. Change all
places where strings were used with either TO_STRING or NAMED to STRING
- change NOT_AN_ANNOTATION_CLASS diagnostic to be reported on descriptor, not
any string
- change "unused variable/parameter" diagnostics to be reported on
VariableDescriptor, not Object
2014-04-17 19:51:31 +04:00
Alexander Udalov
adec89f74d
Don't print descriptors' toString() in diagnostic messages
...
Use DescriptorRenderer.TEXT instead, it doesn't print the debug information
2014-04-17 19:51:29 +04:00
Alexander Udalov
5be2a4945b
Render FQ name of default package as "root package" in OverloadResolver
2014-04-17 19:51:29 +04:00
Alexander Udalov
4f9f5d231b
Fix incorrect diagnostic message for CONFLICTING_OVERLOADS
...
- the member and the container were mixed up
- don't output "defined in" part of the message, because we tell later where
it's already defined in
- fix an instability of the diagnostic order in OverloadResolver by using
LinkedHashSet
2014-04-17 19:51:29 +04:00
Alexey Sedunov
0d90dcf010
Extract Function: Add test data
2014-04-17 19:01:20 +04:00
Alexey Sedunov
4dec0508a6
ExtractionTest: Change test data layout
2014-04-17 19:01:17 +04:00
Alexey Sedunov
cceaa3b66f
Fix bug in ShortenReferences visitor (do not skip PSI elements after modication)
2014-04-17 19:01:00 +04:00
Alexey Sedunov
3952a121fb
Pseudocode: Track PSI elements which correspond to jump instructions
2014-04-17 19:00:56 +04:00
Valentin Kipyatkov
df299655a7
Smart completion: one more working test and one more test to fix later
2014-04-17 14:39:31 +04:00
Valentin Kipyatkov
f682dc36e0
Smart completion: lambda items
2014-04-17 14:39:30 +04:00
Valentin Kipyatkov
1ba4c656a5
Smart completion: bugfix - no function reference after dot
2014-04-17 14:39:30 +04:00
Valentin Kipyatkov
5bff98c164
Smart completion: minor code refactoring
2014-04-17 14:39:30 +04:00
Valentin Kipyatkov
6b1ecc3fb0
Smart completion: "::functionName" items when value of function type is expected
2014-04-17 14:39:29 +04:00
Valentin Kipyatkov
7d5b86e000
Smart completion: no duplicates among static members
2014-04-17 14:39:29 +04:00
Valentin Kipyatkov
4b5d175aa7
Smart completion: no more duplicates among type instantiation items
2014-04-17 14:39:29 +04:00
Valentin Kipyatkov
5d8c5cfa31
Smart completion inserts closing parenthesis as well
2014-04-17 14:39:29 +04:00
Valentin Kipyatkov
f984dbc5b6
Smart completion to insert comma when in argument list
2014-04-17 14:39:28 +04:00
Tal Man
9cff3ba049
Intention to convert assert to an if with throw
2014-04-15 19:26:39 -04:00
Alexey Sedunov
db38f420f3
Move Refactoring: Do not replace references to local declaration with qualified names. Update and fix test data
...
#KT-4851 Fixed
2014-04-15 16:19:28 +04:00
Tal Man
b9e248b006
Intention for removing explicit type arguments at function calls
2014-04-14 11:14:09 -04:00
Natalia Ukhorskaya
ed7a156553
Merge remote-tracking branch 'origin/pr/435'
...
Conflicts:
idea/src/META-INF/plugin.xml
idea/tests/org/jetbrains/jet/plugin/codeInsight/JetInspectionTestGenerated.java
2014-04-11 12:11:44 +04:00
Zack Grannan
867925d5a1
Added ifThenToSafeAccessInspection
2014-04-10 15:44:59 -07:00
Zack Grannan
328607a3ab
Added ifThenToElvisInspection
...
Conflicts:
idea/src/META-INF/plugin.xml
2014-04-10 14:43:18 -07:00
Tal Man
cfc16b410e
Intention for adding explicit type arguments at function calls
2014-04-10 16:28:42 +04:00
Natalia Ukhorskaya
f8db722011
Merge pull request #392 from wutalman/simplify_booleans
...
KT-4569: Intention to simplify boolean expressions with constants #KT-4569 Fixed
2014-04-10 11:00:16 +04:00
Tal Man
0feb0d35e6
Intention to simplify boolean expressions that have expressions in them that can be simplified to constants
2014-04-09 14:47:13 -04:00