当我输入快速换档序列时,VS Code可以输入文本吗? [英] Can VS Code input text when I type a rapid shift shift sequence?
问题描述
因此,我的新键盘没有管道键,而且我经常使用它(我现在正在学习灵丹妙药).我知道 alt + 124
会生成 |
,但是每次我要在长生不老药上使用 |>
时键入它有点烦人
So, my new keyboard doesn't have the pipe key, and I use it frequently (I'm learning elixir right now). I know that alt + 124
produces |
, but it is a bit annoying to type it every time I want to use |>
on elixir.
是否可以配置快捷方式(例如shift shift之类的东西)以在编辑器中插入 |>
?
Is it possible to configure a shortcut (thought about something like shift shift) to insert |>
in the editor?
推荐答案
Microsoft有自己的工具来创建自定义布局.
Microsoft has its own tool to create custom layouts.
这是从 MakeUseOf
- 打开Microsoft键盘布局创建器应用程序.
- 转到文件>加载现有键盘.
- 选择要自定义的布局.您应确保选择与当前键盘设置匹配的布局,例如, QWERTY(美国).
- 转到文件>将源文件另存为,以便在进行更改之前先进行备份.
- 在 Project>中设置新键盘的参数.属性.您可以选择一种语言,并为键盘命名和描述.
- 单击一个键,然后按照屏幕上的提示将其重新映射到您选择的字符.
- Open the Microsoft Keyboard Layout Creator app.
- Head to File > Load Existing Keyboard.
- Pick the layout you want to customize. You should make sure you pick the layout that matches your current keyboard setup, for example, QWERTY (U.S.).
- Go to File > Save Source File As so you have a backup before you start making changes.
- Set your new keyboard’s parameters in Project > Properties. You can pick a language and give the keyboard a name and description.
- Click on a key and follow the on-screen prompt to remap it to a character of your choosing.
无法将控制键组合分配给输入字母,AFAIK.只需将其设置为 Shift + 东西 或到任意第三级密钥即可.顺便说一句,我很确定您当前的第3级已经有了,要测试它,请按正确的 Alt (也称为 AltGr )并按所有字母数字键.
Assigning control keys combinations to input letters is not possible, AFAIK. Just set it so Shift+Something or to any 3rd level key. BTW, I am pretty sure your current 3rd level already has a pipe, to test it press the right Alt (also called AltGr) and press all the alphanumeric keys.
这篇关于当我输入快速换档序列时,VS Code可以输入文本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!