最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to remove error icons in Brackets - Stack Overflow

programmeradmin1浏览0评论

I cannot find any option in preferences that can hide this annoying signs. I am coding Photoshop Script and errors detection works absolutely incorrect here. Any ideas how to disable it? It appeared in new Brackets version.

I cannot find any option in preferences that can hide this annoying signs. I am coding Photoshop Script and errors detection works absolutely incorrect here. Any ideas how to disable it? It appeared in new Brackets version.

Share Improve this question asked Oct 26, 2017 at 8:59 bodichbodich 2,2151 gold badge18 silver badges53 bronze badges 3
  • What does the error-detections say? Are you sure it´s correct? – LenglBoy Commented Oct 26, 2017 at 9:01
  • LenglBoy, yes I am sure it's correct. It's say something like "File is not defined" but File is default Photoshop Script class, also say that a lot of other stuff is not defined but it was defined in another included files. Please read carefully, I need to disable this errors checking. – bodich Commented Oct 27, 2017 at 12:14
  • Same problem here – user3175133 Commented Oct 30, 2017 at 1:48
Add a comment  | 

5 Answers 5

Reset to default 11

I tried the above answer, and it I had no success. But, I did notice this little line in the brackets.json file.

"brackets-eslint.gutterMarks": true

Setting it to false did the trick for me!

EDIT:

Here are some clearer instructions.

  1. Open "Debug" menu
  2. Click on "Open Preferences File"
  3. In "brackets.json" set "brackets-eslint.gutterMarks" to false

Dude, try this one.

  1. Click the "Debug" on the menu bar.
  2. Click the "Open Preferences File".
  3. try to add "linting.enabled" to bracket.json and set it to false. just like this. "linting.enabled": false. :)

This is an updated answer to the original question after doing all the things previously suggested in the answer thread that all unfortunately failed to get rid of the annoying red x's and its probably due to being on a newer build of Brackets.

I removed them by:

File> Extension Manager...> Default > ESLint > Disable

Brackets Release 1.14 build 1.14.2-17770 (release-1.14.2 f71f00acc) build timestamp: Tue Mar 31 2020 00:50:40 GMT-0700

Open Preferences and append

"debug": false

to defaultPreferences.json. This disables debugging.

In my case, when opening the brackets.json file, the linting.enabled option was not found. Simply add it and put it in false to remove the error icons.

发布评论

评论列表(0)

  1. 暂无评论