Evgeny Gerashchenko
4e05bee22a
Fixed case for intention actions texts.
2012-10-29 21:51:02 +04:00
Evgeny Gerashchenko
4a7a31d830
Updated IDEA to 122.639.
2012-10-29 21:51:02 +04:00
Svetlana Isakova
4e59a87a2d
ResolutionStatus, ResolutionDebugInfo moved to subpackage 'results'
2012-10-29 17:11:58 +04:00
Svetlana Isakova
dd8e62a8f6
created subpackage 'tasks'
2012-10-29 17:11:57 +04:00
Svetlana Isakova
152368eb04
ResolvedCall, ResolvedValueArgument moved to 'model' subpackage
2012-10-29 17:11:57 +04:00
Svetlana Isakova
b395d33ff0
debug names for temporary traces added
2012-10-29 14:41:49 +04:00
Alexander Udalov
6e2e724b99
Implement JetPositionManager.getSourcePosition() properly
...
JetPositionManager now finds a PsiFile to create a SourcePosition correctly.
This fixes problems with breakpoints and navigation between frames when there's
more than one file with the given name (not necessarily in the same package)
2012-10-25 21:41:26 +04:00
Alexander Udalov
04a3aa8763
Test JetPositionManager.getSourcePosition()
2012-10-25 21:33:34 +04:00
Alexander Udalov
1469c1fe5e
Fix numbering in debugger tests
...
Line number in SourcePosition is actually 0-based
2012-10-25 21:33:30 +04:00
Alexander Udalov
3ce4d68c3b
Refactor tests for JetPositionManager
...
PositionManagerTestCase now inherits from MultiFileTestCase, which allows to
call configureByFile to configure tests properly.
Also multi-file tests are now done by copying test project file structure
2012-10-25 21:33:26 +04:00
Alexander Udalov
f42478f82f
JetExceptionFilter handles correctly the case of several files with the same name
...
Extract the logic to DebuggerUtils.findSourceFileForClass()
This fixes navigation from stack trace to a file, when there's more than one
file with this name in this package in the project
2012-10-25 21:32:32 +04:00
Alexander Udalov
880852861c
A couple utility methods
...
PsiCodegenPredictor.getFileForCodegenNamedClass() returns JetFile which
contains a declaration which will produce a class with a given name.
PsiCodegenPredictor.getFileForNamespacePartName() returns JetFile which
produces a namespace part with the given name.
BindingContextUtils.getContainingFile() returns JetFile which contains a
declaration which is matched to a given descriptor.
DescriptorUtils.findTopLevelParent() finds a top-level (i.e. its containing
declaration is NamespaceDescriptor) parent for a descriptor.
Also DescriptorUtils.isTopLevelFunction() is changed a little to accept not
only a function, but any descriptor
2012-10-25 21:28:43 +04:00
Alexander Udalov
a8798de8d0
NamespaceCodegen.getNamespacePartInternalName()
...
Should be used instead of getMultiFileNamespaceInternalName()
2012-10-25 21:28:42 +04:00
Alexander Udalov
dd6d7d90bc
Fix navigation from stack trace
...
JetExceptionFilter now correctly assigns hyperlinks to items of form
"namespace$...", found in exception stack traces
#KT-2489 Fixed
#KT-2941 Fixed
2012-10-25 21:28:41 +04:00
Alexander Udalov
eb6da4bb8b
Test for JetExceptionFilter
2012-10-25 21:28:40 +04:00
Alexander Udalov
34a940fa3b
Create JetExceptionFilter, add as an extension point
...
Add delegation to the default ExceptionFilter & placeholders for patching
hyperlinks with Kotlin-specific info
2012-10-25 21:28:39 +04:00
Nikolay Krasko
b62fe5f5fb
Move caret into generated else branch
2012-10-25 18:55:53 +04:00
Nikolay Krasko
6a6282b038
Replace usages of createWhiteSpace(project, ''\n") to specific method
2012-10-25 18:55:52 +04:00
Nikolay Krasko
33240f167d
Add else entry for when quick fix
2012-10-25 18:55:52 +04:00
Andrey Breslav
b5385788a3
Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?>
2012-10-25 17:05:28 +04:00
Natalia.Ukhorskaya
cacb2a6761
Change tooltip message for deprecated items
2012-10-24 11:56:43 +04:00
Evgeny Gerashchenko
91bbd7378e
Added TODOs in ConfigureKotlinLibraryNotificationProvider to make it easier to migrate to newer IDEA.
2012-10-23 18:06:16 +04:00
Evgeny Gerashchenko
38a27b3e6b
KT-2169 "Specify type" fix should be accessible for the whole function signature
...
#KT-2169 fixed
2012-10-23 18:06:16 +04:00
Evgeny Gerashchenko
0c43e77ac0
Minor. Fixed references to KotlinBuiltIns.UNIT_ALIAS.
2012-10-23 18:06:16 +04:00
Natalia.Ukhorskaya
37288a337b
#KT-2981 Fixed Show deprecated items after not deprecated in completion list
2012-10-23 13:21:59 +04:00
Nikolay Krasko
a3b86f5f8b
Special behaviour for space completion char on function literal insertion
2012-10-23 12:14:53 +04:00
Natalia.Ukhorskaya
2abf9ac051
#KT-2945 Fixed Mark deprecated classes, properties and functions in completion
2012-10-22 14:27:45 +04:00
Natalia.Ukhorskaya
c112e3e042
Mark deprecated classes, properties and functions in go to action
2012-10-22 14:27:29 +04:00
Nikolay Krasko
3861bfaaa0
KT-1801 Auto-insert closing angle bracket when entering a generic type parameter
...
#KT-1801 Fixed
2012-10-19 22:56:15 +04:00
Nikolay Krasko
75bd7d606d
Add override annotations - remove warnings
2012-10-19 21:57:19 +04:00
Andrey Breslav
80039d8533
A warning for redundant '?' in types
2012-10-19 19:24:14 +04:00
Natalia.Ukhorskaya
fe689f5e11
Mark deprecated items in StructureView
2012-10-19 15:51:31 +04:00
Natalia.Ukhorskaya
aa28a03f61
Mark deprecated items in ProjectView (class, function, property, class-object)
...
#KT-2944 Fixed Mark deprecated classes in Project Tree
2012-10-19 15:51:30 +04:00
Andrey Breslav
a7b6b34e29
Properly determine what classes to show in Kotlin completion:
...
Classes like Int and jet.Iterable should are not visible from Java
since they are erased at runtime. We call such classes non-physical,
they have to be added to completion manually.`
2012-10-18 19:57:18 +04:00
Natalia.Ukhorskaya
62d8153ada
Map java.land.Deprecated to jet.deprecated
...
Change testData for deprecated annotation
#KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Natalia.Ukhorskaya
5d2edc53b4
Minor refactoring at DeprecatedAnnotationVisitor
2012-10-18 19:06:18 +04:00
Natalia.Ukhorskaya
29ca8faa4e
Replace CodegenUtils.isDeprecated to KotlinBuiltIns.isDeprecated
2012-10-18 19:03:34 +04:00
Nikolay Krasko
11da503c62
KT-2962 auto completion support for extension functions
...
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Andrey Breslav
e4c89f800f
Compilation fixed
2012-10-17 17:52:02 +04:00
Andrey Breslav
10cf303133
BuiltIns initialization in J2K fixed
2012-10-17 17:40:06 +04:00
Andrey Breslav
9387c974bd
Resolving references to builtins: first loading Unit.jet, and then the rest of the library
...
Test data fixed to get rid of jet.src directory
2012-10-17 14:38:22 +04:00
Andrey Breslav
c3881747af
Component initialization order fixed
2012-10-17 13:48:08 +04:00
Andrey Breslav
ee5b50cb1b
Incorrect comparison to default bound fixed
2012-10-17 13:48:07 +04:00
Andrey Breslav
937c4e8baf
BuiltinsScopeExtensionMode not needed any more
...
(see the changes in DefaultModuleConfiguration.java)
2012-10-17 13:48:07 +04:00
Andrey Breslav
e81f38b6a8
JetStandardLibrary -> KotlinBuiltIns
2012-10-17 13:48:05 +04:00
Andrey Breslav
c719ae427a
JetStandardClasses -> KotlinBuiltIns
2012-10-17 13:48:05 +04:00
Svetlana Isakova
e7cbff14ef
mark last parenthesis instead of value argument list
2012-10-16 20:14:52 +04:00
Svetlana Isakova
0d4d576fed
fixed exception in renderer for type inference error
2012-10-16 17:28:24 +04:00
Svetlana Isakova
73020fbebf
added class ExtendedInferenceErrorData
...
(to avoid @Nullable fields)
2012-10-16 16:25:08 +04:00
Nikolay Krasko
c82ef0522d
ImplementationTestUtils -> NavigationTestUtils rename
2012-10-16 15:38:35 +04:00