Autocomplete on DOT problem
Hello, if I use Autocomplete on DOT config, autocomplete already inserts the dot and it won't trigger autocomplete dialog. Meaning I have to delete the dot and write it again.
Can anything be done about this?
Thank you
Sorry for the late reply, this still happening? Can you provide me more information about your environment.
I have found a bugs that could be related to this topic (autocomplete). Everything seems to works well, but there are few edge cases that are weird.
- Firstly try type
Ap, hit<enter>and after it hit<tab>twice. - Secondly try type
Ap, hit<enter>, type.(dot) and hit<backspace>- i.e. remove.(dot) character. - Last one: same as previous + hit
<ctrl+backspace>after remove.(dot) character.
I don't had a situation in which adds . (dot) character.
Note: I have tested it in new project trying to select Application module in autocomplete (when I typed Ap).
Note 2: I have one more Elixir package called Elixir.
Hope that helps.
@Eiji7
- The first tab is fixed, the second one can't fix it. Because Sublime thinks that it sill completing "Application", and the when it commits the completion it replaces that word with the next one.
- and 3. Are caused because Sublime is not asking the plugin for completion, is using the previous one for "Application." and is just filtering on the previous results.
Any way I fixed that Application <tab> results in Application., I pushed it to master, can you validate this works? And the I tag it and release it.
Cheers.
@edelvalle: sorry for late reply
I removed plug-in directory and cloned master.
Any way I fixed that Application
results in Application., I pushed it to master, can you validate this works? And the I tag it and release it.
It does not work for me.
When I type Ap and hit <enter> or <tab> then I have Application. After hit <tab> plug-in adds dot automatically.
There are lots of problems with auto-completion, but as you said they are caused by editor.
For example:
Ap+<enter>(givesApplication) +<tab>(givesApplication.) +<tab>(givesget_application(module)- withoutApplication.)Ap+<tab>(givesApplication) +<tab>(givesApplication.) +<tab>(givesapp_dir(app)- withoutApplication.)- other examples from my previous comment