halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

maybe disable autocomplete in strings/comments? #28

Closed Alexey-T closed 3 years ago

Alexey-T commented 3 years ago

on this line

        msg_status(msg + _('Text is already formatted'))

after "Te" i got completion "Telegram/ .... text"

halfbrained commented 3 years ago

I don't think that is necessary, since it is requested by the user, and I get string token kind (Editor.get_token(TOKEN_GET_KIND...) in f-string expressions, so it will be disabled there as well.

Also I can't reproduce what you are describing, do you still have this problem?

name = 0
print(f'na {na}')

After first na I get no completion, after second - proper name

Alexey-T commented 3 years ago

ok.