Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Uncaught SyntaxError: Invalid regular expression: /\\($/: Unterminated group #398

Open enno87 opened 5 years ago

enno87 commented 5 years ago
  1. Mark a classname eb. Exaple on Exaple::class
  2. start Autocomplete

Atom: 1.33.0 x64 Electron: 2.0.11 OS: Ubuntu 14.04.5 Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /\($/: Unterminated group

At /home/enrico/.atom/packages/atom-autocomplete-php/lib/services/use-statement.coffee:15

SyntaxError: Invalid regular expression: /\\($/: Unterminated group
    at new RegExp (<anonymous>)
    at Object.importUseStatement (/packages/atom-autocomplete-php/lib/services/use-statement.coffee:15:21)
    at /packages/atom-autocomplete-php/lib/config.coffee:109:26)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349858)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:1229897)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/static/<embedded>:11:1226031)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/static/<embedded>:11:285037)

Commands

     -0:29.4.0 core:move-left (input.hidden-input)
     -0:27.5.0 core:backspace (input.hidden-input)
  3x -0:26.4.0 core:move-right (input.hidden-input)
     -0:13.7.0 intentions:highlight (input.hidden-input)
     -0:13.6.0 core:save (input.hidden-input)
  3x -0:12.6.0 core:move-left (input.hidden-input)
     -0:12.1.0 intentions:highlight (input.hidden-input)
     -0:11.9.0 editor:move-to-beginning-of-word (input.hidden-input)
     -0:11.4.0 intentions:highlight (input.hidden-input)
  2x -0:11.3.0 editor:move-to-beginning-of-word (input.hidden-input)
     -0:10.5.0 intentions:highlight (input.hidden-input)
     -0:10.4.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:10 intentions:highlight (input.hidden-input)
     -0:09.5.0 atom-autocomplete-php:import-use-statement (input.hidden-input)
     -0:06.5.0 intentions:highlight (input.hidden-input)
     -0:06.1.0 core:save (input.hidden-input)

Non-Core Packages

an-old-hope-syntax 1.0.4 
api-docs 0.0.6 
artisan 0.3.2 
atom-autocomplete-php 0.25.6 
atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-monokai 0.10.9 
autocomplete-xml 0.10.1 
blade-snippets 0.2.0 
busy-signal 1.4.3 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
color-picker 2.3.0 
comment 0.6.1 
daverona-laravel-syntax 0.0.1 
docblockr 0.13.7 
editorconfig 2.2.2 
file-icons 2.1.26 
fold-functions 0.11.0 
gitkraken-glo 1.0.1 
ide-css 0.3.2 
ide-html 0.4.2 
ide-json 0.2.1 
ide-php 0.7.17 
ide-python 1.1.0 
ide-typescript 0.8.0 
ide-vue 0.1.9 
ide-yaml 0.4.4 
intentions 1.1.5 
language-blade 0.41.4 
language-htaccess 0.2.0 
language-markdown 0.27.0 
laravel 0.7.1 
linter 2.2.0 
linter-csslint 2.0.1 
linter-sass-lint 1.8.3 
linter-scss-lint 3.1.1 
linter-ui-default 1.7.1 
monokai 0.24.0 
php-cs-fixer 4.1.1 
platformio-ide-terminal 2.8.4 
project-manager 3.3.6 
symbols-tree-view 0.14.0 
teletype 0.13.3 
xml-formatter 0.11.0