Source InSight context 窗口丢失的解决办法

今天早晨改改CLI,上了趟WC,回来发现不知道谁给我弄的,把context 窗口搞没了。我在菜单里面找了半天,也没找到类似视图之类的东西,害的我要看函数,必须jump到函数定义那里,看完再退回来。
就像这样 Source <wbr>InSight <wbr>context <wbr>窗口丢失的解决办法

上网搜了一下,结果只发现一个英语的文档。

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 窗口不见了,而且我找不回来。…… Source <wbr>InSight <wbr>context <wbr>窗口丢失的解决办法 翻译的好烂

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就会出现。对此我们深表歉意。
### 如何恢复 Source Insight丢失的关系窗口 当遇到 Source Insight 的关系窗口(如上下文窗口 context window 和项目文件窗口 project window消失的情况时,可以采取多种方法来尝试恢复这些窗口。 #### 方法一:通过视图菜单恢复 如果只是窗口隐藏而未损坏或移位,则可以通过查看菜单重新激活: - 进入 `View` 菜单并查找是否有选项可以直接显示缺失的面板[^2]。 ```plaintext View -> Context Window (勾选此项可使该窗口重现) View -> Project Window (同样操作以恢复此窗口) ``` 这种方法适用于那些仅仅是被最小化或是关闭掉但仍存在于应用程序内部布局中的组件。 #### 方法二:重置全局配置文件 对于更复杂的问题,可能涉及到软件本身的配置出现了异常。此时可以考虑修改或替换全局配置文件 GLOBAL.CF3 来解决问题: 1. 关闭 Source Insight; 2. 寻找存储配置文件的位置,通常是类似于 `My Documents\Source Insight\Settings` 的路径下找到名为 `GLOBAL.CF3` 的文件[^4]; 3. 将其名称改为其他名字,例如 `OLD.CF3`; 4. 启动 Source Insight 并加载之前备份好的旧版配置(`OLD.CF3`),以此方式保留除界面布局之外的所有个性化设定; 5. 加载完成后应该能看到已恢复正常状态下的各个功能区,包括所需的关系窗口. #### 方法三:利用程序自带的错误恢复特性 考虑到 Source Insight 设计有良好的错误恢复机制,在经历突发状况之后仍能较好地保持原有工作环境的一致性和连续性[^3]. 如果上述两种方案均未能成功解决问题, 可以尝试让应用自行修复潜在的数据一致性问题,从而间接达到恢复目的。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值