【发布时间】:2020-09-11 14:00:14
【问题描述】:
我在 macOS 上使用 SublimeText3 来编写我的代码。我想运行/构建一个代码,直到光标所在的当前行。 有快捷键吗?
选择从开头到当前行的所有行的快捷键也会有所帮助。我可以使用它,然后使用键绑定进行构建。
虽然下面给出的示例很短,但我打算在包含许多代码行的脚本中使用它。
.py 脚本示例:
print("a")
print("b") #keep cursor here and use key board shortcut to run all lines of code up to this line.
print("c")
【问题讨论】:
标签: sublimetext3 sublimetext sublime-text-plugin