atishay / vscode-allautocomplete

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

Default whitespace setting #1

Closed rnemec closed 7 years ago

rnemec commented 7 years ago

Is it correct? It says [^\\w+] I would expect [^\\w] or [^\\w]+ depending on how you use it.

(Side question - in JS, many libs include $ in the identifiers, so I changed the setting to [^$\\w]. Can you confirm that should work fine?)

atishay commented 7 years ago

I can fix the + case. The identifiers are a simple regex and [^$\w] should work.

I am thinking of having a different regex based on the extension (a future feature) where I provide a better default for common programming languages.

rnemec commented 7 years ago

Thanks. So far the plugin behaves very nicely. Detecting different languages would be great. A step towards this plugin being a must for any normal development. Well, even without the languages.

atishay commented 7 years ago

Thanks. I have updated this setting. Will add different language basic support as a feature request.

atishay commented 7 years ago

Added support for this in 0.0.10