slynch8 / 10x

10x IDE/Editor
190 stars 35 forks source link

error line parsing #1564

Open arnaud-carre opened 1 year ago

arnaud-carre commented 1 year ago

This is not a bug report but more a feature request. I know you can configure a lot of things in 10x using regex parsing. I saw you recently improved the error line parsing for GCC.

Is it possible to have a configurable line parsing expression, to be able to parse error line from various tools? I'm thinking about VASM. Right now 10x doesn't catch error with that kind of output:

"error 1 in line 599 of "greetings.asm": illegal operand types"

That would be awesome! :)

batyrmuhadov commented 10 months ago

how did you set it up with GCC? everything what I tried didn't work

slynch8 commented 10 months ago

It should work with GGC out of the box. If not send me an example of the output that isn't parsing.

You can use these settings to set custom regex for the parser:

image

batyrmuhadov commented 10 months ago

Idk I am using GCC and LLVM, but out of the box I couldn't even build or debug my projects. If there any guidance how to set it up I would be very grateful