Join Slack
Powered by
Hi, does anyone knows how to count `object`, `enum...
# announcements
l
louiscad
11/06/2017, 2:08 PM
Hi, does anyone knows how to count
object
,
enum
and other Kotlin keywords if possible in a project? I'm looking for an OS agnostic way to count them if possible as I work on macOS and Windows 10
d
dragas
11/06/2017, 4:52 PM
As far as I know windows 10 can run bash now, so you could look into
https://unix.stackexchange.com/questions/2244/how-do-i-count-the-number-of-occurrences-of-a-word-in-a-text-file-with-the-comma
dragas
11/06/2017, 4:53 PM
Or write a gradle plugin that scraps your project for them.
Open in Slack
Previous
Next