vscode-tmlanguage icon indicating copy to clipboard operation
vscode-tmlanguage copied to clipboard

Parse error reported when viewing output channels

Open KamasamaK opened this issue 7 years ago • 14 comments

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

vscode-parse-errors-output

KamasamaK avatar Dec 12 '17 01:12 KamasamaK

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?

IronGeek avatar Aug 31 '18 10:08 IronGeek

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

jamesharris-garmin avatar Oct 16 '19 16:10 jamesharris-garmin

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.

tcd avatar Dec 03 '19 18:12 tcd

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.

vthorsteinsson avatar Dec 05 '19 15:12 vthorsteinsson

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.

flying-sheep avatar Feb 19 '20 13:02 flying-sheep

Agree, I have the same bug. Super annoying.

vthorsteinsson avatar Mar 05 '20 00:03 vthorsteinsson

Deactivating this plugin fixed the error for me.

szTheory avatar Apr 29 '20 19:04 szTheory

@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.

ghost avatar Jun 07 '20 08:06 ghost

@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.

Talv avatar Jun 07 '20 16:06 Talv

@Talv hmm ok

ghost avatar Jun 08 '20 02:06 ghost

A fix has been proposed at MR 12

reporter123 avatar Oct 16 '20 02:10 reporter123

@reporter123 Sorry, what's MR 12?

canadaduane avatar Oct 16 '20 04:10 canadaduane

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

rioj7 avatar Oct 16 '20 11:10 rioj7

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

reporter123 avatar Oct 16 '20 14:10 reporter123