You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
This wonderful Atom package is running my C++ build script (a batch file calling MSVC) to build a project.
However, I'm unable to click on errors in the output console (panel), due to MSVC's output formatting for filenames not following any of the available RegEx(?) patterns. MSVC's output for errors is formatted like so (for example): C:\Path\To\File\SomeFile.cpp(43): error message
where 43 is the line number.
Additionally, I have the output going to a Panel, however said panel does not auto scroll (even with scroll lock disabled). Not sure if I'm missing something obvious or this is just a feature that isn't implemented, but what I do know is that it would be really useful, since the build script outputs a lot of text and it's the text right at the end that's the most important.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply. I've determined that there is actually a bug that is causing the wrong regular expression to be used on Windows, which prevents the path from being detected. I'll fix this soon and then that path should be detectable.
I've deployed the fix. The path should now be detected.
To recognize the line number in your example you can configure the pattern : (path)\((line)\)
Notice how the round brackets around the line number are escaped with \( and \) so that they can be detected as well.
Then in the command's configuration, move that pattern to the top of the list :
Hi!
This wonderful Atom package is running my C++ build script (a batch file calling MSVC) to build a project.
However, I'm unable to click on errors in the output console (panel), due to MSVC's output formatting for filenames not following any of the available RegEx(?) patterns. MSVC's output for errors is formatted like so (for example):
C:\Path\To\File\SomeFile.cpp(43): error message
where 43 is the line number.
Additionally, I have the output going to a Panel, however said panel does not auto scroll (even with scroll lock disabled). Not sure if I'm missing something obvious or this is just a feature that isn't implemented, but what I do know is that it would be really useful, since the build script outputs a lot of text and it's the text right at the end that's the most important.
The text was updated successfully, but these errors were encountered: