question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit in your Editor doesn't work on Windows

See original GitHub issue

I 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): image

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:closed
  • Created 3 years ago
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
hamishwilleecommented, Dec 2, 2022

@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.

1reaction
hamishwilleecommented, Dec 24, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found