windows 通过插件管理器在 Notepad++ 中配置代理设置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34629646/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Configure proxy settings in Notepad++ via Plugin Manager
提问by amo
I would like to configure proxy settings in Notepad++ to allow downloads from the internet via a proxy. After searching how to do that from the net I understand that I need to do that in the Plugin Manager, via the Settings button. When I go to Plugins>Plugin Manager>Show Plugin Manager>Settings I get the dialog box below which does not give me any option for indicating the proxy settings. How do I get to the point that I need to indicate the proxy settings?
我想在 Notepad++ 中配置代理设置,以允许通过代理从 Internet 下载。在从网上搜索如何执行此操作后,我知道我需要通过“设置”按钮在插件管理器中执行此操作。当我转到插件>插件管理器>显示插件管理器>设置时,我得到下面的对话框,其中没有给我任何指示代理设置的选项。如何达到需要指示代理设置的程度?
回答by xs6
Open cmd and type:
打开cmd并输入:
cd /d C:\Program Files (x86)\Notepad++\updater
gup -options
A dialog comes up to set the proxy settings.
出现一个对话框来设置代理设置。
回答by Jorgesys
回答by yohann.martineau
with version 7.6.6 (april 2019) (probably onwards), you can run notepad++ as admin, use menu '?' > Set Updater Proxy... close notepad++ and open it again as standard user.
使用 7.6.6 版(2019 年 4 月)(可能以后),您可以以管理员身份运行 notepad++,使用菜单“?” > 设置更新程序代理...关闭记事本++并以标准用户身份再次打开它。
回答by jith
for 32 bit installation create a file caleld gpupOptions.xml under updater folder where gpup.exe is present
对于 32 位安装,在存在 gpup.exe 的更新程序文件夹下创建一个名为 gpupOptions.xml 的文件
file content
文件内容
<GUPOptions>
<Proxy>
<server>proxy.com</server>
<port>8080</port>
</Proxy>
</GUPOptions>
回答by LYZ
If you want to set proxy for Plugin Manager, maybe you need to check this config file:
%AppData%\Notepad++\plugins\config\PluginManager.ini
There are proxy address and proxy port settings.
如果你想为插件管理器设置代理,也许你需要检查这个配置文件:
%AppData%\Notepad++\plugins\config\PluginManager.ini
有代理地址和代理端口设置。
But in my personal experience, it's not working. Not sure what goes wrong.
I'm on Plugin Manager 1.4.9.0 with Notepad++ v7.5.6 (32-bit)
但以我个人的经验,它不起作用。不知道出了什么问题。
我使用的是带有 Notepad++ v7.5.6(32 位)的插件管理器 1.4.9.0