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

Support new console format starting with v5.1.225507 #206

Open
xt0rted opened this issue May 5, 2021 · 1 comment
Open

Support new console format starting with v5.1.225507 #206

xt0rted opened this issue May 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@xt0rted
Copy link
Owner

xt0rted commented May 5, 2021

In v5.1.225507 the Diagnostic Id and error/warning level was added to the report & console output, as well as fully qualified file paths. These changes break the regex currently being used.

@xt0rted xt0rted added the enhancement New feature or request label May 5, 2021
@xt0rted
Copy link
Owner Author

xt0rted commented May 5, 2021

Current proposed regex:

/^\s*(.*)\((\d+),(\d+)\):\s+(.*)\s+(.*):\s+(.*)\s+\[(.*)\]$/gm

https://regex101.com/r/rDejc6/1

Histalek added a commit to TTTReborn/tttreborn that referenced this issue Jun 24, 2021
Use an older version of dotnet-format because the newer version shows
absolute paths which breaks the 'dotnet-format-problem-matcher'. [1]

Also move the dummy .csproj file to the root of the repo so that
annotations will be created. [2]

[1] xt0rted/dotnet-format-problem-matcher#206
[2] xt0rted/dotnet-format-problem-matcher#91
Histalek added a commit to TTTReborn/tttreborn that referenced this issue Jun 24, 2021
Use an older version of dotnet-format because the newer version shows
absolute paths which breaks the 'dotnet-format-problem-matcher'. [1]

Also move the dummy .csproj file to the root of the repo so that
annotations will be created. [2]

[1] xt0rted/dotnet-format-problem-matcher#206
[2] xt0rted/dotnet-format-problem-matcher#91
Histalek added a commit to TTTReborn/tttreborn that referenced this issue Jun 24, 2021
* Setup dotnet CI
* editorconfig: Add space after cast
* Downgrade dotnet-format and move .csproj

Use an older version of dotnet-format because the newer version shows
absolute paths which breaks the 'dotnet-format-problem-matcher'. [1]

Also move the dummy .csproj file to the root of the repo so that
annotations will be created. [2]

[1] xt0rted/dotnet-format-problem-matcher#206
[2] xt0rted/dotnet-format-problem-matcher#91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant