procyon icon indicating copy to clipboard operation
procyon copied to clipboard

Patch line number

Open nbauma109 opened this issue 3 years ago • 1 comments

I removed the temp file creation for the output with line numbers (-ln, --with-line-numbers) and instead I return a String in reformatFile(). This way I can re-use reformatFile() to get the output with line numbers without reading the produced file. This is what the eclipse enhanced class decompiler plugin does. If this PR is accepted, I should be able to remove these classes from the plugin:

  • LineNumberFormatter.java
  • LineNumberPrintWriter.java
  • NoRetryMetadataSystem.java

nbauma109 avatar Mar 26 '22 10:03 nbauma109

Hi @mstrobel Please help moving forward with this PR Thanks !

nbauma109 avatar Apr 02 '23 09:04 nbauma109