slynch8 / 10x

10x IDE/Editor
190 stars 34 forks source link

Need visualization when code fails to parse #1530

Open forrestthewoods opened 1 year ago

forrestthewoods commented 1 year ago

The 10x parser is magic and impresses the hell out of me. However sometimes it clearly doesn't work. Sometimes it breaks and I need to re-parse. Unfortunately it's really hard for me to file bug reports because I don't have any ways of telling when it breaks or what's broken. If there was some type of visualization to let me know when 10x fails to parse code or fails to recognize code then it would be radically easier for me to file bug reports.

slynch8 commented 1 year ago

I'm on the lookout for what causes this. I'm fairly sure it's down to a bug in the reparse of edits. For example, you start typing a line of code which invalidates the next line, then when you complete the line it fails to reparse the next line. Or something like that.

The other theory I have is it's caused by editing code while the full parse is running. I need to investigate that.

It's very difficult to track down because often you only notice it's broken much later, and it's not possible to tell why it broke just from looking at what has failed to parse.

I'm hoping someone will notice a pattern as to what is causing it to break.