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

Configurable file names #18

Open
gexplorer opened this issue Dec 11, 2018 · 1 comment
Open

Configurable file names #18

gexplorer opened this issue Dec 11, 2018 · 1 comment

Comments

@gexplorer
Copy link

gexplorer commented Dec 11, 2018

I'm working in a project in which naming is different from what ng2 expects:

  • home.component.ts
  • home.template.html

It would be nice to have an option to configure it to specific needs

@AdamNiederer
Copy link
Owner

AdamNiederer commented Aug 25, 2019

Hey, sorry for the late response, but I think I've solved this issue in a much more general way, and will be removing ng2-open-counterpart in the next release in favor of this new implementation. You can check https://github.com/AdamNiederer/file-ring for more information.

Documentation is a bit sparse, but for your case, you can set file-ring--rings to this:

(setq file-ring--rings
  '(((:ext ".component.ts")
     (:ext ".template.html")))

then, activate file-ring-mode in your angular project, and it should "just work" in the same way ng2-mode does now.

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

2 participants