The Crystal Programming Language Forum

Add Crystal support to ack

ack is a grep-like code search tool written in Perl. (It is packed on Debian and Ubuntu as “ack”)

I just opened an issue to add Crystal support to it and asked to use .cr and .ecr file extensions. (For reference the extension mapping can be found here

Are there any other extensions that should be added? Should ack recognize files as Crystal-lang files based on the first row in the file?

5 Likes