Add Kotlin "Tips of the day"
Content from https://youtrack.jetbrains.com/issue/DOC-4026
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 29 KiB |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||