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

Add CSV output format to crystal tool unreachable #13926

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Oct 31, 2023

The CSV format makes it easy to use the output for data analysis.

Example output:

name,file,line,column,length,annotations
top-level foo,.test/foobar.cr,1,1,3,
top-level foo,.test/foobar.cr,7,1,3,"@[Deprecated(""You should use `bar`"")] @[Experimental]"
top-level bar,.test/foobar.cr,13,1,3,"@[Deprecated(""You should use `foo`\nreally!"")]"
Foo#foo,.test/foobar.cr,24,3,2,
Foo.foo,.test/foobar.cr,30,3,2,
top-level foo_yield,.test/foobar.cr,40,1,3,
top-level foo_proc,.test/foobar.cr,50,1,3,
"FooG(G, H)#foo",.test/foobar.cr,69,3,2,

@straight-shoota straight-shoota marked this pull request as ready for review November 5, 2023 18:17
@straight-shoota straight-shoota added this to the 1.11.0 milestone Nov 9, 2023
@straight-shoota straight-shoota merged commit be2bff2 into crystal-lang:master Nov 10, 2023
54 of 55 checks passed
@straight-shoota straight-shoota deleted the feat/unreachable-csv branch November 10, 2023 10:23
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants