alienhard / SublimeAllAutocomplete

Extend Sublime autocompletion to find matches in all open files of the current window
918 stars 110 forks source link

"Disable" in 'All Autocomplete.sublime-settings' doesn't work as expected #59

Closed patrickwelker closed 7 years ago

patrickwelker commented 7 years ago

I love this plugin for all my coding, but it really gets in the way when I'm writing.

Whenever I want to indent a hyphen list like…

- A
- B
    - C

… I end ud with something like this…

- A
- B
--verbose C

I tried disabling All Autocomplete for Markdown and Plain Text documents:

{
    "exclude_from_completion": [
        "md",
        "txt"
    ]
}

I also tried using the Syntax Names ("Plain Text", etc.), but I still get the lovely autocompletion.

Am I doing something wrong here?

alienhard commented 7 years ago

@pattulus, what does it say when you hit Control+Shift+P? This should tell you the syntax scope to use in the exclude_from_completion config. In a normal text file, for me it says "text.plain". So I would add "text". Note that "txt" wouldn't match in this case.

patrickwelker commented 7 years ago

@alienhard text.html.markdown meta.paragraph.markdown, so I added text and markdown. It works now as expected. Thanks.

PS: I also deactivated the SmartMarkdown plugin because there where indentation issues. So it might not have been AllAutocomplete.