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 Erlang SDK module names and functions in those modules. #839

Merged
merged 5 commits into from Sep 30, 2017

Conversation

KronicDeth
Copy link
Owner

Resolves #829

Changelog

Enhancements

  • All ebin paths in the Internal Erlang SDK will be copied to the Elixir SDK, so that they are indexed, which makes the Internal Erlang SDK modules show up in Symbol search.
  • Erlang SDK modules can be completed and then functions in those modules can be completed after typing ..
    • Atoms have References.
      • Indexed atoms (from decompiled Erlang .beams from the Internal Erlang SDK) will be used for completing atoms as soon the atom is parseable: either after the first letter : or inside the quotes when making a quoted atom.
      • Atoms will resolve to modules if the atom is a module name. If the atom is quoted and contains interpolation, it will treat each interpolation as .* and look for regex matches to this derived potential atom name.
  • Completions for functions after . will now work at the end of file. Previously, completions only worked in the middle of a file, where the . could parse the next work an existing call, now if that parse doesn't work and the only thing after is a new line, it will still complete.

@KronicDeth KronicDeth added this to the v6.2.0 milestone Sep 30, 2017
@KronicDeth KronicDeth self-assigned this Sep 30, 2017
Resolve atom to atom in index with same name, which is usually an Erlang
SDK module.  If the atom contains interpolation, treat that as `.*` in a
regex and show all matches to result regex.
Previously, completions only worked in the middle of a file, where the
`.` could parse the next work an existing call, now if that parse
doesn't work and the only thing after is a new line, it will still
complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autocomplete Erlang SDK module names
1 participant