JackJones's avatar

PSR Standards (Sublime)

I've searched on Google for the last 4 hours, and still can't find a consensus

I would like functionality (that probably doesn't exist) in Sublime 3, where I can hit a shortcut, my text is formatted in PSR, and my comments especially above methods are formatted into PSR

My questions are:

  1. What is the correct format for comments above methods (@param, @method etc.) Preferably a PSR standard
  2. Is there a sublime package that will sort everything for me? Can I just hit a key and have all of this taken care of?
  3. I'm using DocBlockr in Sublime Text 3, but it doesn't specify param variable names, is that OK?
  4. Can it automatically put my methods in alphabetical order?

Thanks Lee

0 likes
1 reply

Please or to participate in this conversation.