Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code extension: "insert code cell" behavior from inside a code cell #382

Open
juliasilge opened this issue Feb 16, 2024 · 0 comments
Open

Comments

@juliasilge
Copy link
Collaborator

If you have a code cell like this, with your cursor on the empty line at 🌟:

```{python}
1 + 1
🌟
2 + 2
```

and you do "insert code cell", either via keyboard shortcut or the command palette, then you get this result:

```{python}
1 + 1

2 + 2
```
```{python}

```

We are finding that this is quite surprising to users and not what they want/expect. Instead they want output like what you get when taking the same action in RStudio:

```{python}
1 + 1
```


```{python}
2 + 2
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant