Edit in your Editor doesn't work on Windows
See original GitHub issueI followed the https://github.com/hamishwillee/content/blob/main/README.md setup instructions, and modified for windows. I.e. set env variable and then restart:
setx EDITOR code
The command prompt shows this warning when the button is pressed (after a “trying to open” message in the browser):
I also tried using Notepad++ (ie setx EDITOR "C:\Program Files\Notepad++\notepad++.exe"
. In this case the page opened in immediately in my default browser.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (15 by maintainers)
Top Results From Across the Web
The editing function on Word Desktop App is not working on ...
I installed the desktop app today on Windows 10. The editting function, eg- delete, undo, insert space, does not work on the app....
Read more >Fix Video Editor Missing in Windows 10 Video Editor - YouTube
Fix Video Editor Not available in Microsoft Photos App in Windows 10 Brand New laptop, Fix Video Projects Missing in Microsoft Photos App, ......
Read more >7 Ways to Fix the Windows Registry Editor When It Won't ...
1. Enable the Registry Editor Using the Local Group Policy Editor · Press Win + R to launch the Run command dialog box....
Read more >User and Workspace Settings - Visual Studio Code
The error can be as simple as a missing comma or incorrect setting value. Open the settings.json file with the Preferences: Open Settings...
Read more >Fixed: It Looks Like You Don't Have Permission to Save ...
Part 1: How Do You Fix You Don't Have Permission to Save Changes to This File · 1. Unblock the Picture · 2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@caugner I personally still use Notepad++ most of the time. Of course you’re probably right more generally.
What “bugs” me about this is that “we say you can set a preferred editor”, but what we mean is that “you can set VSCode”. If we’re only going to support VS code we should probably put the env file into the source code and be done with it.
@peterbe The option
EDITOR=code
in my .env file now works on the main branch to open VSCode.Explicitly setting the path to notepad++ or code no longer opens the file in the browser, but it doesn’t open the editor either. It appears to be trying to find the executable but not succeeding (i.e. you get the “Trying to open” message.
@SphinxKnight Thanks for your help on this too. I didn’t try the patch because the official branch is getting closer.