简体   繁体   English

如何停止quokka在vs代码中观看文件?

[英]How to stop quokka watching a file in vs code?

I cannot stop quokka from executing a file.我无法阻止 quokka 执行文件。 I'm using windows and vs code.我正在使用 windows 和 vs 代码。 The command from the documentation do not work.文档中的命令不起作用。 What is the command to stop quokka?停止短尾矮袋鼠的命令是什么?

To start/restart Quokka on an existing file, use Cmd/Ctrl + K, Q.

Try using Cmd/Ctrl + K, E instead to stop it, Q will keep restarting it尝试使用 Cmd/Ctrl + K, E 来停止它,Q 将继续重新启动它

Update: If that doesn't work, press Cmd/Ctrl + Shift + P (Or go to View and click Command Palette), search Quokka for a list of all commands.更新:如果这不起作用,请按 Cmd/Ctrl + Shift + P(或 go 查看并单击命令面板),搜索 Quokka 以获取所有命令的列表。 One of those should be "Stop Current".其中之一应该是“停止电流”。 Use that to stop Quokka on a particular file.使用它在特定文件上停止 Quokka。 There's also the "Stop All" option if you want to get rid of all Quokka instances.如果您想摆脱所有 Quokka 实例,还有“全部停止”选项。

Recommended action is to click the gear icon to the right on hover and set shortcuts for the commands you'd use most frequently.建议的操作是单击 hover 右侧的齿轮图标,并为您最常用的命令设置快捷方式。 My "Stop Current" command is set to this by default I think - Cmd/Ctrl + K, E我认为我的“停止当前”命令默认设置为此 - Cmd/Ctrl + K, E

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM