2017年6月14日星期三

在source insight中调用MSDN

source insight 中三个有用的帮助. 

Custom Commands 

A command is a user-level operation that Source Insight performs when you select a menu item or type a keystroke. In addition to the commands that are built into Source Insight, you can define custom commands. Custom commands are similar to shell batch files. They execute external command-line programs and Windows GUI programs. Source Insight allows custom commands to execute in the background. The output of custom commands can be captured into a file for editing, or can be pasted into the current selection. To define or edit custom commands, select Tools > Custom Commands. Once defined, a custom command is like any other command. It can be assigned to a menu or a keystroke can be assigned to it. Custom com­mands are saved in the current configuration. Custom commands are useful for launching a compilation. By having a custom command that runs the com­piler or make program, you can capture the compiler error messages and have the errors parsed and have source links pointing to the erroneous source code automatically. You can also implement a variety of text filters using custom commands. For example, you could define a Sort custom command that runs a sort filter and pastes the output back over the current selection.

HTML Help

Looks up the currently selected word in the HTML Help file. The HTML Help file is the one specified in the Setup HTML Help command

Setup HTML Help

Use this command to locate the HTML Help file on your disk that will be used by the HTML Help command. If you have Microsoft® MSDN™ or Microsoft® Developer Studio™ tools installed, you will probably want to select the compiled HTML help "collection" file that is the main help file for the developer tools. The file has a .col extension. That will allow you to invoke HTML Help on Windows development APIs from within Source Insight.


1、首先通过Setup HTML Help将MSDN的.COL文件加载到系统中.
2、通过Custom command 调用HTML help 方法就可以使用MSDN了.

但是目前这种调用方法还是不太方便,鼠标点击关键字时,并没有MSDN的提示,还得自己手动去调用HTML Help才行.

没有评论:

发表评论

WorldTimeServer Clock

New York

搜索此博客