• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Code formater lib

 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to know that is there any lib which will take code as input (input means java code as a file or string, pl/sql code as file or string) and do code formatting.

There are lot of system generated code (java,plsql, java script codes) which need to be formatted. please let me know if any lib or any way to do that

Thanks in advance.
 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shankar sanjay wrote:Hi,

I want to know that is there any lib which will take code as input (input means java code as a file or string, pl/sql code as file or string) and do code formatting.

There are lot of system generated code (java,plsql, java script codes) which need to be formatted. please let me know if any lib or any way to do that

Thanks in advance.

You can search on github or sourceforge for Java code formatter, or PL/SQL code formatter etc. There are such tools available.

However, it is quite difficult to find single tool to format different type of code (i.e. Java AND PL/SQL), you might need to work with different tools.

Moreover, if you have access to the code which generates these Java and PL/SQL files, you can make changes in generator's code.

I hope this helps.
 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

thanks for the reply. i am looking now to format plsql code using java program or any other language which can invoke from command line. please let me know if anything you have come across.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic