Skip to content

winget settings with no default Json editor starts "open with" dialog, not notepad.exe #916

Closed

Description

@me-and

According to doc/Settings.md:

You can configure WinGet by editing the settings.json file. Running winget settings will open the file in the default json editor, if no editor is configured, notepad.exe is used.

However, on running winget settings with no Json editor configured, rather than starting notepad.exe, I get a "How do you want to open this file?" Windows dialog popping up.

I'm filing this as a docs issue rather than a functional bug, on the grounds that the easiest solution here is to just correctly document the current behaviour; I think the documented behaviour is better than the actual behaviour, but is also presumably much more work to enable.

In case it's relevant, I'm running winget v0.3.11102 (latest release as of now) on Win10 Pro 21H1 (19043.964), and
here's a log file from one run of winget settings.

Activity

  1. added
    Issue-Docs
    on May 3, 2021
  2. ghost added
    Needs-Triage
    on May 3, 2021
  3. ghost added
    In-PR
    on May 3, 2021
  4. ghost removed
    In-PR
    on May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Docs

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions