Nikolay Krasko
de22bfbde9
Refactoring: extract method createFakeClsFile
2015-02-06 23:53:16 +03:00
Nikolay Krasko
8dd910bd36
Convert to Kotlin KotlinLightClassForPackage: fixes for j2k converter
2015-02-06 23:53:15 +03:00
Nikolay Krasko
a4e2c3b6fa
Convert to Kotlin KotlinLightClassForPackage: j2k converter
2015-02-06 23:53:14 +03:00
Nikolay Krasko
082ac7a05f
Convert to Kotlin KotlinLightClassForPackage: file rename
2015-02-06 23:53:13 +03:00
Nikolay Krasko
c9c3a1c924
Get containing with deferred stub evaluation
...
Tested in org.jetbrains.kotlin.idea.quickfix.QuickFixMultiFileTestGenerated.CreateFromUsage.CreateVariable.Parameter#testPlatformType
Resolve of Java element triggers resolve for all classes in package in IDE. One of them is Kotlin light class for package. In case when
some declarations in that packages has references to Java class from current package, compiler goes to recursion.
2015-02-06 23:53:12 +03:00
Dmitry Jemerov
c366da95ac
move KDocFinder to plugin because it's not used in compiler; wrap it in an object to avoid package facade conflicts; add test to findKDoc() and fix it so that it actually works
2015-02-06 18:13:35 +01:00
Dmitry Jemerov
fdfb843fdc
add @sample known tag; handle @constructor tag in findKDoc()
2015-02-06 16:58:36 +01:00
Dmitry Jemerov
70cf3e9c60
KDoc link parsing rewrite.
...
Support qualified names immediately after tag (@see or @param). Detect whether a tag is followed by a reference immediately while lexing, remove TEXT_OR_LINK token type. Remove duplicate nested KDocLink nodes from the PSI structure.
2015-02-06 16:33:55 +01:00
Dmitry Jemerov
cc5edc332d
inherit documentation for properties as well as functions
2015-02-06 16:32:41 +01:00
Evgeny Gerashchenko
478118c12a
Extracted common function getRecompilationDecision.
2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko
e5fd6bc067
Minor. Inlined trivial functions.
2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko
432408e1a8
Checking source to output mapping after rebuild.
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko
c5593a5b80
Correctly processing disappeared protos, files with constants/inline function.
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko
5b89f88447
Minor. Simplified getObsoletePackageParts() and similar functions.
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
89f3d21ba4
Clearing incremental cache for removed files without scanning output directory.
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
602642715c
Checking incremental cache dump after make. Comparing it with dump after rebuild.
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
f071802e19
Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.
...
Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko
512ea72e69
Minor. Green code and formatting.
2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko
84ca0a5b4e
Minor. Green code.
2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko
5663383fea
Minor. Removed unused property.
2015-02-06 15:56:33 +03:00
Natalia Ukhorskaya
12cdcc6e05
Minor: fix warnings
2015-02-06 11:21:17 +03:00
Natalia Ukhorskaya
2f931f36c8
Implement extra variables for debugger
2015-02-06 11:21:17 +03:00
Natalia Ukhorskaya
3a03cb48df
Debugger Tests: create context in onBreakpoint method
2015-02-06 11:21:16 +03:00
Alexey Sedunov
03e076aba3
Intentions: function <-> property conversion
2015-02-05 23:12:38 +03:00
Alexey Sedunov
15ebbdb349
Refactoring: Extract callable hierarchy logic from JetChangeSignature
2015-02-05 23:12:35 +03:00
asedunov
3ca51a516e
Merge pull request #564 from JetBrains/rr/yole/kdoc-completion
...
completion in kdoc
2015-02-05 23:10:02 +03:00
Dmitry Jemerov
49cecc35fd
completion in kdoc
2015-02-05 18:30:02 +01:00
Dmitry Jemerov
f450ff8ece
quick test for unresolved reference inspection
2015-02-05 16:28:34 +01:00
Dmitry Jemerov
66887db42e
highlight unresolved references in KDoc
2015-02-05 16:28:34 +01:00
Dmitry Jemerov
56d85c2033
don't parse links which aren't Kotlin identifiers and have an explicitly specified destination
2015-02-05 16:27:37 +01:00
Natalia Ukhorskaya
1ab51a08aa
Optimize search of package part files for JetPositionManager
2015-02-05 16:42:23 +03:00
Natalia Ukhorskaya
360a496724
Gradle plugin: update to 1.1.0-rc1
...
#KT-6729 Fixed
2015-02-05 16:42:22 +03:00
Evgeny Gerashchenko
97a54e88af
Merge pull request #563 from JetBrains/kdoc-render-package
...
as a workaround for KT-4502, wrap KDoc rendering functions in an object
2015-02-05 16:26:33 +04:00
Dmitry Jemerov
2bdb222516
as a workaround for KT-4502, wrap KDoc rendering functions in an object
2015-02-05 12:44:26 +01:00
Evgeny Gerashchenko
6eead1b1a1
Merge pull request #559 from JetBrains/rr/yole/template-context-comments
...
live template context type for comments in Kotlin; disable other context...
2015-02-05 12:32:45 +04:00
Alexey Sedunov
11b60f6604
Light Classes: Delegate getUseScope() to original elements
...
#KT-6699 Fixed
2015-02-04 23:38:18 +03:00
Alexey Sedunov
25ef47a450
Change Signature: Do not render qualified names of parameter types by default
...
#KT-6725 Fixed
2015-02-04 23:38:17 +03:00
Alexey Sedunov
57763e10e0
Create from usage: make new member function/property private by default
...
#KT-6689 Fixed
2015-02-04 23:38:16 +03:00
Alexey Sedunov
eac735e91a
Change parameter type: Make parameter type nullable (instead of Nothing?) if null is passed as an argument
...
#KT-6634 Fixed
2015-02-04 23:38:14 +03:00
Alexey Sedunov
1e9f95d896
Create from usage: Place caret in the declaration body/at the identifier
...
and select function body
#KT-6613 Fixed
#KT-6688 Fixed
2015-02-04 23:38:13 +03:00
Dmitry Jemerov
26dd9a8c6a
test for live template context type; fix a couple of bugs in existing context types
2015-02-04 19:57:58 +01:00
Dmitry Jemerov
621276aafe
live template context type for comments in Kotlin; disable other contexts inside doc comments
...
#KT-6735 fixed
2015-02-04 18:37:44 +01:00
Dmitry Jemerov
3253754395
code review
2015-02-04 17:26:48 +01:00
Dmitry Jemerov
c0e7d1faf2
add references to kdoc; support resolve and rename
2015-02-04 17:26:47 +01:00
Dmitry Jemerov
40f459306a
parse qualified names in kdoc
2015-02-04 17:26:46 +01:00
Dmitry Jemerov
223882d292
correctly parse tag in the beginning of doc comment
2015-02-04 17:26:46 +01:00
Alexander Udalov
1c87464695
Change properties to methods in light class hierarchy
...
There's a Kotlin-Java-Kotlin hierarchy with an abstract property in a
superclass and its implementation (as a get-method) in the Java subclass, which
caused problems because Kotlin subclass can't have both (different symbols,
same JVM signatures)
2015-02-04 14:57:49 +03:00
Alexander Udalov
cafc1ea24d
Fix resolution of inherited Kotlin properties in Java classes
...
#KT-6720 Fixed
2015-02-04 14:57:47 +03:00
Alexander Udalov
5170ab3588
Fix Intrinsics.sanitizeStackTrace for depth > 1
2015-02-03 21:40:40 +03:00
Alexander Udalov
5c2d0c6173
Generate not-null assertions on extension receiver parameters
2015-02-03 21:40:39 +03:00