Togusa09 / vscode-tmlanguage

Syntax highlighting for TextMate/SublimeText laguage definitions
MIT License
55 stars 10 forks source link

Parse error reported when viewing output channels #14

Open KamasamaK opened 6 years ago

KamasamaK commented 6 years ago

This extension is causing the following errors to appear when viewing their respective channels in the Output pane:

vscode-parse-errors-output

IronGeek commented 6 years ago

I think I'm having the same issue...

When editing a regular JSON file (doesn't have to be a json-tmLanguage file), any invalid entry will add new item to the VS Code Problems pane. These newly added items however stays and does not get removed from the pane although the invalid entry has been fixed.

Here some screen captures to show what I'm talking about.

With the extension enabled: 517c1087-d4f1-43f1-a573-f6fde80df9d3

With the extension disabled: 492bcb79-ad8e-4c3b-8bce-90ed08062edc

It seems the extension is validating JSON files using its own JSON validator but fail to do a proper clean-up afterwards. Not sure why the extension needs to do this though, considering VS Code already does the same thing using its own built-in JSON validator?

jamesharris-garmin commented 5 years ago

This happens for any file supported by this plugin. I have seen this occur when editing python files as well.

tcd commented 4 years ago

This is the most annoying bug I've ever seen. I literally had to restart vscode 2 or 3 dozen times yesterday to clear errors caused by this. This is a fantastic plugin, but damn, this bug is literally the worst.

vthorsteinsson commented 4 years ago

I also have this bug, and it is pretty annoying. The tmLanguage extension seems to be attempting to parse everything, regardless of file type or file extension.

flying-sheep commented 4 years ago

Seems like there’s two bugs in here: The fact it parses everything it supports and that it doesn’t clear errors once they’re fixed. The latter is worse.

vthorsteinsson commented 4 years ago

Agree, I have the same bug. Super annoying.

szTheory commented 4 years ago

Deactivating this plugin fixed the error for me.

ghost commented 4 years ago

@KamasamaK I also faced the same issue. There is a vscode extension called TextMate Languages Which is causing these errors. You might want to uninstall that particular extension from vscode. The link I provided should show you as to what that extension is and how it looks like.

Talv commented 4 years ago

@nspeedzy You do realize you've just posted on a bugtracker of said extension? No one here has any doubts as to what the cause is. It's more of a matter who's going to fix it. Because uninstalling it certainly does not count as such.

ghost commented 4 years ago

@Talv hmm ok

reporter123 commented 4 years ago

A fix has been proposed at MR 12

canadaduane commented 4 years ago

@reporter123 Sorry, what's MR 12?

rioj7 commented 4 years ago

@canadaduane I don't know where the 12 originates from @reporter123 but Pull Request #20 has a possible solution

reporter123 commented 4 years ago

That's what I meant I have no idea how I got 12 in my head.