...
首页> 外文期刊>MSDN Magazine >Bring Windows Desktop Search Into Visual Studio With Our Cool Add-In
【24h】

Bring Windows Desktop Search Into Visual Studio With Our Cool Add-In

机译:通过我们的酷炫外接程序将Windows桌面搜索带入Visual Studio

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

As computer hard drives get larger, so does the amount of information you hold onto. You end up with thousands of files and e-mail messages to plow through to find just the information you need. Thankfully, Windows~® Desktop Search can help. Windows Desktop Search is very straightforward. It indexes all of your documents, files, and e-mail messages, and any other data provided to it through extensibility mechanisms. As new items are added and changes are made to existing items, they're reindexed. The UI lets you search for strings and keywords in indexed items and open any found item with the associated app. Windows Desktop Search provides an SDK that allows for its indexes and searching functionality to be consumed by other applications. As a developer, I spend a lot of time in Microsoft~® Visual Studio~®, and I spend a lot of time hunting around in my source code for material relevant to my development task at hand. For example, I'll search for other code snippets I previously authored using a particular class or e-mail conversations I had with a colleague concerning a certain collection's usage. By writing an add-in for Visual Studio that communicates with Windows Desktop Search, it's possible to construct a Dynamic Help-like tool window that uses Desktop Search to show relevant search results for the currently active text in Visual Studio. In this article, I'll show you how to build such an add-in. Download the code for this issue so you can follow along.
机译:随着计算机硬盘驱动器的变大,保存的信息量也随之增加。您最终将获得成千上万的文件和电子邮件,以查找所需的信息。幸运的是,Windows〜®Desktop Search可以提供帮助。 Windows桌面搜索非常简单。它为您的所有文档,文件和电子邮件以及通过可扩展性机制提供给它的任何其他数据编制索引。添加新项目并对现有项目进行更改后,它们将重新编制索引。用户界面可让您在索引项目中搜索字符串和关键字,并使用关联的应用打开任何找到的项目。 Windows桌面搜索提供了一个SDK,该SDK允许其索引和搜索功能供其他应用程序使用。作为开发人员,我花了大量时间在Microsoft〜®Visual Studio〜®中,并且花了大量时间在源代码中寻找与手头开发任务相关的材料。例如,我将搜索以前使用特定类编写的其他代码段或与同事就某个集合的用法进行的电子邮件对话。通过编写与Windows桌面搜索进行通信的Visual Studio加载项,可以构造一个类似于动态帮助的工具窗口,该窗口使用桌面搜索显示Visual Studio中当前活动文本的相关搜索结果。在本文中,我将向您展示如何构建这样的加载项。下载此问题的代码,以便您可以继续。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号