我想获得SubLime Linter插件(https://github.com/Kronuz/SublimeLinter)来识别Ruby 1.9语法.有没有人能够在SublimeText 2中使用它?
这是我当前的默认设置文件:
/*
SublimeLinter default settings
*/
{
/*
Sets the mode in which SublimeLinter runs:
true - Linting occurs in the background as you type (the default).
false - Linting only occurs when you initiate it.
"load-save" - Linting occurs only when a file is loaded and saved.
*/
"sublimelinter": true,
/*
Maps linters to executables for non-built in linters. If the executable
is not in the default system path, or on posix systems …Run Code Online (Sandbox Code Playgroud) 我喜欢Sublime text 2以及它的跨平台.你知道这个程序是用哪种语言编写的,还是使用了哪种技术?谢谢.
目前,转到行快捷方式(Windows/Linux中的CTRL + G)仅允许导航到特定行.
最好选择允许在逗号后指定列号,例如
:30,11 去第30行,第11栏
是否有任何插件或自定义脚本来实现这一目标?
我正在尝试在Sublime Text 2(版本2.0.2 Build 2221)中安装SideBarEnhancements,但它没有显示在Package Control - > Install Package - > SideBarEnhancements下.检查GitHub我发现它是ST3包,但我确信它在ST2中可用.如何在ST2上安装它?它不再可用?谢谢.
我想-std=gnu++11在Ubuntu 12.04上启用Sublime Text 3的C++单文件构建.
我已经将工具链升级到最新的g ++,并且不希望在每个构建上看到以下错误:
错误:#error此文件需要ISO C++ 2011标准的编译器和库支持.此支持目前是实验性的,必须使用-std = c ++ 11或-std = gnu ++ 11编译器选项启用.
我浏览/home/myuname/.config/sublime-text-3但找不到任何要编辑的文件.
如何编辑构建设置?
所以,我正在使用underscore.js模板,我必须将我的html模板放在脚本标签中,就像这样
<script id="contactTemplate" type="text/template">
<img src="{{ photo }}" alt="{{ name }}" />
<h1>{{ name }}<span>{{ type }}</span></h1>
<div>{{ address }}</div>
<dl>
<dt>Tel:</dt><dd>{{ tel }}</dd>
<dt>Email:</dt><dd><a href="mailto:{{ email }}">{{ email }}</a></dd>
</dl>
</script>
Run Code Online (Sandbox Code Playgroud)
但是崇高的文本2正在将内部代码作为常规js进行评估,我该如何改变呢?
提前致谢!
我正在使用fsnotify观看文件,这是一个Go库,我发现在保存文件时会触发很多事件.
为什么Sublime Text会这么做?
2013/12/17 20:46:25 event: "parser.go": MODIFY
2013/12/17 20:46:25 event: ".subl317.tmp": MODIFY
2013/12/17 20:46:25 event: "parser.go": DELETE
2013/12/17 20:46:25 event: ".subl317.tmp": DELETE
2013/12/17 20:46:25 event: "parser.go": CREATE
2013/12/17 20:46:27 event: "parser.go": MODIFY
2013/12/17 20:46:27 event: ".subl3aa.tmp": MODIFY
2013/12/17 20:46:28 event: ".subl28d.tmp": CREATE
2013/12/17 20:46:28 event: ".subl28d.tmp": MODIFY
2013/12/17 20:46:28 event: "parser.go": MODIFY
2013/12/17 20:46:28 event: ".subl3aa.tmp": MODIFY
2013/12/17 20:46:28 event: "parser.go": DELETE
2013/12/17 20:46:28 event: ".subl3aa.tmp": DELETE
Run Code Online (Sandbox Code Playgroud) 我正在使用Sublime 3编辑器.当我打开一个SCSS文件时,它会显示许多红色字符,因为它错误地判断了语法.当我按CTRL+ Shift+ P键入sass或scss我没有选择.我不得不将语法设置为CSS.
有没有办法在Sublime 3中为SCSS设置语法?
我在Ubuntu 14.04 LTS 64位上运行Sublime.我尝试使用简单脚本和手动安装方法在Sublime Text 3上安装Package Installer.
每当我尝试运行Install Package选项时,都会收到错误消息"没有可用于安装的软件包"
控制台显示以下跟踪:
Package Control: Error downloading channel. b'curl: (77) error setting certificate verify locations:\n CAfile: /usr/lib/ssl/certs/ca-certificates.crt\n CApath: /etc/ssl/certs' downloading https://sublime.wbond.net/channel.json.
error: Package Control
There are no packages available for installation
Run Code Online (Sandbox Code Playgroud)
如果我添加http://sublime.wbond.net/repositories.json为频道,安装包将开始显示包列表.但是,当我尝试安装软件包(例如Pretty JSON)时,我再次收到与安全证书相关的错误,其中包含以下控制台跟踪:
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
Package Control: Error downloading package. b'curl: (77) error setting certificate verify locations:\n CAfile: /usr/lib/ssl/certs/ca-certificates.crt\n CApath: /etc/ssl/certs' downloading https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master.
error: Package Control
Unable to download Pretty JSON. Please view the …Run Code Online (Sandbox Code Playgroud)