Partager via


Did you know... How to view Visible White Space - #003

ViewVisibleWhiteSpace

A simple, but very powerful, little feature, especially when you deal with white space as much as I did when I tested the editor.  The first time I saw one of our developers using it, I thought, “Yuck!”  But now I’m addicted, even when I’m not testing white space v. tabs.

From the Menu Bar, go to Edit – Advanced – View White Space

From the keyboard, press Ctrl+R, Ctrl+W (using the General Settings configuration)

Note: This command is only available when a file is open.  The visible white space state will persist across new files, reopening files, and, most importantly, Visual Studio sessions.

Technorati tags: VS2005Tip, VS2008Tip

Comments

  • Anonymous
    July 30, 2007
    It's also accessible with Ctrl+* (Ctrl+Shift+8 on a US keyboard), which is the same key combo that Word uses. Ctrl+* also works in VC 6.

  • Anonymous
    June 23, 2008
    Простая, но очень полезная возможность особенно, если вы имеете дело с пробелами и табуляцией так же

  • Anonymous
    July 13, 2008
    これは単純ながら非常に便利な機能です。特に、私がエディタのテストを行ったときのように、スペースを確認する必要がある場合に役立ちます。チームの開発者がこの機能を使っているのを最初に見たときは「げっ」と思いましたが、今では、スペースかタブかをテストするときでなくても、この機能から離れられなくなりました。

  • Anonymous
    November 30, 2008
    The comment has been removed

  • Anonymous
    December 08, 2008
    The comment has been removed

  • Anonymous
    March 23, 2009
    개발 중에 공백 문자를 보아야 할 필요가 있다면, Ctrl+R, Ctrl+W를 연속으로 누르면 됩니다. 위 그림처럼 공백문자를 화면에 표시할 수 있습니다. 다른 방법으로는 메뉴 ->