如何仅使用键盘在VSCode中选择代码块?

时间:2019-03-07 14:10:18

标签: visual-studio-code

在VSCode中选择代码块的最佳方法是什么?

有没有可以使用的捷径?

3 个答案:

答案 0 :(得分:0)

您可以按{ "took": 0, "timed_out": false, "_shards": { "total": 5, "successful": 5, "failed": 0 }, "hits": { "total": 3, "max_score": 1, "hits": [ { "_index": "hello", "_type": "jack", "_id": "2", "_score": 1, "_source": { "houses": [ { "address": { "city": "moscow" } }, { "address": { "city": "belgrade" } }, { "address": { "city": "Sacramento" } } ] } }, { "_index": "hello", "_type": "jack", "_id": "1", "_score": 1, "_source": { "houses": [ { "address": { "city": "NYC" } }, { "address": { "city": "PARIS" } }, { "address": { "city": "TLV" } } ] } }, { "_index": "hello", "_type": "jack", "_id": "3", "_score": 1, "_source": { "houses": [ { "address": { "city": "London" } } ] } } ] } } 并使用箭头键选择代码。

答案 1 :(得分:0)

取决于语言,已经被问过了。 Check this, works with HTML and JS

也按Ctrl + I +向上/向下箭头将选择整行。

答案 2 :(得分:0)

您现在可能已经知道了,但是您需要做的是在键盘快捷方式中搜索shift+alt+arrow映射,并交换cursorColumnSelect命令(当前映射到ctrl+shift+alt+arrow )以及当前映射到所需键的命令。

相关问题