Quote:
Originally Posted by RustyBrooks
I don't know what the solution is. But the problem is, your data set is completely free form, with no restrictions, and it "expects" certain types of data to be present, without any way to tell you what that is or whether it's missing. It's the nature of the beats a little bit, but it's a real problem.
In most languages that present a UI, such things just aren't really possible. You are usually manipulating some well defined data interface. It's just that the UI for JS is so strongly based on HTML that it has to be very loose/decoupled and it leads to code that depends heavily on convention.
I think it would be a fun project to make. I bet I could bang a rough version out in a night. Would you mind sending me some source code with a little write up about what would be useful? I imagine if you ran into the string -> id=" <- you could put the next chars into a string, stopping at the next -> " <-, and add that to an array of id's you have created, and throw an error if there's no other mention of the same id.
The more I think about it the more I would be surprised if no one has made this before, have you tried googling for it?
Is there no support from things like notepad++ to help with syntactical errors?