Add Kotlin "Tips of the day"

Content from https://youtrack.jetbrains.com/issue/DOC-4026
This commit is contained in:
Pavel V. Talanov
2016-06-21 18:38:23 +03:00
parent b750f20718
commit 0d52a20a46
26 changed files with 51 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>Kotlin is a powerful, concise and expressive language crafted by JetBrains. </p>
<p><span class="product">&productName;</span> supports it out-of-the-box.</p>
<p>To create a Kotlin file, right-click the target folder, and choose the corresponding option on the New menu:</p>
<p class="image"><img src="images/kotlin_class.png"></p>
</body>
</html>
@@ -0,0 +1,10 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>One can easily convert any Java class to the Kotlin one with the same semantics.</p>
<p>To do that, just choose <span class="control">Code | Convert Java File to Kotlin File</span> on the main menu: </p>
<p class="image"><img src="images/kotlin_convert.png"></p>
</body>
</html>
+11
View File
@@ -0,0 +1,11 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p><span class="product">&productName;</span> allows you to easily call a Java code from Kotlin:</p>
<p class="image"><img src="images/java_call_kotlin.png"></p>
<p>and vice versa:</p>
<p class="image"><img src="images/kotlin_call_java.png"></p>
</body>
</html>
+9
View File
@@ -0,0 +1,9 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p><span class="product">&productName;</span> provides two Kotlin project types: Kotlin (JVM) and Kotlin (JavaScript):</p>
<p class="image"><img src="images/kotlin_project.png"></p>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

+2
View File
@@ -1600,6 +1600,8 @@
<deadCode implementation="org.jetbrains.kotlin.idea.inspections.KotlinJUnitStaticEntryPoint"/>
</extensions>
<xi:include href="tipsAndTricks.xml" xpointer="xpointer(/idea-plugin/*)"/>
<xi:include href="extensions/ide.xml" xpointer="xpointer(/idea-plugin/*)"/>
<extensionPoints>
+8
View File
@@ -0,0 +1,8 @@
<idea-plugin version="2">
<extensions defaultExtensionNs="com.intellij">
<tipAndTrick file="Kotlin.html"/>
<tipAndTrick file="Kotlin_project.html"/>
<tipAndTrick file="Kotlin_mix.html"/>
<tipAndTrick file="Kotlin_Java_convert.html"/>
</extensions>
</idea-plugin>