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

Autocomplete single-quotes for local macros #6

Closed
nickeubank opened this issue Sep 6, 2017 · 7 comments
Closed

Autocomplete single-quotes for local macros #6

nickeubank opened this issue Sep 6, 2017 · 7 comments

Comments

@nickeubank
Copy link

A long-standing request we never figured out how to implement...

benwhalley/atom-language-stata#15

@kylebarron
Copy link
Owner

That's resolved with this line of code.

Essentially, the package overrides the defaults in the bracket-matcher package.

@nickeubank
Copy link
Author

@kylebarron great! is that in current release? Wasn't seeing it in own editor behavior

@kylebarron
Copy link
Owner

Hmm you're right. It's working with `' in my own Atom setup, but when I installed the package in a Windows VM, it didn't autocomplete. I need to do a little more debugging.

@nickeubank
Copy link
Author

FWIW I'm on a mac

@kylebarron
Copy link
Owner

I think it's due to the fact that this language package is changing settings for the bracket-matcher package that were already loaded before installing language-stata-plus. Those won't get reloaded for the Stata scope until you reload Atom. It doesn't seem to always work by just closing Atom and reopening it; Atom probably has some background process.

Do cmd-shift-P to open up the command prompt and choose "Window: Reload" (ctrl+shift+F5 on Windows and Linux). The bracket matching should function properly after that reload.

@nickeubank
Copy link
Author

nickeubank commented Sep 6, 2017

yup. That was embarrassing! :) Thanks!

@kylebarron
Copy link
Owner

It wasn't clear to me that I restart was needed. I'll add that to the README.

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