Automattic / Automattic/harper

The dialect picker that pops up in VS Code when clicking the indicator in the status bar always starts with "US" selected

Open
#2,667 4 comments 0 reactions 2 assignees Claimed by @LanceYing2004 View on GitHub
bug enhancement good first issue help wanted visual-studio-code-plugin
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

I recently added support for making the dialect indicator in the VS Code status bar clickable.

When you click it, a picker pops up that lets you choose a different dialect.

That all works but there is an "unpolished" quirk: The picker always starts with "US" selected instead of the current dialect of the document.

I tried to fix this yesterday but for some reason I can get very confused working on the VS Code extension in ways that my usual coding LLMs and agents are unable to help with.

It's possibly due to me using VS Code fork for my editor to work on it and I get the editor I code in and the editor that pops up for testing confused, especially when looking for debug info or trying to figure out why a change didn't work.

Another factor might be should I open the full Harper repo as the project to work on or only the VS Code directory of the repo?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.