setting an external editor for the view_source options
Hi,
I used the refresh Firefox option yesterday and after that have been unable to configure Firefox 105.0.2 to use my favorite external editor (notepad++). My old instructions for setting this up seem not to work anymore. Are there instructions for setting the view_source options that work in current Firefox versions?
I've used notepad++ to view and edit my HTML pages in Firefox for many years. This is a really big deal for me. Thanks in advance
Dave
All Replies (2)
Where are you settings the related prefs ? On about:config you can set the path normally, if you edit prefs.js or use user.js then on Windows you need to escape a backslash (\\).
You can find these prefs on the about:config page to set what external viewer/editor to use.
- view_source.editor.args
- view_source.editor.external
- view_source.editor.path
You can paste this code in the Browser Console (Ctrl+Shift+J) to check whether the path is valid.
try { var viewSourceAppPath = Services.prefs.getComplexValue("view_source.editor.path", Ci.nsIFile); console.log(viewSourceAppPath.path) } catch (ex) {Cu.reportError(ex);}
I have this:
view_source.editor.path => C:\\Program Files\\Notepad++\\notepad++.exe