Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Windows: Edit in Source Mode immediately switches back to visual if header says `editor: visual`

未关闭
#1,024 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript
领域
tooling

调研方向

Reproduce on Windows with a QMD file whose YAML header sets editor: visual, then use the menu's “Edit in Source Mode” command and compare it with a header set to editor: source. Trace the source-mode command and its editor-setting handling; done means the explicit command remains in source mode despite the header setting, without breaking normal visual-mode selection.

由索引模型根据 Issue 内容生成。

描述

bug vscode
Bug description

System details:

Positron and OS details:

Positron Version: 2026.05.2 (user setup) build 3
Code - OSS Version: 1.109.2
Commit: 1b5dfba9314510340cb08f2fedccc5ffba822beb
Date: 2026-05-13T19:16:42.268Z
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Describe the issue:

My qmd has

---
title: "Vehicle In Operation + Demographics Data (VIOD/Experian) preprocessing for TEMPO model inputs"
author: "arthuryip"
format: html
editor: visual
---

at the top.

When I click the menu ... button "Edit in Source mode", it tries to switch to source mode, but then immediately goes back to visual mode.

Expected or desired behavior:

go to source mode because i clicked edit in source mode. override header setting.

Also,
after i change the header to say editor: source, then clicking Edit in Source Mode works.

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

主要语言
TypeScript
星标
652
派生
64
平均合并
8 小时 45 分钟
30 天内合并 PR
36

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/quarto 的其他 Issue

查看 quarto-dev/quarto 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。