Closed scottc-WellSky closed 1 year ago
So you need to do it like so, where I am remapping md
and yml
files as Go. Picked because that's what was in the repository I am looking at.
scc --count-as md:go,yml:go
In short, define each remap with ,
as the separator.
Makes perfect sense. I think I just misread the sample.
Is there way to use count-as
with files that don't have an extension?
So long as it matches something in scc you should be able to use the name (exact match) so
scc --count-as "Java":go
Should start counting Java as Go. Otherwise --remap-unknown
might work if you have some sort of marker in the head of the file you can use to identify it.
Thanks for the great tool and support!
@scottc-WellSky You are welcome!
Now if only I could get paid to do it too :P
Describe the bug
count-as lf:"Plain Text"
works as expectedcount-as pf:"Plain Text"
works as expectedcount-as pf,lf:"Plain Text"
works for lf, but pf reported as unknown extensioncount-as pf:"Plain Text" count-as lf:"Plain Text"
works for lf, but pf reported as unknown extensionTo Reproduce
scc
either as command line or library.scc --count-as lf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
scc --count-as pf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
scc --count-as lf,pf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
scc --count-as pf:"Plain Text" --count-as lf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
Expected behavior A clear and concise description of what you expected to happen.
scc --count-as lf,pf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
should process files with lf and pf extensions as text filesscc --count-as pf:"Plain Text" --count-as lf:"Plain Text" --verbose C:\statrepos\LTAC.Interactant.Backend\FPCSOURCE\Dictionary
should process files with lf and pf extensions as text filesDesktop (please complete the following information):