How to make Notepad++ use proxy with username and password?
Solution 1:
Notepad++ uses Generic Updater for win32 (it's free).
The updater is located here: C:\Program Files (x86)\Notepad++\updater
Assuming you've used default installation path and running 64-bit windows and notepad++ 32-bit. If not look try here as well: C:\Program Files\Notepad++\updater\
What you need to do is start command line (e.g. Start->run->cmd OR Start->(search programs and files)->command) as administrator and execute the following lines:
1. cd /d C:\Program Files (x86)\Notepad++\updater
2. gup -options
This will bring up proxy settings dialog where you can enter your proxy address.
Solution 2:
Notepad++ has added Set Updater proxy...
command to the ?
menu for setting the proxy of updater since v6.3.1
.
Please refer to NotePad++ v6.3.1 Change Log.
Solution 3:
After I completed the steps bellow, I was able to update the Plugin Manager and install new plugins like XML Tools:
-
Go to Plugins > Plugin Manager > Show Plugin Manager
-
Click on Settings.
-
Fill in the Proxy address and port - with your data
Solution 4:
Since it appears to be using curl, I tried setting the http_proxy
environment variable and that seemed to work as well. I set it to something like
http://username:[email protected]:port/
Might be more compatible, central, and obvious than Generic Updater's internal config.
Note, curl also uses https_proxy
and ftp_proxy
environment variables. Doesn't appear to be needed for current versions of notepad++, but if you're setting one, you may want to set the others for future proofing (HTTPS is probably more important than FTP).