Freigeben über


Did you know... How to complete a word via intellisense? - #065

Whenever you can invoke statement completion, you can also execute the Edit.CompleteWord command.  This command will complete a word that is partially complete with no other possibilities.  And if there are other multiple possibilities, the command will invoke statement completion.

In the below example, since Console.WriteL has not other possible matches other than WriteLine, pressing Ctrl+Space or Alt+Right Arrow will write out WriteLine.

Completing a word

Technorati tags: VS2005Tip, VS2008Tip

Comments

  • Anonymous
    October 18, 2007
    PingBack from http://www.artofbam.com/wordpress/?p=10500

  • Anonymous
    October 19, 2007
    Or.. just hit the "Enter" or the "Tab" key and save a keystroke! :-)

  • Anonymous
    October 19, 2007
    or better yet, just type "("

  • Anonymous
    October 22, 2007
    Interesting, I'm used to the Enter/Tab/"(" method too...

  • Anonymous
    December 09, 2008
    Кроме вызова окна завершения ввода операторов, вы можете воспользоваться командой Edit.CompleteWord .