Skip to content

Commit 4a5a481

Browse files
feat: Kotlin notebook enabled by default (#4811)
* update: Kotlin notebook enabled by default * Andrey review
1 parent 72c96a2 commit 4a5a481

8 files changed

+54
-51
lines changed
-222 KB
Loading

docs/topics/data-analysis/data-analysis-connect-to-db.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ For a detailed example, see the [Notebook in the KotlinDataFrame SQL Examples Gi
99

1010
## Before you start
1111

12-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/?section=mac).
13-
2. Install the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) in IntelliJ IDEA.
12+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
13+
which is bundled and enabled in IntelliJ IDEA by default.
1414

15-
> Alternatively, access the Kotlin Notebook plugin from **Settings** | **Plugins** | **Marketplace** within IntelliJ IDEA.
16-
>
17-
{style="tip"}
15+
If the Kotlin Notebook features are not available, ensure the plugin is enabled. For more information,
16+
see [Set up an environment](kotlin-notebook-set-up-env.md).
1817

19-
3. Create a new Kotlin Notebook by selecting **File** | **New** | **Kotlin Notebook**.
20-
4. Ensure you have access to an SQL database, such as MariaDB or MySQL.
18+
Create a new Kotlin Notebook:
2119

20+
1. Select **File** | **New** | **Kotlin Notebook**.
21+
2. Ensure you have access to an SQL database, such as MariaDB or MySQL.
2222

2323
## Connect to database
2424

docs/topics/data-analysis/data-analysis-visualization.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ the [Kandy](https://kotlin.github.io/kandy/welcome.html) and [Kotlin DataFrame](
88

99
## Before you start
1010

11-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/?section=mac).
12-
2. Install the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) in IntelliJ IDEA.
13-
14-
> Alternatively, access the Kotlin Notebook plugin from **Settings** | **Plugins** | **Marketplace** within IntelliJ IDEA.
15-
>
16-
{style="tip"}
17-
18-
3. Create a new notebook by selecting **File** | **New** | **Kotlin Notebook**.
19-
4. In your notebook, import the Kandy and Kotlin DataFrame libraries by running the following command:
11+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
12+
which is bundled and enabled in IntelliJ IDEA by default.
13+
14+
If the Kotlin Notebook features are not available, ensure the plugin is enabled. For more information,
15+
see [Set up an environment](kotlin-notebook-set-up-env.md).
16+
17+
Create a new Kotlin Notebook:
18+
19+
1. Select **File** | **New** | **Kotlin Notebook**.
20+
2. In your notebook, import the Kandy and Kotlin DataFrame libraries by running the following command:
2021

2122
```kotlin
2223
%use kandy

docs/topics/data-analysis/data-analysis-work-with-api.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ JSON data from APIs but also assists in reshaping this data for comprehensive an
1313

1414
## Before you start
1515

16-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/?section=mac).
17-
2. Install the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) in IntelliJ IDEA.
16+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
17+
which is bundled and enabled in IntelliJ IDEA by default.
1818

19-
> Alternatively, access the Kotlin Notebook plugin from **Settings** | **Plugins** | **Marketplace** within IntelliJ IDEA.
20-
>
21-
{style="tip"}
19+
If the Kotlin Notebook features are not available, ensure the plugin is enabled. For more information,
20+
see [Set up an environment](kotlin-notebook-set-up-env.md).
2221

23-
3. Create a new Kotlin Notebook by selecting **File** | **New** | **Kotlin Notebook**.
24-
4. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
22+
Create a new Kotlin Notebook:
23+
24+
1. Select **File** | **New** | **Kotlin Notebook**.
25+
2. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
2526

2627
```kotlin
2728
%use dataframe

docs/topics/data-analysis/data-analysis-work-with-data-sources.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ In this guide, you can learn how to retrieve, refine, and handle data through mu
1313

1414
## Before you start
1515

16-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/?section=mac).
17-
2. Install the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) in IntelliJ IDEA.
16+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
17+
which is bundled and enabled in IntelliJ IDEA by default.
1818

19-
> Alternatively, access the Kotlin Notebook plugin from **Settings** | **Plugins** | **Marketplace** within IntelliJ IDEA.
20-
>
21-
{style="tip"}
19+
If the Kotlin Notebook features are not available, ensure the plugin is enabled. For more information,
20+
see [Set up an environment](kotlin-notebook-set-up-env.md).
21+
22+
Create a new Kotlin Notebook:
2223

23-
3. Create a new Kotlin Notebook by selecting **File** | **New** | **Kotlin Notebook**.
24-
4. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
24+
1. Select **File** | **New** | **Kotlin Notebook**.
25+
2. In the Kotlin Notebook, import the Kotlin DataFrame library by running the following command:
2526

2627
```kotlin
2728
%use dataframe

docs/topics/data-analysis/kotlin-notebook-set-up-env.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ Before you create your first [Kotlin Notebook](kotlin-notebook-overview.md), you
1212

1313
## Set up the environment
1414

15-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/index.html).
16-
2. In IntelliJ IDEA, select **IntelliJ IDEA | Settings | Plugins** or **File | Settings | Plugins**.
17-
3. In the **Marketplace** tab, browse the **Kotlin Notebook** plugin and install it.
15+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
16+
which is bundled and enabled in IntelliJ IDEA by default.
1817

19-
![Install Kotlin Notebook from the marketplace](kotlin-notebook-plugin.png){width=700}
18+
To use Kotlin Notebook, download and install the latest version of [IntelliJ IDEA](https://www.jetbrains.com/idea/download/index.html).
2019

21-
> Alternatively, you can download the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook)
22-
> and install it manually.
23-
>
24-
{style="note"}
20+
If the Kotlin Notebook features are not available, ensure the plugin is enabled:
2521

26-
4. Click **OK** to apply the changes and restart your IDE if prompted.
22+
1. In IntelliJ IDEA, select **IntelliJ IDEA | Settings | Plugins**.
23+
2. In the **Installed** tab, find the **Kotlin Notebook** plugin, and select the checkbox next to the plugin name.
24+
25+
![Install Kotlin Notebook](kotlin-notebook-plugin.png){width=700}
26+
27+
3. Click **OK** to apply the changes and restart your IDE if prompted.
2728

2829
## Next step
2930

docs/topics/data-analysis/lets-plot.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ the LPK and [Kotlin DataFrame](https://kotlin.github.io/dataframe/gettingstarted
1414

1515
## Before you start
1616

17-
1. Download and install the latest version of [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/?section=mac).
18-
2. Install the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) in IntelliJ IDEA.
17+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
18+
which is bundled and enabled in IntelliJ IDEA by default.
1919

20-
> Alternatively, access the Kotlin Notebook plugin from **Settings** | **Plugins** | **Marketplace** within IntelliJ IDEA.
21-
>
22-
{style="tip"}
20+
If the Kotlin Notebook features are not available, ensure the plugin is enabled. For more information,
21+
see [Set up an environment](kotlin-notebook-set-up-env.md).
2322

24-
3. Create a new notebook by selecting **File** | **New** | **Kotlin Notebook**.
25-
4. In your notebook, import the LPK and Kotlin DataFrame libraries by running the following command:
23+
Create a new Kotlin Notebook to work with Lets-Plot:
24+
25+
1. Select **File** | **New** | **Kotlin Notebook**.
26+
2. In your notebook, import the LPK and Kotlin DataFrame libraries by running the following command:
2627

2728
```kotlin
2829
%use lets-plot

docs/topics/kotlin-notebook-overview.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
[//]: # (title: Kotlin Notebook)
22

3-
[Kotlin Notebook](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook) is a dynamic plugin for IntelliJ IDEA that
4-
provides an interactive environment to create and edit notebooks, leveraging the full potential of Kotlin's capabilities.
3+
Kotlin Notebook provides an interactive environment to create and edit notebooks, leveraging the full potential of Kotlin's capabilities.
54

6-
> The Kotlin Notebook plugin requires IntelliJ IDEA Ultimate.
7-
>
8-
{style="note"}
5+
Kotlin Notebook relies on the [Kotlin Notebook plugin](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
6+
which is bundled and [enabled in IntelliJ IDEA by default](kotlin-notebook-set-up-env.md).
97

108
Get ready for a seamless coding experience where you can develop and experiment with Kotlin code, receive immediate outputs, and integrate code,
119
visuals, and text within the IntelliJ IDEA ecosystem.

0 commit comments

Comments
 (0)