David Meybohm

Results 39 issues of David Meybohm

You can navigate between views and controllers by clicking on the Cake icon or doing ctrl-alt-UP. You should be able to do the same when navigating between views and elements....

- Navigate from controllers - Navigate from view helpers - Navigate from components (not sure if components include magic declarations) This would need some indexing to support when the configuration...

idea
cake2

Generate completion for custom finders during pagination: ```php // // case 1: // class ArticlesController extends AppController { protected array $paginate = [ 'finder' => 'published' ] } class ArticlesController...

enhancement

If `$this->render()` starts with a slash, we shouldn't prepend the controller name when navigating to it.

Add line markers within view files to create other view files. For example, if you call `$this->render("other_view")`, add a line marker that will create `other_view.ctp` or `other_view.php` depending on the...

enhancement

- Navigate to layouts that are invoked in the view with `$this->extend()`: https://book.cakephp.org/5/en/views.html#extending-layouts - Also navigate to blocks in the parent for `append()`, `prepend()`, or `assign()` functions when `extend()` is...

enhancement

Have a way when clicking on a string to navigate to elements and views inside a theme: https://book.cakephp.org/2/en/views/themes.html Note for CakePHP 3 and above, the view files are located in...

enhancement

When invoked via `$this->Html->script`

When completing properties on a controller/component/view, investigate whether it's possible to check if the object is a mock, and whether properties will be mocked, and then return a mock object...

idea

When some code is like `$this->Component->$method`, popup a menu listing all the methods to go to. Also, when doing `$this->element('StringPrefix' . $element)`, popup a list as well.

enhancement