Custom autocompleter and periods (.)

后端 未结 3 785
天命终不由人
天命终不由人 2021-01-02 18:10

I can\'t seem to make getCompletions function to trigger in my custom completer when using custom prefix extraction regex identifierRegexps

Basica

3条回答
  •  悲&欢浪女
    2021-01-02 18:36

    In the ext-language-tools.js file,

    Replace var ID_REGEX = /[a-zA-Z_0-9\$\-\u00A2-\uFFFF]/;

    to

    var ID_REGEX = /[a-zA-Z_0-9\.\$\-\u00A2-\uFFFF]/;
    

    With the above ID_REGEX the autocomplete will now trigger on periods (.)

提交回复
热议问题