Menu

code identing

Help
2004-04-02
2004-04-03
  • Nobody/Anonymous

    It's seems that for most languages phpcodecabinet indents the snippets by 8 spaces.  Is there any way to adjust this to a more reasonable value like 3 or 4 spaces?

     
    • Brad Fears

      Brad Fears - 2004-04-03

      Actually, it depends on how you paste the snippet into the textarea.  Some IDEs use different lengths for indentation, so it may show up differently after it's been inserted, depending on where you've pasted from.  The only character replacement that I do in phpCC is to replace the tab character with five spaces.  You can always modify that in the input.php file if you like.

      --Brad Fears

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.