atishay / vscode-allautocomplete

Autocomplete from open files for VSCode
MIT License
104 stars 25 forks source link

it can not found in Comment #26

Closed suzhenyu22 closed 5 years ago

suzhenyu22 commented 6 years ago

when write sql, some infomation in the commnet, it can not be autocomplete.

atishay commented 6 years ago

Please share a sample file and a line number where autocomplete is not working.

suzhenyu22 commented 6 years ago

i am writing sql, when i type code, it can find some similar notes, but when i write the comment, it can't. is there i miss some setting?

1

atishay commented 6 years ago

Thank you for the screenshot. I will look into the issue

atishay commented 5 years ago
screen shot 2018-11-05 at 9 53 09 pm

@suzhenyu22 Seems to be working for me. Can you sand me a sample file where you are having issues. There might be some extension conflicting.

suzhenyu22 commented 5 years ago

snipaste_2018-11-06_14-13-31

suzhenyu22 commented 5 years ago

i read the vscode config setting, i found something , when i change it, all works.

  // Controls whether suggestions should automatically show up while typing.
  "editor.quickSuggestions": {
    "other": true,
    "comments": false,
    "strings": false
  }

that's why autocomplete not wroks in comments and strings.

atishay commented 5 years ago

Wonderful. I will put that in the readme for others.