Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick navigate from template mention to template source #241

Open
matanox opened this issue Jan 11, 2015 · 0 comments
Open

Quick navigate from template mention to template source #241

matanox opened this issue Jan 11, 2015 · 0 comments

Comments

@matanox
Copy link

matanox commented Jan 11, 2015

When you ctrl + click on an action in a routes file, you get directly to the action's definition source code. E.g.

GET  /show/:id  controllers.Application.show(id: String) ==> // jump to Application.show

It would only be natural to enable the same navigation from action to template.

views.html.admin() // ==> jump to template source

But this is currently not implemented. Which makes the MVC model your enemy when the application grows, rather than your friend. See here for motivation.

BTW it would then also make sense to be able to see where a template is called from and where an action is wired from in a route, if not already implemented. This can be a separate ticket... this all would make Play make sense in Scala IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant