Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Prefers "dop" snippet (with variable in block) over "do" snippet #131

Closed
stevehanson opened this issue Jan 22, 2016 · 3 comments
Closed

Comments

@stevehanson
Copy link

This just started happening to me yesterday. When I'm writing a do block, it typically works like this: I write my code, then the word do, then enter. Language Ruby usually executes the do snippet which inserts the end keyword automatically and positions my cursor in the block.

Yesterday, the dop snippet started taking precedent, so that when I enter do and press enter, a variable section is created for the do block, and my cursor is in this area. I was wondering if there is any way to configure the order of which snippet takes precedent. I know I could hit the down arrow after typing do to choose the do snippet as you can see below, just wondering if there is a global config I could set or something.

image

@stevehanson stevehanson changed the title Prefers dop snippet (with variable in block) over do snippet Prefers "dop" snippet (with variable in block) over "do" snippet Jan 22, 2016
@abepetrillo
Copy link

Same issue. Would prefer the variable option not be available.

@winstliu
Copy link
Contributor

This is a duplicate of #130 - please subscribe there for updates. As a workaround you can disable the "Use Alternate Scoring" option in autocomplete-plus.

@stevehanson
Copy link
Author

@50Wliu thanks for pointing me in the right direction. Disabling "Use Alternate Scoring" did the trick for now. And sorry about the duplicate.

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

No branches or pull requests

3 participants