Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

setting an external editor for the view_source options

more 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

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

Toutes les réponses (2)

more options

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);}

more options

I have this:

view_source.editor.path => C:\\Program Files\\Notepad++\\notepad++.exe