zoukankan      html  css  js  c++  java
  • [Tip: VS find combo box]Fun with the Visual Studio Find Combo Box

    [From MSDN Blog:http://blogs.msdn.com/shawnfa/archive/2004/02/27/81338.aspx]

    It's interesting to note all the power of the find combo box in the Visual Studio command bar (shortcut is: ctrl + /).  It's easily one of the more useful controls I've ever used, yet it just sits there all quiet and unassuming.  I've run into a lot of people who know one of two tricks that can be done in this box, so I thought I'd summarize them here.

    Of course there's the basic find functionality:

    • Find a string -- type the string and press Enter
    • Find the next occurance of the string -- press Enter again

    But then things get a little more interesting:

    • Goto a line -- type the line number and press Ctrl + G
    • Goto a file (either in your project or on the INCLUDE path) -- type the name of the file and press Ctrl + Shift + G
    • Set a breakpoint on a function -- type the name of the function and press F9
    • Get help -- type the keyword you want help on and press F1

    And my personal favorite:

    Mini command window -- If you type > as the first character in the combo box, it will turn into a mini command window, complete with Intellisense!  To get the list of alias commands, you can use > alias to get the list.

    Aliases provide a means for entering a command into the Find/Commandbox or Commandwindow by shortening the text needed to execute the command. For example, instead of entering >File.OpenFile to display the Open File dialog box, you can use the pre-defined alias >of.  To see MSDN alias list, visit here.

    Common to use:

    Open file: > of/open

  • 相关阅读:
    redis订阅发布功能
    redis基础知识
    Redis安装启动(linux系统)
    Mysql之Linux中mariadb主从复制
    nginx+vue+uwsgi+django的前后端分离项目部署
    supervisor进程管理工具
    nginx+uwsgi+django
    uwsgi模块以参数形式运行项目
    nginx之启停操作及配置文件语法检测
    nginx配置之负载均衡
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1725807.html
Copyright © 2011-2022 走看看