SourceInsight 4.0 之二 项目文件关联
生活随笔
收集整理的這篇文章主要介紹了
SourceInsight 4.0 之二 项目文件关联
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
??之前由于對SourceInsight 4.0 進行了重復安裝卸載,或者將其關聯的項目文件不小心改成了其他的,導致后續SourceInsight 4.0 無法直接通過鼠標雙擊打開其項目文件了。
以下無效了,其安裝的信息通過注冊表無法恢復,暫時未找到方法!
??現將SourceInsight 4.0對應的注冊表鍵值導出備份,再次出現問題后,重建注冊表鍵值即可,具體如下:
; SourceInsight 4.0 在安裝后會建立以下注冊表鍵值 Windows Registry Editor Version 5.00 ; 第一個 CPP 文件 [HKEY_CLASSES_ROOT\sourceinsight.cpp_file][HKEY_CLASSES_ROOT\sourceinsight.cpp_file\shell][HKEY_CLASSES_ROOT\sourceinsight.cpp_file\shell\open] @="Open with Source Insight"[HKEY_CLASSES_ROOT\sourceinsight.cpp_file\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00 ; 第二個 CS 文件 [HKEY_CLASSES_ROOT\sourceinsight.cs_file][HKEY_CLASSES_ROOT\sourceinsight.cs_file\shell][HKEY_CLASSES_ROOT\sourceinsight.cs_file\shell\open] @="Open with Source Insight"[HKEY_CLASSES_ROOT\sourceinsight.cs_file\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第三個 CustomLanguage [HKEY_CLASSES_ROOT\sourceinsight.CustomLanguage] @="Source Insight Custom Language File"[HKEY_CLASSES_ROOT\sourceinsight.CustomLanguage\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_72A05ED2_298D_4B9E_B9A9_CD9D66E56873,0"[HKEY_CLASSES_ROOT\sourceinsight.CustomLanguage\shell][HKEY_CLASSES_ROOT\sourceinsight.CustomLanguage\shell\open][HKEY_CLASSES_ROOT\sourceinsight.CustomLanguage\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,22,00,25,00,31,00,22,00,00,00,00,\00; 第四個 CustomLanguageXml [HKEY_CLASSES_ROOT\sourceinsight.CustomLanguageXml] @="Source Insight Custom Language File"[HKEY_CLASSES_ROOT\sourceinsight.CustomLanguageXml\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_E567829E_AB99_44BE_8A48_F5A332FC0697,0"[HKEY_CLASSES_ROOT\sourceinsight.CustomLanguageXml\shell][HKEY_CLASSES_ROOT\sourceinsight.CustomLanguageXml\shell\open][HKEY_CLASSES_ROOT\sourceinsight.CustomLanguageXml\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,22,00,25,00,31,00,22,00,00,00,00,\00; 第五個 h 文件 [HKEY_CLASSES_ROOT\sourceinsight.h_file][HKEY_CLASSES_ROOT\sourceinsight.h_file\shell][HKEY_CLASSES_ROOT\sourceinsight.h_file\shell\open] @="Open with Source Insight"[HKEY_CLASSES_ROOT\sourceinsight.h_file\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第六個 hpp 文件 [HKEY_CLASSES_ROOT\sourceinsight.hpp_file][HKEY_CLASSES_ROOT\sourceinsight.hpp_file\shell][HKEY_CLASSES_ROOT\sourceinsight.hpp_file\shell\open] @="Open with Source Insight"[HKEY_CLASSES_ROOT\sourceinsight.hpp_file\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第七個 java 文件 [HKEY_CLASSES_ROOT\sourceinsight.java_file][HKEY_CLASSES_ROOT\sourceinsight.java_file\shell][HKEY_CLASSES_ROOT\sourceinsight.java_file\shell\open] @="Open with Source Insight"[HKEY_CLASSES_ROOT\sourceinsight.java_file\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第八個 Macro 文件 [HKEY_CLASSES_ROOT\sourceinsight.MacroFile] @="Source Insight Macro Script File"[HKEY_CLASSES_ROOT\sourceinsight.MacroFile\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_9BE70B6D_040F_410A_9010_8976DE373058,0"[HKEY_CLASSES_ROOT\sourceinsight.MacroFile\shell][HKEY_CLASSES_ROOT\sourceinsight.MacroFile\shell\open][HKEY_CLASSES_ROOT\sourceinsight.MacroFile\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,22,00,25,00,31,00,22,00,00,00,00,\00; 第九個 SourceInsight 4.0 的項目文件 [HKEY_CLASSES_ROOT\sourceinsight.Project] @="Source Insight Project"[HKEY_CLASSES_ROOT\sourceinsight.Project\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_293716B6_CD18_492E_8E91_7FEEAB26D12E,0"[HKEY_CLASSES_ROOT\sourceinsight.Project\shell][HKEY_CLASSES_ROOT\sourceinsight.Project\shell\open] @="Open Source Insight Project"[HKEY_CLASSES_ROOT\sourceinsight.Project\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -p \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,70,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第十個 SourceInsight 4.0 的搜索結果文件 [HKEY_CLASSES_ROOT\sourceinsight.SearchResults] @="Source Insight Search Results"[HKEY_CLASSES_ROOT\sourceinsight.SearchResults\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_423004F0_0A47_42F5_979E_B869E8D71FF7,0"[HKEY_CLASSES_ROOT\sourceinsight.SearchResults\shell][HKEY_CLASSES_ROOT\sourceinsight.SearchResults\shell\open][HKEY_CLASSES_ROOT\sourceinsight.SearchResults\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00; 第十一個 SourceInsight 4.0 的TokenMacro [HKEY_CLASSES_ROOT\sourceinsight.TokenMacro] @="Source Insight Token Macro File"[HKEY_CLASSES_ROOT\sourceinsight.TokenMacro\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_ABE68187_AECB_445D_9767_250B0C748ABE,0"[HKEY_CLASSES_ROOT\sourceinsight.TokenMacro\shell][HKEY_CLASSES_ROOT\sourceinsight.TokenMacro\shell\open][HKEY_CLASSES_ROOT\sourceinsight.TokenMacro\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,00,00,00,00; 第十二個 SourceInsight 4.0 的Workspace [HKEY_CLASSES_ROOT\sourceinsight.Workspace] @="Source Insight Workspace File"[HKEY_CLASSES_ROOT\sourceinsight.Workspace\DefaultIcon] @="C:\\Windows\\Installer\\{668D0BC0-F422-4A2B-98EC-0E3CEAC88CFA}\\_5D08A131_3B81_4C95_8EAD_30D670EEBBFE,0"[HKEY_CLASSES_ROOT\sourceinsight.Workspace\shell][HKEY_CLASSES_ROOT\sourceinsight.Workspace\shell\open] @="Open Source Insight Workspace"[HKEY_CLASSES_ROOT\sourceinsight.Workspace\shell\open\command] @="\"D:\\Program Files (x86)\\Source Insight 4.0\\sourceinsight4.exe\" -i \"%1\"" "command"=hex(7):39,00,35,00,59,00,7a,00,48,00,60,00,55,00,40,00,70,00,3f,00,\4d,00,67,00,66,00,41,00,37,00,64,00,54,00,68,00,54,00,79,00,3e,00,7b,00,7b,\00,69,00,5b,00,2e,00,53,00,69,00,4d,00,43,00,40,00,59,00,5e,00,46,00,38,00,\35,00,47,00,7b,00,6a,00,33,00,71,00,20,00,2d,00,69,00,20,00,22,00,25,00,31,\00,22,00,00,00,00,00注意修改以上文件中的路徑,最后保存為.reg文件,直接雙擊即可!
總結
以上是生活随笔為你收集整理的SourceInsight 4.0 之二 项目文件关联的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SourceInsight 4.0 之一
- 下一篇: 常用 BUG 解决方法