Removing comments from original source

#1
by fasterinnerlooper - opened

Hi,

I was wondering if it's possible to remove all comments from the original source? I know that it's good to keep comments in but the problem here is that the format is all one long string of text, so when the original code might have looked like this:

// comment
public void methodname() {}

after concatenating all of the lines into one long line, now the code looks like this:

//comment public void methodname() {}

thus making it very hard to determine where the end of the comment begins and the signature of the method starts.

Sign up or log in to comment