edubkendo / atom-elm

An atom package providing syntax highlighting and snippets for the Elm language.
65 stars 22 forks source link

Fixes #13: Improve the prefix being passed to elm-oracle #19

Closed brianegan closed 8 years ago

brianegan commented 8 years ago

In order to get module-specific completions from elm-oracle, we need to change up the string, known as a prefix, that's passed to elm-oracle.

Before this change, the following string in your editor: Signal.m would be passed to elm-oracle with only the m, preventing module-specific completions from working.

Now, the plugin will send Signal.m to elm-oracle, and we'll get those very nice, context-aware suggestions :)