Skip to content
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

Configurable colcon path and install type, basic C/C++ problem matcher #31

Merged
merged 3 commits into from
Jul 26, 2021

Conversation

Felix-El
Copy link
Contributor

Hi Dmitriy,

I found this extension very useful and would like to contribute back few minor modifications which I personally required for my work.

  1. ability to pick the executable name (path) for colcon
  2. problem matcher for C/C++(might also close Colcon problem matcher #16 ?)

My use case for 1. is:
I have a Bash script in my workspace that wraps colcon, giving me a chance to generate a colcon.meta config file prior to building and to set extra --cmake-args to create compile_commands.json. Finally, I'm able to merge all compile_commands.json files into one using jq post-build to get C/C++ completion working ("IntelliSense").

All the best,
Felix

Signed-off-by: Felix Lelchuk <felix-el@users.noreply.github.com>
Signed-off-by: Felix Lelchuk <felix-el@users.noreply.github.com>
Copy link
Owner

@deitry deitry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for such nice contribution!

I have just couple of minor comments addressing configuration descriptions.

On problem matcher - #16 implies support for all platforms and compilers. I picked up patterns for msbuild/C++ on Windows based on your problem matcher (I'll introduce them after merging your PR, see ddf0db4), but also it's necessary to have pattern matching for Python before closing that issue since Python is widely used as well.

Best regards,
Dmitriy

package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Signed-off-by: Felix Lelchuk <felix-el@users.noreply.github.com>
@Felix-El
Copy link
Contributor Author

Makes sense, Dmitriy. I've just pushed these changes.

@deitry deitry merged commit 9811c9c into deitry:master Jul 26, 2021
@deitry
Copy link
Owner

deitry commented Jul 26, 2021

Thank you!

I'll push new version of extension quite soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Colcon problem matcher
2 participants