Menu

#6 Support for smart text formatting

open
nobody
None
5
2009-09-24
2009-09-24
C Fuhrman
No

I found your editor with Google because I'm looking for a way to do Eclipse-like formatting of .pov files. That is, how to line up the { }, indenting, etc. Eclipse does this quite nicely and I am spoiled. It would be a superb feature to add to any POVRAY editor.

Discussion

  • CHARLES Thierry

    CHARLES Thierry - 2009-09-26

    Hi,
    What are you looking for ? a tool to re-indent your file(s) or a tool to completely reformat your code ? In the second case, it means that some short code like pigment { rgb <1,1,0> } will systematicaly replaced with somthing like pigment {
    rgb <1,0,0>
    }
    which takes 3 lines (or 4 if you prefer to have { on a new line) where it have no utility

     
  • Nobody/Anonymous

    Auto re-indention according to the nesting of {} is what's most useful.

    I was able to create a "user defined language" for Povray in Notepad++ and the "reindent C++ code" works just fine (even though it's not technically C++).

     

Log in to post a comment.