• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Code formater lib

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Paddy spent all of his days in the O'Furniture back yard with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic