-
Notifications
You must be signed in to change notification settings - Fork 56
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
Haxe errors without location not added to problems view #214
Comments
Haxelibs errors don't really match the format that the Haxe problem matcher expects - there's no line numbers, no file, no character range, etc... We could add a separate This is similar to #139. |
Can't we register a problem matcher that have several rules : the highest priority rule would correctly compilation errors and the lowest priority one would catch everything else so it shows up in Problems? |
I think each problem matcher can only have one problem pattern. Also, I don't think output should by default be considered as an error, there should at least be an The bigger problem IMO is that VSCode allows you to "open" problems without a location. |
@Gama11 displaying is already good enough, even with no location, so yes from what I understand this requires a |
(and we should maybe actually reports everything that's written on stderr as errors, traces would go on stdout anyway) |
Yes, auto-generated tasks have been using the haxe problem matcher since they were introduced. It's still a bit annoying since VSCode copies the problem matchers into tasks.json when configuring a default build task. Maybe we could use the same regex for both... I don't think we have any way to distuingish stderr / stdout with problem matchers. |
Note: this also affects other Haxe error messages without file / location info, such as those you get when you're missing hxcpp with
On the plus side, they all have the |
Thanks ! :) |
When a haxelib library is missing, the compiler will print an error and exit.
These errors are not reported in "Problems", you need to go look into the build Terminal to find them, which is not the best since when you launch with F5 you are prompted to open Problems to look for errors (The preLaunch task Build has exit with error code 1 --> show errors)
The text was updated successfully, but these errors were encountered: