作者:hypothesis82235 | 来源:互联网 | 2023-05-18 07:21
Iusedthatcommandbutforgothowtoturniton:我使用了那个命令,但忘记了如何打开它:Insublimeconsole,whichis
I used that command but forgot how to turn it on:
我使用了那个命令,但忘记了如何打开它:
In sublime console, which is invoked by ctrl+` I typed something like ...
在sublime console中,ctrl+ '可以调用它,我输入如下内容……
turn_on_debug_mode
... and sublime console started to log every command I run. For example, if I press right mouse button on the view and click Copy file path
then in the sublime console I found logging of this action with the name of invoked command like copy_file_path
.
…崇高控制台开始记录我运行的每个命令。例如,如果我在视图上按下鼠标右键并单击Copy file path,那么在崇高的控制台中,我找到了以调用命令的名称(如copy_file_path)记录这个动作的日志。
So that was an easy way to grab names of commands that I could use in self-written sublime plugins.
因此,这是一种获取命令名称的简单方法,我可以在自己编写的高级插件中使用这些命令。
The problem is that I do not remember how to turn that debug mode on.
问题是我不记得如何打开调试模式。
1 个解决方案