Skip to content

Commit 709148a

Browse files
hszSpace Team
authored andcommitted
LSP Example: fixed importing part
1 parent 53d3f78 commit 709148a

File tree

1 file changed

+11
-40
lines changed

1 file changed

+11
-40
lines changed

examples/lsp.ipynb

Lines changed: 11 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"metadata": {
2626
"collapsed": true,
2727
"ExecuteTime": {
28-
"end_time": "2025-08-07T11:30:51.291051Z",
29-
"start_time": "2025-08-07T11:30:50.984417Z"
28+
"end_time": "2025-08-07T11:52:31.143740Z",
29+
"start_time": "2025-08-07T11:52:30.834106Z"
3030
}
3131
},
3232
"cell_type": "code",
@@ -50,23 +50,7 @@
5050
{
5151
"metadata": {},
5252
"cell_type": "markdown",
53-
"source": [
54-
"The Language Server Protocol support is available in commercial JetBrains IDEs.\n",
55-
"To enable it, load the bundled plugin that provides this functionality.\n",
56-
"Use the `loadBundledPlugins(pluginIds)` function to load it."
57-
]
58-
},
59-
{
60-
"metadata": {
61-
"ExecuteTime": {
62-
"end_time": "2025-08-07T11:30:53.999294Z",
63-
"start_time": "2025-08-07T11:30:51.312917Z"
64-
}
65-
},
66-
"cell_type": "code",
67-
"source": "loadBundledPlugins(\"com.intellij.platform.lsp\")",
68-
"outputs": [],
69-
"execution_count": 2
53+
"source": "The Language Server Protocol support is already available out-of-the-box in commercial JetBrains IDEs."
7054
},
7155
{
7256
"metadata": {},
@@ -88,8 +72,8 @@
8872
{
8973
"metadata": {
9074
"ExecuteTime": {
91-
"end_time": "2025-08-07T11:30:54.072521Z",
92-
"start_time": "2025-08-07T11:30:54.010960Z"
75+
"end_time": "2025-08-07T11:52:34.335310Z",
76+
"start_time": "2025-08-07T11:52:34.275844Z"
9377
}
9478
},
9579
"cell_type": "code",
@@ -106,7 +90,7 @@
10690
"}"
10791
],
10892
"outputs": [],
109-
"execution_count": 3
93+
"execution_count": 2
11094
},
11195
{
11296
"metadata": {},
@@ -120,8 +104,8 @@
120104
{
121105
"metadata": {
122106
"ExecuteTime": {
123-
"end_time": "2025-08-07T11:30:54.104781Z",
124-
"start_time": "2025-08-07T11:30:54.075763Z"
107+
"end_time": "2025-08-07T11:32:07.929902Z",
108+
"start_time": "2025-08-07T11:32:07.897764Z"
125109
}
126110
},
127111
"cell_type": "code",
@@ -163,8 +147,8 @@
163147
{
164148
"metadata": {
165149
"ExecuteTime": {
166-
"end_time": "2025-08-07T11:30:54.135358Z",
167-
"start_time": "2025-08-07T11:30:54.108830Z"
150+
"end_time": "2025-08-07T11:32:07.982226Z",
151+
"start_time": "2025-08-07T11:32:07.957526Z"
168152
}
169153
},
170154
"cell_type": "code",
@@ -174,20 +158,7 @@
174158
"\n",
175159
"registerExtension(LspServerSupportProvider.EP_NAME, KotlinLspServerSupportProvider())"
176160
],
177-
"outputs": [
178-
{
179-
"data": {
180-
"text/plain": [
181-
"IntelliJ Platform integration is disposed"
182-
]
183-
},
184-
"metadata": {},
185-
"output_type": "display_data",
186-
"jetTransient": {
187-
"display_id": null
188-
}
189-
}
190-
],
161+
"outputs": [],
191162
"execution_count": 5
192163
},
193164
{

0 commit comments

Comments
 (0)