-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use vscode upcoming multiline messages #6
Conversation
26f732b
to
79f4133
Compare
79f4133
to
87aaf31
Compare
Multiline problem matchers made it into vscode 1.21. I have rebased this and set problematic files' path as being relative. Although, it seems that it only works when the package is built for the first time.. Could you check that? |
839fbab
to
87aaf31
Compare
Well ... making paths relative should either not work or be brittle with autoproj, since the autoproj cwd can virtually be anything (and is definitely not guaranteed to be the packages' path :() We could try the solution suggested here: https://cmake.org/pipermail/cmake/2014-March/057164.html |
Note that I don't understand how this would even work with "pure cmake" when using separate build dirs. AFAIK, one has to run within the cmake build dir, so the relative path would not resolve properly either. |
For what it's worth, I might start working on attaching whole backtraces to problems in VSCode. It bites me at every turn, whatever the language. C++ template instanciation right now is basically impossible to go through in the problem view. |
For reference, the problem matchers for C++ inclusion and template instanciation error traces: #52 |
Good point. In this case I would remove the "field" property from the pattern (or leave at as relative and just accept to have it working only "sometimes" rather than "never").
Those are a major pain. Could you get the multiline matchers to work consistently? In my tests I only got it to work once per package (which is pretty weird) |
I haven't re-tried, I really need to focus on the project stuff right now (from which a bunch of syskit and roby bugs get triggered and fixed as you have seen) |
No problem.. |
Same here ... I close this, we'll reopen when someone starts working on it again. |
I will do it... |
87aaf31
to
77da94e
Compare
There was a bug in a regex. Fixed and seems to work now.. Making the file location relative should work in most cases, AFAICT. Autoproj's cwd is not relevant, cmake always output file locations relative to the CMAKE_BINARY_DIR and vscode expands them to Since we are not doing this yet, I am leaving the file location as absolute for now... |
Built on top of #5.
This should be left here until the relevant changes in VSCode are itself merged.
Depends on: