sublimelinter

SublimeLinter cppcheck linter executable not found

浪子不回头ぞ 提交于 2019-12-24 01:48:40
问题 I have intalled SublimeLinter and sublimelinter-cppcheck packages to my Sublime Text 3. The problem is that sublime text is saying SublimeLinter: WARNING: cppcheck deactivated, cannot locate 'cppcheck' . i figured out that cppcheck cannot find linter executable, so I decided that I will add path to linter to my system $PATH property. But the thing is that I cannot find linter executable on my system. At first I thought that it's not installed but that I realised that it has to install with

How to configure 2 spaces instead of tabs..WIth jsHint and Sublime Linter in Sublime Text 3

▼魔方 西西 提交于 2019-12-20 04:15:53
问题 I'm trying to configure sublime linter to allow 2 spaces instead of 4 for tabs..This is my settings in SublimeLinter - Open User Settings... "linters": { "jshint": { "@disable": false, "args": [], "excludes": [] } } I want to add indent: 2 (i think). So i tried "linters": { "jshint": { "@disable": false, "args": [ {indent: 4], "excludes": [] } } But i am not sure how to insert these options because i get the error trying to parse settings: Expected value in Packages/User/SublimeLinter.sublime

SublimeLinter SCSS-Lint Not Linting?

孤者浪人 提交于 2019-12-11 11:36:20
问题 With SublimeLiner debug set to on, I see this in the console that makes it appear the linter is loaded: SublimeLinter: scss activated: /Users/bob/.rvm/gems/ruby-2.0.0-p247@rails3/bin/scss-lint scss-lint is in fact in that directory. But I see this when a .scss file is edited: SublimeLinter: scss: _layout.scss ['/Users/bob/.rvm/gems/ruby-2.0.0-p247@rails3/bin/scss-lint'] SublimeLinter: scss output: /Users/bob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in

Sublime Text 3 SublimeLinter plugin not able to find jshint

落爺英雄遲暮 提交于 2019-12-09 15:42:12
问题 For some reason, SublimeLinter3, or the SublimeLinter3 JSHint linter plugin, seems unable to parse the PATH environment variable and is thus unable to run jshint : SublimeLinter: Could not parse shell PATH output: <empty> error: SublimeLinter could not determine your shell PATH. It is unlikely that any linters will work. Please see the troubleshooting guide for info on how to debug PATH problems. SublimeLinter: WARNING: jshint deactivated, cannot locate 'jshint' Can't connect Unable to fetch

SublimeLinter with C++11

偶尔善良 提交于 2019-12-08 03:27:56
问题 I've started using Sublime Text 3 as my code editor for C++ and I installed some additional packages, two of which being SublimeLinter and SublimeLinter-contrib-clang. Everything seems to be working fine, except that it looks like there is no support for C++11 in the linter. Do you know how I could change that to work with C++11? 回答1: According to the SublimeLinter-contrib-clang troubleshooting guide, it can sometimes has issues finding the C++ standard library headers (see bullet 3). If that

Sublime Text 3 SublimeLinter plugin not able to find jshint

六眼飞鱼酱① 提交于 2019-12-04 01:56:20
For some reason, SublimeLinter3, or the SublimeLinter3 JSHint linter plugin, seems unable to parse the PATH environment variable and is thus unable to run jshint : SublimeLinter: Could not parse shell PATH output: <empty> error: SublimeLinter could not determine your shell PATH. It is unlikely that any linters will work. Please see the troubleshooting guide for info on how to debug PATH problems. SublimeLinter: WARNING: jshint deactivated, cannot locate 'jshint' Can't connect Unable to fetch update url contents The jshint binary is in the PATH , however: $ which jshint /home/path/to/bin/jshint

How to configure 2 spaces instead of tabs..WIth jsHint and Sublime Linter in Sublime Text 3

泄露秘密 提交于 2019-12-02 07:24:43
I'm trying to configure sublime linter to allow 2 spaces instead of 4 for tabs..This is my settings in SublimeLinter - Open User Settings... "linters": { "jshint": { "@disable": false, "args": [], "excludes": [] } } I want to add indent: 2 (i think). So i tried "linters": { "jshint": { "@disable": false, "args": [ {indent: 4], "excludes": [] } } But i am not sure how to insert these options because i get the error trying to parse settings: Expected value in Packages/User/SublimeLinter.sublime-settings:20:28 I assume that line 20 is the "args" line, as it's malformed. Try "linters": { "jshint":

jshint and sublimelinter settings config on mac

随声附和 提交于 2019-12-01 11:28:27
I'm trying to configure sublimelinter, specifically jshint on my Mac. On my windows version of SublimeText there is the following section in SublimeLinter.sublime-settings "jshint_options": { // To fix column positions for JSHint errors you may want to add `"indent": 1` to your // **User** "jshint_options". This issue affects users with tabs for indentation. // This fix was reverted due to a conflict with using the `"white": true` option. // "indent": 1, "evil": true, "regexdash": true, "browser": true, "wsh": true, "trailing": true, "sub": true }, When I view the file on my Mac this section

jshint and sublimelinter settings config on mac

不羁的心 提交于 2019-12-01 09:45:44
问题 I'm trying to configure sublimelinter, specifically jshint on my Mac. On my windows version of SublimeText there is the following section in SublimeLinter.sublime-settings "jshint_options": { // To fix column positions for JSHint errors you may want to add `"indent": 1` to your // **User** "jshint_options". This issue affects users with tabs for indentation. // This fix was reverted due to a conflict with using the `"white": true` option. // "indent": 1, "evil": true, "regexdash": true,

SublimeText encloses lines in white rectangles

耗尽温柔 提交于 2019-11-27 10:20:59
It's rather annoying and I can't seem to figure out why. Rob Cowie Looks like you have SublimeLinter installed. It highlights errors and warnings. If you still have a problem with those solutions suggested above (with anaconda lint): Disable linting altogether within the user-defined Anaconda settings file, Anaconda.sublime-settings, via the file menu: Sublime > Preferences > Package Settings > Anaconda > Settings – User: When it opens file, just type the following and save it away ;-) {"anaconda_linting": false} At least, it fixed my problem. Blessings (a debtor)<>< Disabling Annaconda