Skip to content

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

Open
@jimjam-slam

Description

@jimjam-slam

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 😛

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions