atom / autocomplete-snippets

Adds snippets to autocomplete+ suggestions
MIT License
46 stars 50 forks source link

Snippets matching typed word are still not prioritized #88

Open demisx opened 7 years ago

demisx commented 7 years ago

Currently, the snippets not showing up at the top of the suggestion list even if I type the snippet word. The fuzzier matches still take precedence (see attached). I do have "Use Alternate Scoring" option turned on. How can I move snippets match appear at the top?

# in ~/atom/config.cson
"*":
  "atom-beautify":
    general:
      _analyticsUserId: "..."
      analytics: false
    html:
      indent_inner_html: true
      indent_size: 2
    js:
      brace_style: "collapse-preserve-inline"
      space_after_anon_function: true
    json:
      break_chained_methods: true
      indent_size: 2
    typescript:
      brace_style: "collapse-preserve-inline"
      end_with_comma: true
      end_with_newline: true
  "autocomplete-plus":
    strictMatching: true
  core:
    disabledPackages: [
      "autocomplete-atom-api"
    ]
    projectHome: "/Users/dmoore/projects"
    telemetryConsent: "limited"
  editor:
    scrollPastEnd: true
    showIndentGuide: true
  "exception-reporting":
    userId: "..."
  linter: {}
  "linter-eslint":
    eslintrcPath: ".eslintrc.yaml"
  "linter-tslint":
    useLocalTslint: false
  "linter-ui-default":
    panelHeight: 418
    showPanel: true
  "tree-view": {}
  welcome:
    showOnStartup: false

screen shot 2017-09-23 at 10 13 02 am

Versions

OSX 10.12 Sierra
Atom : 1.20.1
Chrome : 52.0.2743.82
Node : 8.5.0

Aerijo commented 6 years ago

Which package is providing the other suggestions? These things have a suggestionPriority, meaning if the priority set by the package providing those completions is higher, it will always appear above the snippets.