Open settings in default code editor #8865

Closed
opened 2026-01-31 01:40:00 +00:00 by claunia · 4 comments
Owner

Originally created by @LinqLover on GitHub (Jun 6, 2020).

Description of the new feature/enhancement

Instead of using notepad, open the settings.json file in the default code editor. This could be inside the terminal: nano, vim, or whatever, or directly in Windows: VS Code, Notepad++ or whatever.

Proposed technical implementation details (optional)

Probably a new entry in the settings.json would be required to specify the path to the default editor.

Originally created by @LinqLover on GitHub (Jun 6, 2020). # Description of the new feature/enhancement Instead of using notepad, open the `settings.json` file in the default code editor. This could be inside the terminal: nano, vim, or whatever, or directly in Windows: VS Code, Notepad++ or whatever. # Proposed technical implementation details (optional) Probably a new entry in the settings.json would be required to specify the path to the default editor.
claunia added the Issue-FeatureNeeds-Tag-FixResolution-Won't-Fix labels 2026-01-31 01:40:00 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 6, 2020):

Terminal always opens in your default JSON editor. If and ONLY if that association isn’t set does it open in notepad.

I’d suggest checking your file type association settings.

@DHowett commented on GitHub (Jun 6, 2020): Terminal _always_ opens in your default JSON editor. If and ONLY if that association isn’t set does it open in notepad. I’d suggest checking your file type association settings.
Author
Owner

@LinqLover commented on GitHub (Jun 7, 2020):

I see that WT usees the default associated program at the moment, but I could imagine it would be nice if the configuration file would be opened directly in the terminal, no matter what your default JSON editor is. When I open a JSON file in Windows Explorer, notepad is great, but if I'm in a terminal context, I would like to stay there and not be redirected into another program.

@LinqLover commented on GitHub (Jun 7, 2020): I see that WT usees the default associated program at the moment, but I could imagine it would be nice if the configuration file would be opened directly in the terminal, no matter what your default JSON editor is. When I open a JSON file in Windows Explorer, notepad is great, but if I'm in a terminal context, I would like to stay there and not be redirected into another program.
Author
Owner

@DHowett commented on GitHub (Jun 7, 2020):

But terminal isn't and doesn't ship with a text editor...

Owing to that, you'll probably want #1564 for "edit settings inside the terminal."

@DHowett commented on GitHub (Jun 7, 2020): But terminal isn't and doesn't ship with a text editor... Owing to that, you'll probably want #1564 for "edit settings inside the terminal."
Author
Owner

@LinqLover commented on GitHub (Jun 7, 2020):

Ah yes, this is what I was searching for. /dup #1564, thank you.

@LinqLover commented on GitHub (Jun 7, 2020): Ah yes, this is what I was searching for. /dup #1564, thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8865