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

VSCode: make "remembering" the language of the Insert Code Cell command configurable #562

Open
jimjam-slam opened this issue Oct 7, 2024 · 1 comment

Comments

@jimjam-slam
Copy link

Apologies for not raising this when issue #425 was discussed a few weeks ago! I understand that for most teaching contexts (probably most contexts overall, tbh), the change implemented in #540 (switching from always prompting a language to assuming the same as another, previously used code cell) is desirable and a good default.

In my case, I write a lot of mixed R/OJS Quarto docs and would appreciate the ability to restore the previous behaviour (though I don't wish to impose it on anyone else!). Having to constantly change {r} to {ojs} because I used a single R chunk at the top of the doc discourages me from using the command at all. If it's possible to make this on option that is set to the new behaviour by default, that would be fantastic!

I'd also love it if the code cell snippet had a label option pre-populated, but maybe that's being greedy 😛

@jimjam-slam
Copy link
Author

(I should note that this isn't a showstopper for me: I can simply set up snippets manually for R and OJS! But since OJS is designed to be complementary to the render-time languages, I feel like not at least having the option to switch back-and-forth discourages its use.)

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