quarto-dev / quarto-dev/quarto

Add an option to set preview port for VS Code extension

Open
#439 1 comment 8 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

I haven't been able to make use of these options to set the default preview port in VS Code... It doesn't seem that quarto in VS Code actually uses them (I could be misconfiguring something).

The extension currently uses the randomly chosen port system which quickly fills up the port menu with a bunch of dead ports upon subsequent reopening of the project, it would be nice to be able to set a default preview port through a setting such as quarto.defaultPreviewPort.

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 by locating the VS Code extension's preview-port handling and compare it with the linked Quarto preview options. Done means users can configure a default preview port through a setting such as quarto.defaultPreviewPort and the extension uses that value instead of always choosing randomly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.