ie设置html编辑器wps,IE 11 设置默认编辑器为 sublime text

引用:

http://iefaq.info/index.php?action=artikel&cat=24&id=164&artlang=en

IE11: set Sourcecode editor

From IE8 to IE10 setting your preferred source code editor was easy, an option was available via Developer Tools (F12). This option has been removed with IE11. IE11 also merges the two editors that have been traditionally available. There was the "Default HTML editor" (set via "Internet options, Programs", launched via "File, Edit with ...") and the "Default View Source Editor" (set via F12, launched via "View Source"). IE11 merges the two and the HTML editor you set via Internet options, Programs sets the View Source editor, too. That makes sense.

The default is Notepad. The problem starts when you want to choose a program that is not in the editor programs list for Internet options, Programs, for instance Notepad++. Once there was a simple way to add programs to this list (OpenWithList). This method doesn't seem to work anymore. I'll write more about this way once I know it works now.

The only way to set your preferred View Source editor I know of at the moment is to do it via registry. It's done in almost the same way you did that with IE7 (or Windows XP, for that matter). Set the Default value in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name to the path of your preferred program. Make sure you use the HKCU hive (for the current user) and not the HKLM hive (for the whole machine). This is the main change here (all older tutorials will mention HKLM as the hive to change). This will not put your editor in the editor Programs listbox, but it will launch your preferred View Source editor from now on.

Beware: Do not set the "HTML editor" via the Programs listbox after you set the View Source editor. This will overwrite your changes and you are at square one. As long as you stay away from the listbox the two settings will remain different.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值