Yii Framework Forum: Yiistorm - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Yiistorm PhpStorm extension for Yii Framework Rate Topic: ***** 4 Votes

#1 User is offline   mazx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 19-July 11

Posted 04 March 2013 - 12:08 PM

*
POPULAR

Hi!

I wrote plugin for all who work with Yii in PHPStorm IDE.

Plugin provide navigation:

  • from controller (and view) to view throuth
    render("viewname")
    or
    render("//fullpath/viewname")
    and etc
    + support "themes" (press ctrl+Y to get config page) fullpath will be
    /themes/<themename>/views/controllername/viewname.php

  • from any place to widget class throuth
    $this->widget("application.components.WidgetClass")
    or just
    $this->widget("WidgetClass")
    in some places =)
  • from controller actions() method to CAction child class just click to
    "class"=>"application.full.path.to.MyCAction"

  • from MyCAction to view (throuth first controller what using this MyCAction, in plan make select from variants)
  • and over usable things




B)
5

#2 User is offline   mazx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 19-July 11

Posted 04 March 2013 - 12:10 PM

<_< can't add links to github and my site...first messages in this forum )
0

#3 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 05 March 2013 - 04:10 AM

Here we go: https://github.com/cmazx/yiistorm

TBH, I think samdark already mentioned this several times ...
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 05 March 2013 - 04:34 AM

That Samdark mentioned it several times is not a reason why the developer of the Yiistorm plugin shouldn't mention it. :)
"Less noise - more signal"
0

#5 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 05 March 2013 - 05:16 AM

Oh, I didn't intend to turn mazx down. I just thought I'd back him up a bit. That "TBH" might have been a bit misplaced :rolleyes:
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#6 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 05 March 2013 - 07:44 AM

No, I think it was the three dots ... Posted Image
"Less noise - more signal"
0

#7 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 05 March 2013 - 08:13 AM

That must be about the first time I see somebody reading something into an ellipse :blink:
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#8 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 05 March 2013 - 08:43 AM

Quote

The ellipsis calls for a slight pause in speech or any form of text, and can be used to suggest a tense or awkward momentary silence.



Anyway. I approve of the Yiistorm plugin. :)
"Less noise - more signal"
0

#9 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,788
  • Joined: 17-January 09
  • Location:Russia

Posted 06 March 2013 - 04:28 AM

I've posted about the plugin at the front page.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#10 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 06 March 2013 - 06:14 AM

Nice addon while the IDE don't implement full support to Yii framework.

Thanks a lot!
0

#11 User is offline   rAWTAZ 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 08-January 10

Posted 06 March 2013 - 10:31 AM

Great!
0

#12 User is offline   bobv 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 08-February 12

Posted 08 March 2013 - 05:23 AM

Nice! :-)

I was wondering, is there any way to let Yii understand that JustAModel::model()->findByPk(1) returns a JustAModel model and not a CActiveRecord?

What I do have:
		
/**
 * @param string $className active record class name.
 * @return Message the static model class
 */
static public function model ( $className = __CLASS__ )
{
	return parent::model($className);
}


But that return is offcourse overwritten by the CActiveRecord->findByPk return of CactiveRecord
/**
 * @return CActiveRecord the record found. Null if none is found.
 */
public function findByPk($pk,$condition='',$params=array())
{

0

#13 User is offline   Boaz 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 367
  • Joined: 23-January 11

Posted 08 March 2013 - 05:32 AM

do you want Yii or your IDE to know about this type?
If you want your IDE to know the type, there's the usual but tedious way to let it know:
// use the comment syntax demonstrated below.
/* @var JustAModel $model */
$model = JustAModel::model()->findByPk(1)

Therapeutic PHP sessions My LinkedIn Profile
0

#14 User is offline   kutukampret 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 27-December 12

Posted 13 April 2013 - 12:43 PM

fantastic :D
0

#15 User is offline   johnsnails 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 05-September 11
  • Location:Sydney Australia

Posted 03 May 2013 - 05:04 AM

View PostDa:Sourcerer, on 05 March 2013 - 08:13 AM, said:

That must be about the first time I see somebody reading something into an ellipse :blink:


dot dot dot dot dot
0

#16 User is offline   jvk 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 25-April 11

Posted 14 August 2013 - 07:06 AM

Do you have any plans for supporting path alias's and components set in protected/config/main.php?
0

#17 User is offline   mazx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 19-July 11

Posted 18 September 2013 - 05:43 PM

View Postjvk, on 14 August 2013 - 07:06 AM, said:

Do you have any plans for supporting path alias's and components set in protected/config/main.php?

Yep. In future))
0

#18 User is offline   mazx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 19-July 11

Posted 18 September 2013 - 05:45 PM

somebody wants to auto-phpdocs? )))
Posted Image
Take new beta on mazx.ru)
0

#19 User is offline   Ocean Wind 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 63
  • Joined: 14-September 10
  • Location:Denver, Colorado, USA

Posted 10 October 2013 - 10:48 AM

I'm just trying out PHP Storm for the first time, and added YiiStorm. PHP Storm says it's getting the following error:


class with name "com.yiistorm.actions.YiiStormConfigAction" not found [Plugin: YiiStorm]: class with name "com.yiistorm.actions.YiiStormConfigAction" not found [Plugin: YiiStorm]


Any idea what's causing this? I don't want to be missing out on any goodies dot dot dot :-)
0

#20 Guest_Interboy_*

  • Group: Guests

Posted 22 October 2013 - 10:05 PM

YiiStorm is very useful plugin for PHPStorm.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users