Visual Studio代码在上方和下方选择相同的位置,而不是前后的整个线(请参阅图像)

发布于 2025-02-03 20:26:32 字数 1031 浏览 2 评论 0原文

我正在使用Visual Studio代码,并遇到一个奇怪的问题。我不确定我是怎么来这里的 - 我本可以不知不觉地不知所措。

我正在尝试选择一个短语,链接或任何跨越多行(无论是真线还是由于单词包装)的任何内容)。当我选择多条线时,它不会自动在两个点之间的开始和结尾处选择文本。相反,它只是选择该行的文本长度,然后在后续行中重复它。请参阅下面的图像以了解。

问题的图像

如您所见,我正在尝试从“ to”中选择“ to”“ to” to“ to” to“ to” “ sub”的末尾。它没有选择两者之间的所有单词,而是选择文本“乐器”,然后选择具有相同数量的字符/长度的每一行。

为了展示我的期望,我将文字粘贴到了记事本中,并做了同样的事情。

我期望的是

,如您所见,“ the”和“ sub”之间的所有单词选择。

如果有人知道如何解决此问题,我将非常感谢。

如果图像不显示,则下面是文本的副本。

Follow the instructions below for a click guide to retire and/or add 'School'.

Best practice if there is a change in 'School' structure would be to 'retire' any existing school setup that is no longer required and add the new sub school information. The reason why we don't just edit existing school names (typically) is due to leaving historical data intact.

I'm using visual studio code and run into a weird problem. I'm not sure how I got here - I could have accidently pressed a shortcut unknowingly.

I'm trying to select a phrase, link or anything that crosses multiple lines (whether the lines are true lines or due to word wrap). When I select multiple lines, it doesn't automatically select the text at the start and end between the two points. Rather, it just selects the length of text for that line and repeats it in the subsequent lines. See the image below to understand.

Image of issue

As you can see, I am trying to select the words from "the" to the end of "sub". Instead of selecting all the words between the two, it selects the text "the instru" and selects every line with the same amount of characters/length.

In order to show what I am expecting, I have pasted the text into Notepad and done the same thing.

What I am expecting

As you can see, all the words between "the" and "sub" are selected.

If anyone has any idea about how to fix this, I would be greatly appreciative.

Below is a copy of the text if the images don't display.

Follow the instructions below for a click guide to retire and/or add 'School'.

Best practice if there is a change in 'School' structure would be to 'retire' any existing school setup that is no longer required and add the new sub school information. The reason why we don't just edit existing school names (typically) is due to leaving historical data intact.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恋竹姑娘 2025-02-10 20:26:32

尝试使用Ctrl+Shift+P并输入“切换列选择模式”

“切换列选择模式”

Try using ctrl+shift+P and typing "Toggle Column Selection Mode"

Toggle Column Selection Mode

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文