language-ruby icon indicating copy to clipboard operation
language-ruby copied to clipboard

Add support for csvbuilder extensions

Open adamrunner opened this issue 7 years ago • 3 comments

Description of the Change

We use the .csvbuilder file type for generating CSVs, they're just Ruby code. This adds the extension to the language-ruby library for enabling syntax highlighting on those files by default.

Alternate Designs

N/A

Benefits

.csvbuilder files will display with Ruby syntax highlighting by default.

Possible Drawbacks

If someone uses the .csvbuilder extension for a file used in a different language; they'll have odd syntax highlighting.

Applicable Issues

N/A

Tests

I didn't see any information about testing language packages; if I didn't look hard enough or am missing something - I'd be happy to write tests for this change (but don't really feel that it is warranted in this case).

adamrunner avatar May 24 '18 18:05 adamrunner

Description of the Change

We use the .csvbuilder file type for generating CSVs, they're just Ruby code. This adds the extension to the language-ruby library for enabling syntax highlighting on those files by default.

Alternate Designs

N/A

Benefits

.csvbuilder files will display with Ruby syntax highlighting by default.

Possible Drawbacks

If someone uses the .csvbuilder extension for a file used in a different language; they'll have odd syntax highlighting.

Applicable Issues

N/A

Tests

I didn't see any information about testing language packages; if I didn't look hard enough or am missing something - I'd be happy to write tests for this change (but don't really feel that it is warranted in this case).

martin0018 avatar Nov 29 '22 02:11 martin0018

Si

martin0018 avatar Nov 29 '22 02:11 martin0018