Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] jsonlint (Bug 420721)

Hi,

re. https://bugs.eclipse.org/bugs/show_bug.cgi?id=418940, based on https://github.com/vorburger/orion.client/compare/jsonlint, some Qs:

I guess for some internal technical reason it's normal that the initial console.log() doesn't actually show up on the Console on plug-in installation (because it runs from a iframe?), even though the console.log() from inside _computeProblems() does? I found this confusing.

Why don't I see any error markers, despite seeing console.log('jsonlint failed: ' + e); on the console? I must be doing something wrong in the problem object.. but despite having read http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.validator and tried a few variants, I can't seem to get this to work for the life of me (I don't ever get any red error markers) - help?

If such a contribution would be welcome, I (or someone else..) could make it give better error messages with fine grained location using e.g. https://github.com/arc90/jsonlintdotcom (MIT license - OK?).

How would one actually contribute this - pull request on GitHub? Gerrit (I've never used it!) ?

Best,
Michael
_______________________
Michael Vorburger
http://www.vorburger.ch

Back to the top