Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

JSON formatting does not show errors. #74

Open
krishnaghatti opened this issue Mar 29, 2017 · 6 comments
Open

JSON formatting does not show errors. #74

krishnaghatti opened this issue Mar 29, 2017 · 6 comments

Comments

@krishnaghatti
Copy link

I am using linter-jsonlint along with atom editor version 1.15.0.
For some reason I am unable to see the syntax errors as showing in the screenshot.
For instance when I open the following snippet :
{ "server": "internal.amazonaws.com", "jmx_monitor_services": [ "service1" "service2" ] "service1": { "jmx_port": "9003" }, "service2": { "jmx_port": "4010" } }

I do not see the syntax errors hi-lighted on line number 4 and 6. What am I missing. Attached is a screenshot of the editor window with the JSON snippet.

screen shot 2017-03-29 at 10 53 19 pm

@giorgiobeggiora
Copy link

same issue. did you find a solution?

@Arcanemagus
Copy link
Member

What consumer are you using? linter? atom-ide-ui?

@giorgiobeggiora
Copy link

giorgiobeggiora commented Jul 25, 2019

I'm using linter. I partially solved it installing linter-ui-default but i can't see the beautiful tooltip that i see readme of this repo. My atom-ide-ui is disabled.

@Arcanemagus
Copy link
Member

It looks like this provider is specifying ranges that are only a single character wide (probably why that screenshot shows the tooltip at the start of the line). Are you seeing results in the panel?

@giorgiobeggiora
Copy link

yes, I am

@giorgiobeggiora
Copy link

Ok, I was able to display the tooltip. It appears if i move the caret next to the red dot, or if i move the mouse cursor over the line space after the red dot. I assume this should be it's default behaviour. A bit weird, imho.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants