@@ -33,19 +33,19 @@ Can Prioritize Kernel Completions
33
33
Configure JupyterLab Plugin {"kernelCompletionsFirst": true, "kernelResponseTimeout": -1} plugin id=${COMPLETION PLUGIN ID }
34
34
Enter Cell Editor 1 line=2
35
35
Trigger Completer
36
- Completer Should Suggest %%timeit
37
- ${lsp_position } = Get Completion Item Vertical Position test
38
- ${kernel_position } = Get Completion Item Vertical Position %%timeit
39
- Should Be True ${kernel_position } < ${lsp_position }
36
+ Completer Should Suggest %%timeit
37
+ ${lsp_position } = Get Completion Item Vertical Position test
38
+ ${kernel_position } = Get Completion Item Vertical Position %%timeit
39
+ Should Be True ${kernel_position } < ${lsp_position }
40
40
41
41
Can Prioritize LSP Completions
42
42
Configure JupyterLab Plugin {"kernelCompletionsFirst": false, "kernelResponseTimeout": -1} plugin id=${COMPLETION PLUGIN ID }
43
43
Enter Cell Editor 1 line=2
44
44
Trigger Completer
45
- Completer Should Suggest %%timeit
46
- ${lsp_position } = Get Completion Item Vertical Position test
47
- ${kernel_position } = Get Completion Item Vertical Position %%timeit
48
- Should Be True ${kernel_position } > ${lsp_position }
45
+ Completer Should Suggest %%timeit
46
+ ${lsp_position } = Get Completion Item Vertical Position test
47
+ ${kernel_position } = Get Completion Item Vertical Position %%timeit
48
+ Should Be True ${kernel_position } > ${lsp_position }
49
49
50
50
Invalidates On Cell Change
51
51
Enter Cell Editor 1 line=2
@@ -272,9 +272,13 @@ Completes Large Namespaces
272
272
273
273
Shows Documentation With CompletionItem Resolve
274
274
[Setup] Prepare File for Editing R completion completion.R
275
- Place Cursor In File Editor At 8 12
275
+ Place Cursor In File Editor At 8 7
276
276
Wait Until Fully Initialized
277
277
Trigger Completer
278
+ Completer Should Suggest print.data.frame
279
+ Completer Should Include Documentation Print a data frame.
280
+ # should remain visible after typing:
281
+ Press Keys None efa
278
282
Completer Should Suggest print.default
279
283
Completer Should Include Documentation the default method of the
280
284
[Teardown] Clean Up After Working With File completion.R
@@ -317,8 +321,8 @@ Completer Should Suggest
317
321
318
322
Get Completion Item Vertical Position
319
323
[Arguments] ${text }
320
- ${position } = Get Vertical Position ${COMPLETER_BOX } .jp-Completer-item[data-value="${text } "]
321
- [Return] ${position }
324
+ ${position } = Get Vertical Position ${COMPLETER_BOX } .jp-Completer-item[data-value="${text } "]
325
+ [Return] ${position }
322
326
323
327
Completer Should Include Icon
324
328
[Arguments] ${icon }
0 commit comments