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

Instructions to expand scopes #44

Open
xon52 opened this issue Sep 28, 2018 · 2 comments
Open

Instructions to expand scopes #44

xon52 opened this issue Sep 28, 2018 · 2 comments

Comments

@xon52
Copy link

xon52 commented Sep 28, 2018

I'm a little confused as to how to add other languages to this package? I want to use this in js and vue files but can't figure out what is needed?
Can this be included in a description somewhere?

@dsandstrom
Copy link
Owner

Good idea. I need to add better instructions to the config section.

Basically, you need to find the scope for the file you want included and then add it to the comma separated array Enabled Scopes in the package's settings. There are multiple ways to find the file's scope. One way is to run "Log Cursor Scope" command from the command prompt (shift-cmd-p). The top scope should be the right one. Maybe something like source.js.vue. Please let me know what scope you added and if you need more help.

@DevBodin
Copy link

@dsandstrom Ah, just learning about Log Cursor Scope made a huge difference, thank you.

(I'm finding a great many HTML enhancements aren't working in Vue files, so I'm kind of clawing my way back to full functionality.)

For the record, it's text.html.vue

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

No branches or pull requests

3 participants