# When I run one cell, there are multiple executions

**URL:** <https://discourse.jupyter.org/t/when-i-run-one-cell-there-are-multiple-executions/26541>\
**Category:** JupyterLab\
**Tags:** help-wanted\
**Created:** [June 26, 2024, 6:36am UTC](https://discourse.jupyter.org/t/when-i-run-one-cell-there-are-multiple-executions/26541 "2024-06-26T06:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dotalocus](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/dotalocus/32/13845_2.png) [@dotalocus](https://discourse.jupyter.org/u/dotalocus)\
**Post date:** [June 26, 2024, 6:36am UTC](https://discourse.jupyter.org/t/when-i-run-one-cell-there-are-multiple-executions/26541/1 "2024-06-26T06:36:38Z")

</div>

When I run one cell, it has multiple executions as shown in the image (hopefully it’s correctly uploaded)

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/1/13990d2cfe9bc58c68b00e6a625ed2de9e87c264.png)

Another problem is that it always recommend/autofill random things:  
e.g. when I input “:”, it will recommend me with all the functions, and when I press enter, it will autofill, make it “:abs”. This is kind of irritating. Is there a way to fix this (more particularly stop the autofill after “:”, but keep autofill when I input variable names etc.).

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![dotalocus](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/dotalocus/32/13845_2.png) [@dotalocus](https://discourse.jupyter.org/u/dotalocus)\
**Post date:** [June 26, 2024, 6:37am UTC](https://discourse.jupyter.org/t/when-i-run-one-cell-there-are-multiple-executions/26541/2 "2024-06-26T06:37:25Z")

</div>

![image](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/1/1d146f24c1de9cd604871a531c982a4795cd0dde.png)  
A picture for the second problem. As a new user I can only attach one picture per post.

---

<div class="post-metadata">

**Author:** ![krassowski](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/krassowski/32/1685_2.png) [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Post date:** [June 26, 2024, 5:44pm UTC](https://discourse.jupyter.org/t/when-i-run-one-cell-there-are-multiple-executions/26541/3 "2024-06-26T17:44:15Z")

</div>

> [@dotalocus](#):
>
> Another problem is that it always recommend/autofill random things:  
> e.g. when I input “:”, it will recommend me with all the functions, and when I press enter, it will autofill, make it “:abs”. This is kind of irritating. Is there a way to fix this (more particularly stop the autofill after “:”, but keep autofill when I input variable names etc.).

This is due to [Poor default autocompletion heuristics · Issue #15013 · jupyterlab/jupyterlab · GitHub](https://github.com/jupyterlab/jupyterlab/issues/15013) - you can upvote the issue/leave a comment there. You can install [GitHub - jupyter-lsp/jupyterlab-lsp: Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol](https://github.com/jupyter-lsp/jupyterlab-lsp) which has much better heuristics for autocompletion but mind you you need to enable it in two settings panels.
