Last active
May 6, 2021 17:47
-
-
Save AndrewRadev/3524ee46bca8ab349329 to your computer and use it in GitHub Desktop.
A `.projections.json` file that can be used with vim-projectionist for navigating ember.js projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app/initializers/*.js": { | |
"type": "initializer" | |
}, | |
"app/models/*.js": { | |
"type": "model", | |
"alternate": "app/adapters/{}.js", | |
}, | |
"app/adapters/*.js": { | |
"type": "adapter", | |
"alternate": "app/serializers/{}.js", | |
}, | |
"app/serializers/*.js": { | |
"type": "serializer", | |
"alternate": "app/models/{}.js", | |
}, | |
"app/services/*.js": { | |
"type": "service", | |
}, | |
"app/routes/*.js": { | |
"type": "route", | |
"alternate": "app/controllers/{}.js", | |
}, | |
"app/controllers/*.js": { | |
"type": "controller", | |
"alternate": "app/templates/{}.hbs", | |
}, | |
"app/templates/*.hbs": { | |
"type": "template", | |
"alternate": "app/routes/{}.js", | |
}, | |
"app/components/*.js": { | |
"type": "component", | |
"alternate": "app/templates/components/{}.hbs", | |
}, | |
"app/components/*/component.js": { | |
"type": "component", | |
"alternate": "app/components/{}/template.hbs", | |
}, | |
"app/templates/components/*.hbs": { | |
"type": "ctemplate", | |
"alternate": "app/components/{}.js", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment