quarto-dev / quarto-dev/quarto

VS Code Extension: Drop `.qmd` from text selection when saving a document created with Quarto: New Quarto Document

Open
#360 0 comments 0 reactions 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

Minor annoyance, but when I save a document created with "Quarto: New Document" the default selection for editing the filename includes the extension .qmd:

Screenshot 2024-01-23 at 1 03 45 PM

It's very unlikely I'd use any other extension so perhaps it could be dropped from the selection like the .R when I create a file via "R: New R File":

Screenshot 2024-01-23 at 1 03 34 PM

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

Start at the VS Code extension entry point for the "Quarto: New Document" command and trace how the new filename is selected when the document is saved. Compare its behavior with the referenced "R: New R File" flow; done means the default selection excludes .qmd while retaining the filename.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.