Skip to content

how to remove comments from the code #6169

Answered by schalkms
heyuxiang1996 asked this question in Q&A
Discussion options

You must be logged in to vote

I guess it's better to use text manipulation (e.g. regex) and command line tools (e.g. pipes and filters) for this task.
If you want, you can also use IntelliJs structural search and replace dialogs.
Taken all together, I don't think you should detekt for this task, even though it's technically possible to filter out comments.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schalkms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants