I just started learning c# on vs 2008.
我刚开始学习c#on vs 2008。
I found key combiations for
我找到了关键的组合
- select current word
- delete current line
选择当前单词
删除当前行
is there a key combination to select current line?
是否有选择当前线的组合键?
3 个解决方案
#1
You can also press CTRL+C to copy the whole line the cursor is currently in. You will not see a selection bar, but the entire line is copied to the clibboard. Then you can press CTRL+V to paste it anywhere you like.
您也可以按CTRL + C复制光标当前所在的整行。您将看不到选择栏,但整行都被复制到clibboard。然后,您可以按CTRL + V将其粘贴到您喜欢的任何位置。
EDIT: Make sure you don't have anything selected in the line, in that case only the selection will be copied to clipboard.
编辑:确保您没有在行中选择任何内容,在这种情况下,只有选择将被复制到剪贴板。
#2
HOME , SHIFT + END
HOME,SHIFT + END
#3
you can use ctrl + w.
你可以使用ctrl + w。
For more information you visit this user link: http://smallworkarounds.blogspot.com/2008/12/visual-studio-2008-tips-tricks-for.html
有关更多信息,请访问此用户链接:http://smallworkarounds.blogspot.com/2008/12/visual-studio-2008-tips-tricks-for.html
#1
You can also press CTRL+C to copy the whole line the cursor is currently in. You will not see a selection bar, but the entire line is copied to the clibboard. Then you can press CTRL+V to paste it anywhere you like.
您也可以按CTRL + C复制光标当前所在的整行。您将看不到选择栏,但整行都被复制到clibboard。然后,您可以按CTRL + V将其粘贴到您喜欢的任何位置。
EDIT: Make sure you don't have anything selected in the line, in that case only the selection will be copied to clipboard.
编辑:确保您没有在行中选择任何内容,在这种情况下,只有选择将被复制到剪贴板。
#2
HOME , SHIFT + END
HOME,SHIFT + END
#3
you can use ctrl + w.
你可以使用ctrl + w。
For more information you visit this user link: http://smallworkarounds.blogspot.com/2008/12/visual-studio-2008-tips-tricks-for.html
有关更多信息,请访问此用户链接:http://smallworkarounds.blogspot.com/2008/12/visual-studio-2008-tips-tricks-for.html