-
Notifications
You must be signed in to change notification settings - Fork 29
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
With VS Code extension, "Quarto: Insert Code Cell" requires user to choose language for each new chunk #425
Comments
A bit of a delayed response but FWIW, I think this is meaningfully distinct from #405. Ideally this would mean the language of each file is detected, irrespective of user profile settings, and automatically populated for all but the first cell. |
I'm bumping into this very hard right now, working on many existing |
See #539 for the direct comparison with RStudio, strongly agree we should tweak this |
Looks super easy, let me give it a shot quarto/apps/vscode/src/providers/insert.ts Lines 101 to 117 in f15c1f9
|
When using the VS Code extension, you can use "Quarto: Insert Code Cell" (such as via its keyboard shortcut) to make a new code cell/chunk. However, it requires the user to choose the language every time:
new-chunk.mov
We are hearing from users that they would prefer the RStudio behavior where making a new code chunk uses the language from the previous code chunk. It is fine to have users choose for the first chunk, but it doesn't feel great to have to keep choosing the language over and over.
The text was updated successfully, but these errors were encountered: