天天看點

改變ie檢視源代碼的打開方式更改IE的“檢視源代碼”打開的編輯器--notepad++

更改IE的“檢視源代碼”打開的編輯器--notepad++

1.點選“開始/運作”,輸入“regedit”,打開系統資料庫編輯器。

2.找到以下位置: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/View SourceEditor/Editor Name修改預設的資料為“D:/Program Files/notepad++/notepad++.exe”

3.切換到IE中檢視源代碼就可以看到效果了。

4.如果View Source Editor/Editor Name項沒有,可以自己建立。

5.在Internet Explorer項上,建立“項”,命名View Source Editor。

6.在View Source Editor項上,建立“項”,命名Editor Name。

7.然後輕按兩下Editor Name裡的“預設”,填入D:/Program Files/notepad++/notepad++.exe。

8.在IE裡檢視源代碼,就是用notepad++打開了,高亮需要點選“語言/H/HTML”,即可。