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

Using 'er' and tabbing doesn't work. #30

Open
farisalamin opened this issue Sep 21, 2022 · 5 comments
Open

Using 'er' and tabbing doesn't work. #30

farisalamin opened this issue Sep 21, 2022 · 5 comments

Comments

@farisalamin
Copy link

This has been bothering me for a long time now, I've only just looked at it and I've found that if I change the scope to 'text.html.ruby' instead of 'text.html.rails', it starts working again.

@michaelkoper
Copy link

I've got the same issue. You got it to work @farisalamin ?

For some reason all rails html.erb files have the scope text.html.rails instead of text.html.rails

@farisalamin
Copy link
Author

@michaelkoper Yeah, I changed the scope to 'text.html.ruby' in the sublime-snippet file for the er shortcut and it started working fine. Just in case, you just have to find 'Open Resource' in the command palette to get to the files.

Only problem now is that all the shortcuts stopped working after I recently updated sublime.

@michaelkoper
Copy link

Thanks for replying @farisalamin ! I did the exact same thing. Open Resource and changing all the scopes of the snippets I use. It isn't ideal if something updates but for now it does the job!

Thanks!

@farisalamin
Copy link
Author

farisalamin commented Nov 29, 2022

Yeah, the original problem I had was that the er shortcut was the only one set to text.html.rails and was not working so I had to switch it to text.html.ruby. However since the recent sublime update, most of the shortcuts stopped working until I changed them back to text.html.rails.

@morgangrubb
Copy link

@farisalamin Do we have any idea why the scope changed with the update of sublime?

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

3 participants