- Notifications
You must be signed in to change notification settings - Fork0
Sublimated Symfony — Sublime Text 3 package for better Symfony 2 usage.
License
sergeylunev/sublimated-symfony
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Sublime Text 3 (not realy support ST2) package for better Symfony 2 usage.
git clone git@github.com:sergeylunev/sublimated-symfony.git \~/Library/Application\Support/Sublime\Text\3/Packages/sublimated-symfony
ctrl+alt+p
— if pressed in Action opens template file (or create file and open it).If pressed in template file — open Controller on Action file related to this template
ctrl+alt+g
— If pressed in Entity it send you to Repository class witch ispresented in@ORM\Entity(repositoryClass="Acme\DemoBundle\Entity\Repository\DemoRepository")
.If pressed in Repository it send you to entity class file with the same name asRepositoryDemoRepository
→Demo
ctrl+alt+u
— automaticaly adduse
statement when cursor placed on some objectdefenition (new FooBar()
)
ctrl+alt+n
— automaticaly addnamespace
statement related to file (please lookforPSR-0 for better understanding)
TODO:
- add some screencasts to illustrate how it works
- working with symfony commands
- jump from inline in twig template to another template or to action/controller
- jump to twig file if we have named in annotation
- add commands execution from ST
- working with routes and other stuff
- try add GoTo by route, actions, entity, repository and other
- workign with generators from editor
- go to template file from twig render or include
- copy methods from interface class
Complete:
- insert
namespace
related to the file - jump between entity and repository classes