error_regex setup difficulty #334
-
Suppose I have the error message: drive:/path/to/file.odin(30:13) Syntax Error: Expected an operand Which I have crafted and debugged a regex string match expression (at regex101): However, if I simply supply that to error_regex directly: the Build Output window does not change, nor the jump to error feature doesn't appear to work. Restarting focus didn't appear to help. My project's config claims to be version [3] so I presume the auto-migration completed successfully. Am I doing anything wrong? Thanks Win10, Focus 0.3.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Interestingly the configuration above works only sometimes. For some reason, the first two error messages are highlighted correctly and the jump-to-error functionality works. But the last two error messages don't get special treatment. I thought at first it may be somehow due to the fact the first two error messages only have 1 additional line of text reported beneath them after a newline, but the last error message meets that criteria.
Maybe significant is where newlines are reported: (Note I'm not creating an issue from this until I know it's not PEBAC or an inconsistency with Odin's error output, tho I've never had issues regexing errors with Sublime) |
Beta Was this translation helpful? Give feedback.
@JesseRMeyer please try this executable if you're still around. It did fix the error for me but another pair of eyes would help https://drive.google.com/file/d/1PWrUZV28dsrKK1_rYm6MwodmehNRM2nr/view?usp=drive_link