如何在Visual Studio 2017中将Ctrl + C更改为复制Word,而不是整行

时间:2019-05-01 20:00:20

标签: visual-studio visual-studio-2017 visual-studio-2019

这个问题类似于Disabling single line copy in Visual Studio,除了如果没有选择任何内容,我想将其更改为仅复制光标所在的单词。如果是空格,请确保我不在乎复制行,但是99%的人正试图复制一个单词,而不是行吗?

1 个答案:

答案 0 :(得分:3)

要复制插入符号所在的单词,可以为以下Visual Commander(由我开发)命令(语言C#)分配快捷方式:

<table border="4">
  <tr>
    <th>Company</th>
    <th>Location</th>
    <th>Dates Employed</th>
    <th>Title/Duties</th>
  </tr>
  <tr>
    <td>Mercury Systems</td>
    <td>Hudson, NH</td>
    <td>May 20, 2019 - <br>Current</td>
    <td>Continous<br> Improvement<br> Intern</td>
  </tr>
  <tr>
    <td>Manchester<br> Public Schools</td>
    <td>Manchester, NH</td>
    <td>January 2017 - <br>August 2018</td>
    <td>Para-Professional</td>
  </tr>
  <tr>
    <td>Penobscot<br>Indian Island</td>
    <td>Old Town, ME</td>
    <td>November 2015 - <br>January 2017</td>
    <td>Youth Program<br>Coordinator</td>
  </tr>
</table>