Rishi 的个人资料Coffee ..Technology.. an...日志列表网络 工具 帮助

日志


    Cycle through Clipboard when using Visual Studio Editor

    Have you wondered what does below option at ‘Tools->Options->Text Editor->All Language’ means ?

    image

    This is an example of how thoughtful folks at Visual Studio are. Many a times when I copy a text and try to paste it on a blank line, rather than selecting Ctrl +P , I by mistake select Ctrl+C. This wipes out my copied line and I again need to go back for copy . That’s annoyance.

    Now go the the above location and uncheck the checkbox as below.

     image

    This disables my ability to accidently copy a blank line. So when try Ctrl+C it does not copy the line to clipboard if the cursor is at a blank line.This makes Ctrl+V always paste the selection I copied earlier. That’s cool.

    Copy[Ctrl C] and paste [Ctrl V] comes to Visual Studio developers as naturally as breathing to humankind.

    Rather than using Copy[Ctrl C] and paste [Ctrl V] in pairs, developers can  store multiple cut/copy segments in the memory and use Ctrl+Shift+V to cycle through them.

    To try this, simply select texts in editor and continue to copy your selections using Ctrl C. You can copy up to 20 selections at a time.

    Now point your cursor where you want to insert these selections and select Ctrl+Shift+V. Keep hitting ‘V’ key to cycle through the list of all the selections you have.Hit enter and your selected selection will be pasted where cursor is located.

    Having learned this you can argue that you can use Ctrl+Shift+V to cycle through and paste your selection rather then enabling the option provided by Visual Studio.That’s true, but why press another key when Visual Studio has already  done the job for you. Well , I will not !!!

    评论

    请稍候...
    很抱歉,您输入的评论太长。请缩短您的评论。
    您没有输入任何内容,请重试。
    很抱歉,我们当前无法添加您的评论。请稍后重试。
    若要添加评论,需要您的家长授予您相应权限。请求权限
    您的家长禁用了评论功能。
    很抱歉,我们当前无法删除您的评论。请稍后重试。
    您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
    因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
    完成下面的安全检查,您提供评论的过程才能完成。
    您在安全检查中键入的字符必须与图片或音频中的字符一致。

    若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


    还没有 Windows Live ID 吗?请注册

    引用通告

    此日志的引用通告 URL 是:
    http://geekz.spaces.live.com/blog/cns!D67EC96B5C377797!204.trak
    引用此项的网络日志