Open hyuan opened 8 years ago
Yuck- sorry about this! It's a rather odd behavior I don't know how it could happen just yet. What linter do you have configured? I am assuming you were working on a JS file. Is that correct?
The problem happens to both JS and HTML files at least. Here is my configure file:
{
"node": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"white": true,
"predef": ["angular"]
}
After I added the following lines in brackets.json, the issue is gone:
{
...
"linting.prefer": [
"JSHint",
"JSCS"
],
"linting.usePreferredOnly": true,
...
}
Could it be a conflict between the extension and the default of JSLint?
Hmmmm, I disable the built-in JS linter to avoid wasting valuable cycles... But this at least gives me some ideas to go on. Really appreciate your research :)
It happens after I updated brackets to 1.6 .
If I save the file I can't undo the last modifications.
How to reproduce:
If I disable this extension, then the problem is gone.
Brackets Version: Release 1.5 build 1.5.0-16538 (release cf9cf4698) Brackets-InteractiveLinter Version: 1.0.5 OS: Windows 10 Other installed extensions: