You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Current implementation seems to break words on unicode characters - so when I write "somēthing" in the editor, it gets tokenised into "som" and "thing" for purposes of autocomplete.
If I follow the code correctly, it's due to JS regex used at Provider.wordRegex not being unicode-enabled.
Which would you rather see implemented - nasty regex without additional libraries, or cleaner regex plus additional dependency? Or something else entirely?
Or maybe this wordPattern can be made available as an editable option in package settings? All non-english languages now lack full-functional autocompletion 😞
In master and soon to be 1.7.0, unicode support will be behind an autocomplete-plus setting called enableExtendedUnicodeSupport. Over time, if there are no problems with this, we will promote it to be on by default, and remove the setting.
Activity
joefitzgerald commentedon Dec 31, 2014
👍 for handling unicode properly, and using an additional dependency if it is the more reliable path.
Write Test For #76
zozzz commentedon Jan 26, 2015
I believe that the Oniguruma library could be used. Atom uses this library to parse source code.
Package
Documentation
Example:
{OnigRegExp} = require 'oniguruma' regex = new OnigRegExp('[[:word:]]') regex.searchSync('árvíztűrőtükörfúrógép')benogle commentedon Mar 24, 2015
https://github.com/mathiasbynens/es6-unicode-regexp-proposal/blob/master/d-w-b.md#w
This should work for
\wbentolor commentedon Jun 11, 2015
Visual Illustration of the issue for german text.

To bad Javascript does only provide proper support for 7bit-ASCII strings.
TimvdLippe commentedon Sep 23, 2015
Is this also related to atom/autocomplete-snippets#56 ? Or is that a seperate issue?
nixel2007 commentedon Jan 12, 2016
Any news about this issue?
may https://github.com/l-flame/autocomplete-plus/commit/7f986b7bf6ff7bf995e87bc776b174e107085f50 be merged or cherry picked to master brunch?
or @l-flame could you rebase your branch and make a PR?
EvilBeaver commentedon Jan 12, 2016
Or maybe this
wordPatterncan be made available as an editable option in package settings? All non-english languages now lack full-functional autocompletion 😞nixel2007 commentedon Jan 12, 2016
Like
wordPatternsetting for language-package in VSCode - https://code.visualstudio.com/docs/extensionAPI/vscode-api#LanguageConfigurationFix atom#76. Add Unicode support by xregexp lib
Fix atom#76. Add unicode support for \w regexps
benogle commentedon Feb 23, 2016
In master and soon to be 1.7.0, unicode support will be behind an autocomplete-plus setting called
enableExtendedUnicodeSupport. Over time, if there are no problems with this, we will promote it to be on by default, and remove the setting.Thanks @nixel2007 for #667