-
Notifications
You must be signed in to change notification settings - Fork 46
Get priority from config #98
base: master
Are you sure you want to change the base?
Conversation
awesome! |
Thanks @elliotaplant! Can you add tests? As mentioned in the Requirements section, we require tests to guard against regressions so tests are necessary before the team can review. |
Of course. I'll add them this week |
@rsese - I added a couple tests for the default case and the change behavior. Let me know if those work for you! |
Thank you! Someone from the team will take a look as soon as they can. |
No rush @rsese, but has anyone had a chance to take a peek at this? |
Not sure if I count as team, but see the requested changes. @elliotaplant Have you also confirmed this works in practice? I've had trouble before with Edit: It looks like it should work though, because it's grabbing the property from the provider object each time. I was having trouble with blacklisting selectors which are just copied in the beginning. |
Thanks for the suggestions @Aerijo! I'll make the changes when I get a chance. |
You definitely count as part of the team and I know your reviews are appreciated 😄 As far as reviewing to the point of merging or not however, one of the GitHub maintainers would do that - so to circle back to your question about timing @elliotaplant, with the team's finite resources and current workload, we can't promise a particular timeframe when this would be reviewed at the moment. But it's definitely on the team's radar so when someone is able to take a look, they'll comment here. |
Err sorry, to clarify I mean once @Aerijo's requested changes are addressed please comment back here and we'll ask the team to take a look again when they're able to. |
@elliotaplant Is this still progressing? Or has it been ostensibly dropped? |
Hi @elliotaplant – this would be a really cool feature, any chance you might have a look at the requested changes? |
Requirements
Description of the Change
This change allows users to configure the
inclusionPriority
andsuggestionPriority
of their snippets in the autocomplete menuAlternate Designs
An alternative considered was to increase the default priorities of this package, but that just contributes to a priority arms race.
Benefits
The benefit of this package is that users will be able to control the priority of their snippets without changing the behavior for current users.
Possible Drawbacks
One possible drawback is that users may configure their priorities incorrectly and not know why their snippets are prioritized too hight or too low.
Applicable Issues
atom/autocomplete-plus#946
atom/snippets#265
#86
#94