I have created a "build system" in Sublime Text 3 like so:
我在Sublime Text 3中创建了一个“构建系统”,如下所示:
{
"cmd": ["node", "$file"]
}
I have a file foo.js
containing two lines:
我有一个包含两行的文件foo.js:
01 console.log('foo');
02 console.log('bar');
If I highlight line 1. Can I run just that line in the build system?
如果我突出显示第1行。我可以在构建系统中运行该行吗?
1 个解决方案
#1
2
Maybe this is just what you need: http://www.sublimetext.com/forum/viewtopic.php?p=29006
也许这正是你所需要的:http://www.sublimetext.com/forum/viewtopic.php?p = 29006
The BuildParts plugin allows you to run only the selected piece of code, but now does not support multiple selections.
BuildParts插件允许您仅运行选定的代码段,但现在不支持多个选择。
#1
2
Maybe this is just what you need: http://www.sublimetext.com/forum/viewtopic.php?p=29006
也许这正是你所需要的:http://www.sublimetext.com/forum/viewtopic.php?p = 29006
The BuildParts plugin allows you to run only the selected piece of code, but now does not support multiple selections.
BuildParts插件允许您仅运行选定的代码段,但现在不支持多个选择。