quarto-dev / quarto-dev/quarto

Add `%` to autoclosing pairs

Open
#877 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

The Quarto extension provides a number of autoclosing pairs:

https://github.com/quarto-dev/quarto/blob/591b3520eafbb4da7b26b9f31aac6948801f19d8/apps/vscode/language-configuration.json#L13

In https://github.com/posit-dev/positron/issues/11110, we have @tomasrei requesting that we add % to that list, for uses in R like %in%. We do that in .R files in Positron like so:

https://github.com/posit-dev/positron/blob/d5962bb78f34e9db91be1002729bf752fddcb8aa/extensions/positron-r/language-configuration/r-language-configuration.json#L17

I think the main thing to consider is how disruptive this would be to non-R Quarto users.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare apps/vscode/language-configuration.json with extensions/positron-r/language-configuration/r-language-configuration.json, focusing on the existing autoclosing pairs. Consider how adding % would affect non-R Quarto users, then update the appropriate configuration once the intended behavior is clear. Done means the requested pair behavior is represented without disrupting other Quarto editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, vscode
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.