0 Replies Latest reply on Jan 16, 2015 10:41 AM by Olafur T

    How to prevent formatting of string literals - SQL Developer 4.1 EA

    Olafur T

      Hi,

       

      Is it possible to tell the PLSQL formatter to not format text that is a string literal?  Been searching the formatting options but have not been able to find it.

       

      Example:

      I start out with this simple code:

      begin

      htp.prn('

      <div>

         <div>

            <span>

               I want this to stay with this formatting

            </span>

         </div>

      </div>

      ');

      end;

       

      After format it looks like:

      begin

         htp.prn ('

      <div>   

      <div>     

      <span>        

      I want this to stay with this formatting     

      </span>  

      </div>

      </div>

      ') ;

      end;