今天早晨改改CLI,上了趟WC,回來發現不知道誰給我弄的,把context 視窗搞沒了。我在菜單裡面找了半天,也沒找到類似視圖之類的東西,害的我要看函數,必須jump到函數定義那裡,看完再退回來。
就像這樣
上網搜了一下,結果只發現一個英語的文檔。
Q: My Context Window disappeared and I can’t get it back.
A: This may be caused by a corrupted configuration file. You
will have to restart Source Insight without your configuration file.
Run Source Insight, and select Options > Save Configuration. Check to box at the top that says “All settings”. Click the Save button.
Note the directory where the Save dialog box opens. This
is the directory where your configuration file is normally stored. It will probably be in a folder such as “My Documents\Source Insight\Settings”. Just cancel the dialog without saving.
Exit Source Insight.
Go to the folder found in step#2 above, and find the file called GLOBAL.CF3.
Rename GLOBAL.CF3 to something like OLD.CF3
Run Source Insight again. All
options should be back to the defaults.
Select Options > Load Configuration. Clear
the top check box and turn on all the lower checkboxes except for “Display and Windows”. Press
the Load button and select OLD.CF3 to load. This will load all your other settings, except for the positions of the windows.
After loading OLD.CF3 (minus the “windows” settings), your Context Window should be back. We’re
sorry for the inconvenience.
Q:我的context 視窗不見了,而且我找不回來。……翻譯的好爛
A:發生這種情況,是應為Source InSight的設定檔損壞了。如果需要解決這個問題,請在沒有設定檔的情況下,重新啟動Source InSight。
1.Run Source Insight, and select Options > Save Configuration. Check to box at the top that says “All settings”. Click the Save button.
運行Source Insight,在options中選擇configuration。選中新視窗頂部的“All settings”,然後點擊save按鈕。
2.Note the directory where the Save dialog box opens. This
is the directory where your configuration file is normally stored. It will probably be in a folder such as “My Documents\Source Insight\Settings”. Just cancel the dialog without saving.
Exit Source Insight.
記住開啟的儲存對話方塊的位置,這個位置就是你通常存放設定檔的地方。比如,My Documents\Source Insight\Settings。然後退出Source Insight。
3.Go to the folder found in step#2 above, and find the file called GLOBAL.CF3.
Rename GLOBAL.CF3 to something like OLD.CF3
進入step#2中的檔案夾,裡面有一個名為GLOBAL.CF3的檔案,把他改名成為OLD.CF3
4.Run Source Insight again. All
options should be back to the defaults.
Select Options > Load Configuration. Clear
the top check box and turn on all the lower checkboxes except for “Display and Windows”. Press
the Load button and select OLD.CF3 to load. This will load all your other settings, except for the positions of the windows.
重啟Source Insight。這時候,所有的設定應當便會預設的,選擇options中的load configuration.點擊load,然後選擇OLD.CF3,點擊載入。這一步將會載入出去視窗設定以外的所有設定。
5.After loading OLD.CF3 (minus the “windows” settings), your Context Window should be back. We’re
sorry for the inconvenience.
在匯入OLD.FC3後,Context Window就會出現。對此我們深表歉意。