Home Download Buy Blog Forum Support

Auto-Indent Issue In Dev 2178

Auto-Indent Issue In Dev 2178

Postby utotwel on Fri Feb 17, 2012 3:31 am

I'm still running into a minor, but annoying auto-indent issue in build 2178 in PHP. When using the "doc block" snippet (/** [tab]) to document functions, the doc block is created correctly and with the correct indention, but when I press enter, the cursor is not placed under the asterisks, but rather under the slash, so you would end up with something like this:

Code: Select all
<?php

class Something {

   /**
    * Do stuff.
   *  This asterisk is under the slash, when it should be under the "Do Stuff" asterisk.
    */
   public function do_work()
   {

   }

}


This was not the case in previous dev builds (2171 for sure). It is slightly annoying as I have to keep adding a space to get the asterisk in the correct location. Thanks for all of your hard work on ST!
utotwel
 
Posts: 19
Joined: Fri Dec 31, 2010 4:46 am

Re: Auto-Indent Issue In Dev 2178

Postby spadgos on Fri Feb 17, 2012 9:17 am

(not so subtle self-plug): You could use the DocBlockr plugin https://github.com/spadgos/sublime-jsdocs#readme
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests