Coder Social home page Coder Social logo

autocomplete-php's People

Contributors

amp343 avatar azakur4 avatar gavvvr avatar wasikuss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

autocomplete-php's Issues

Function completion?

Saw this repo, looks pretty cool. Are you interested in including function completion? If so I would be willing to contribute some to that part.

I added a few array... functions to a fork:
(https://github.com/amp343/autocomplete-php)

So that they should complete like:

  • you type: array_fil
  • autocomplete: array_filter($array)

Uncaught SyntaxError: Unexpected end of JSON input

I keep getting this error when working on my mac inside a Laravel project. On windows with the same Atom packages, I don't have this problem.

[Enter steps to reproduce below:]

1. ...
2. ...

**Atom Version**: 1.12.5
**Electron Version**: 1.3.9
**System**: Mac OS X 10.11.6
**Thrown From**: [atom-autocomplete-php](https://github.com/Peekmo/atom-autocomplete-php) package, v0.20.2


### Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22initialPaths%22%3A%5B%22%2FUsers%2FAtabix%2FDevelopment%2Fatabase3%22%5D%2C%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2FAtabix%2FDevelopment%2Fatabase3%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%5D%2C%22windowInitializationScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22clearWindowState%22%3Afalse%2C%22env%22%3A%7B%22TMPDIR%22%3A%22%2Fvar%2Ffolders%2Fht%2F30clb79s1gb4nwwk582_bx6r0000gn%2FT%2F%22%2C%22SHELL%22%3A%22%2Fbin%2Fbash%22%2C%22HOME%22%3A%22%2FUsers%2FAtabix%22%2C%22Apple_PubSub_Socket_Render%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.tcxVmvwa2c%2FRender%22%2C%22SSH_AUTH_SOCK%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.lmZ5mYMS9M%2FListeners%22%2C%22LOGNAME%22%3A%22Atabix%22%2C%22PATH%22%3A%22%2Fusr%2Fbin%3A%2Fbin%3A%2Fusr%2Fsbin%3A%2Fsbin%22%2C%22XPC_SERVICE_NAME%22%3A%22com.apple.xpc.launchd.oneshot.0x10000004.Atom%22%2C%22COMMAND_MODE%22%3A%22unix2003%22%2C%22USER%22%3A%22Atabix%22%2C%22SECURITYSESSIONID%22%3A%22186a7%22%2C%22XPC_FLAGS%22%3A%220x0%22%2C%22__CF_USER_TEXT_ENCODING%22%3A%220x1F5%3A0x0%3A0x0%22%2C%22GOOGLE_API_KEY%22%3A%22AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q%22%2C%22ATOM_HOME%22%3A%22%2FUsers%2FAtabix%2F.atom%22%7D%2C%22appVersion%22%3A%221.12.5%22%2C%22atomHome%22%3A%22%2FUsers%2FAtabix%2F.atom%22%2C%22shellLoadTime%22%3A4770%7D:1

SyntaxError: Unexpected end of JSON input
at Object.parse (native)
at ChildProcess. (/Users/Atabix/.atom/packages/atom-autocomplete-php/lib/services/php-proxy.coffee:83:52)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


### Commands

2x -2:01.5.0 core:backspace (atom-text-editor.editor.is-focused)
-2:00.2.0 core:move-left (atom-text-editor.editor.is-focused)
-1:57.7.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
2x -1:56.7.0 core:save (atom-text-editor.editor.is-focused)
-1:49.2.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-1:48.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-1:48.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
5x -1:38.4.0 core:backspace (atom-text-editor.editor.is-focused)
3x -1:25.5.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
-1:22.5.0 core:backspace (atom-text-editor.editor.is-focused)
-1:22.2.0 core:move-left (atom-text-editor.editor.is-focused)
-1:21.6.0 core:save (atom-text-editor.editor.is-focused)
-1:17.8.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-1:17 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-1:17 core:cancel (atom-text-editor.editor.mini.is-focused)
2x -0:02.1.0 core:save (atom-text-editor.editor.is-focused)


### Config

```json
{
  "core": {
    "excludeVcsIgnoredPaths": false,
    "openEmptyEditorOnStart": false,
    "projectHome": "/Users/Atabix/Development",
    "telemetryConsent": "no",
    "themes": [
      "dark-flat-ui",
      "bleen-syntax"
    ]
  },
  "atom-autocomplete-php": {}
}

Installed Packages

# User
atom-autocomplete-php, v0.20.2 (active)
bleen-syntax, v0.3.1 (active)
dark-flat-ui, v1.2.4 (active)
docblockr, v0.8.7 (active)
emmet, v2.4.3 (active)
emmet-snippets-compatibility, v1.0.6 (active)
file-icons, v1.7.25 (active)
language-blade, v0.26.2 (active)
language-smarty, v1.7.0 (active)
linter, v1.11.18 (active)
linter-php, v1.3.1 (active)
platformio-ide-terminal, v2.2.2 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (inactive)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Completion fail on var name completion

When I use completion to autocomplete a variable name, it's not replace by the variable name (Like before) but added.

Example :

I begin to write : "$array"
It prompt a proposition of completion like "$arrayBigValues"
But when I fire "Enter" to accept, it not replace what I type and give this : "$arrayarrayBigValues"

Autocomplete suggesting incorrect when typed parameter used

For example, say you have:

function abc(MyObject $object) { ... }

The autocomplete provides

abc(MyObject, $object)

when it should be:

abc($object)

This is also true (and worse) for namespaced types like

function abc(\Project\Models\MyObject $object) { ... }

where the result is

abc(Project, Models, MyObject, $object)

$_SERVER['

$_SERVER['<==list of options here would be nice

Uncaught TypeError: Cannot read property 'getMarker' of undefined

[Enter steps to reproduce below:]

  1. Problem with saving file PHP (but is correctly working on website).
**Atom Version**: 1.9.0-beta0
**System**: Microsoft Windows 10 Pro
**Thrown From**: [atom-autocomplete-php](https://github.com/Peekmo/atom-autocomplete-php) package, v0.18.9

Stack Trace

Uncaught TypeError: Cannot read property 'getMarker' of undefined

At C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\pane.js:1026

TypeError: Cannot read property 'getMarker' of undefined
    at DecorationManager.module.exports.DecorationManager.decorateMarker (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\decoration-manager.js:194:65)
    at TextEditor.module.exports.TextEditor.decorateMarker (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\text-editor.js:1525:37)
    at ClassProvider.module.exports.ClassProvider.addMarkerToCommentLine (file:///C:/Users/Machei/.atom/packages/atom-autocomplete-php/lib/goto/class-provider.coffee:117:28)
    at ClassProvider.module.exports.ClassProvider.registerMarkers (file:///C:/Users/Machei/.atom/packages/atom-autocomplete-php/lib/goto/class-provider.coffee:71:18)
    at ClassProvider.module.exports.AbstractProvider.rescanMarkers (file:///C:/Users/Machei/.atom/packages/atom-autocomplete-php/lib/goto/abstract-provider.coffee:172:10)
    at file:///C:/Users/Machei/.atom/packages/atom-autocomplete-php/lib/goto/abstract-provider.coffee:31:18
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at TextBuffer.module.exports.TextBuffer.saveAs (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:1135:27)
    at TextBuffer.module.exports.TextBuffer.save (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:1105:19)
    at TextEditor.module.exports.TextEditor.save (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\text-editor.js:740:26)
    at Pane.module.exports.Pane.saveItem (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\pane.js:734:18)
    at Pane.saveItem (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\pane.js:3:61)
    at Pane.module.exports.Pane.saveActiveItem (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\pane.js:717:19)
    at Workspace.module.exports.Workspace.saveActivePaneItem (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\workspace.js:690:35)
    at atom-workspace.commandRegistry.add.core:save (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\register-default-commands.js:220:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\command-registry.js:260:29)
    at C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (C:\Users\Machei\AppData\Local\atom\app-1.9.0-beta0\resources\app.asar\src\window-event-handler.js:3:61)

Commands

     -0:42 core:save (atom-text-editor.editor.is-focused)
     -0:41.3.0 core:undo (atom-text-editor.editor.is-focused)
     -0:38.9.0 core:redo (atom-text-editor.editor.is-focused)
     -0:38.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:38.1.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:34.5.0 core:paste (atom-text-editor.editor.is-focused)
     -0:33.6.0 core:undo (atom-text-editor.editor.is-focused)
  6x -0:31.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:29.1.0 tree-view:reveal-active-file (atom-text-editor.editor.is-focused)
     -0:12.3.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:12.3.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:05.7.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:05.7.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:05.7.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -0:05.7.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:02.5.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "Remote-FTP",
      "atom-python-debugger",
      "atom-runner",
      "remote-sync",
      "color-tabs",
      "tab-switcher",
      "remote-atom-plus"
    ],
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-autocomplete-php, v0.18.9 (active)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.2.11 (inactive)
atom-python-debugger, v0.3.4 (inactive)
atom-runner, v2.6.0 (inactive)
auto-copyright, v0.5.0 (inactive)
docblockr, v0.7.3 (active)
doctrine, v0.3.0 (active)
drunken-php, v0.2.1 (active)
file-icons, v1.7.10 (active)
php-debug, v0.2.3 (active)
php-twig, v4.0.0 (active)
Remote-FTP, v0.8.3 (inactive)
atom-dark-syntax, v0.27.0 (active)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (active)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.38.1 (active)
fuzzy-finder, v1.2.0 (active)
git-diff, v1.0.1 (active)
find-and-replace, v0.198.0 (active)
go-to-line, v0.31.0 (active)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.1.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.0 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.3.1 (active)
styleguide, v0.46.0 (active)
symbols-view, v0.113.0 (active)
tabs, v0.98.0 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

autocomplete for php ide_helper files

hi, i was wondering if it's possible to read files generated by this project barryvh laravel ide helper. The project would generate a "_ide_helper.php" file and the ide (either phpstorm, or sublime) would be able to read that file and provide autocomplete for the libraries that exist inside the laravel project.

is this possible to do in this package?

I hava problem with the enviroment PATH

What's mean with that

Now is mandatory have PHP in the enviroment PATH;

I can use the php -v command๏ผŒ but in Atom it show that ...
'php' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.

Doesn't show suggestions for member variables

Having some major issues with autocomplete-php enabled, where I don't get already used member variables as a suggestion. However, with autocomplete-php disabled it works as it should. Example:

screen shot 2015-06-02 at 09 43 42
autocomplete-php enabled, should suggest "no_of_clicks" (doesn't even show up as an option)

screen shot 2015-06-02 at 09 44 04
autocomplete-php disabled, suggests the variable "no_of_clicks" just as it should

Is this a known issue?

Great package otherwise, just what I have been looking for (trying to migrate from Sublime Text where all this works flawlessly out of the box).

autocomplete-php v0.3.6
Atom v0.204.0

Suggestions for wrong type

class Bar {
    /**
    * @var string
    */
    public $var_abc = null;
    /**
    * @var string
    */
    public $var_xyz = null;
    /**
    * @var string
    */
    public $var_foo = null;

    public function foourz() { }
}

class Foo {
    /**
    * @param $a bool
    */
    public function foobar($a) {
        return new Bar();
    }

    /**
    *
    */
    public function test() {

    }
}

$f = new Foo();
$f->foo

I got suggestions for foobar and foourz although $f is of type Foo and has no method foourz.
Is it possible to solve that? If you may say what is needed, I would try.

fuzzy-matching doesn't consider underscores

fuzzy-matching doesn't consider underscores.

With PHP for example.
When we type arrayse it doesn't provide any suggestions ! It should provide at least array_search function.

ezgif com-optimize

doesn't work

autocomplete-php in my pc doesn't autocomple, when i write for example: mysql_connect and i use autocomplete doesn't appears mysql_connect(user,host,pass); for complete the parametrers

No internal functions completed out of the box

I ended up running

$ php ~/.atom/packages/autocomplete-php/lib/php/get_internal_functions.php

to generate functions.json as it wasn't there by default, once it's there completion seems to work ok.

Uncaught SyntaxError: Unexpected token _

Atom Version: 0.198.0
System: Mac OS X 10.10.3
Thrown From: autocomplete-php package, v0.3.3

Stack Trace

Uncaught SyntaxError: Unexpected token _

At file:///opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fyriveiro%2FDevelopment%2Fbyside%2Fwebcare%2Fweb%22%7D%5D%2C%22bootstrapScript%22%3A%22%2Fopt%2Fhomebrew-cask%2FCaskroom%2Fatom%2Flatest%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2Fopt%2Fhomebrew-cask%2FCaskroom%2Fatom%2Flatest%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22apiPreviewMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22appVersion%22%3A%220.198.0%22%2C%22shellLoadTime%22%3A364%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fyriveiro%2FDevelopment%2Fbyside%2Fwebcare%2Fweb%22%5D%7D:1

SyntaxError: Unexpected token _
  at Object.parse (native)
  at Socket.<anonymous> (/Users/yriveiro/.atom/packages/autocomplete-php/lib/provider.coffee:39:31)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:166:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:109:10)
  at Pipe.onread (net.js:517:20)

Commands

  3x -2:36.6.0 core:move-left (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -2:34.3.0 core:save (atom-text-editor.editor.vim-mode.is-focused.insert-mode)
     -2:19.4.0 core:copy (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:15.2.0 core:paste (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
  3x -2:14.8.0 core:save (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -2:01.3.0 core:paste (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -2:00.9.0 core:save (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -1:53.9.0 core:paste (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -1:53.5.0 core:save (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -1:42.1.0 core:paste (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -1:41.8.0 core:save (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:11.8.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:08.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:05.7.0 vim-mode:delete (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -0:04.9.0 vim-mode:activate-insert-mode (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:03.2.0 core:save (atom-text-editor.editor.vim-mode.is-focused.insert-mode)

Config

{
  "core": {
    "disabledPackages": [
      "autocomplete"
    ],
    "themes": [
      "atom-dark-ui",
      "seti-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.27.1
autocomplete-paths, v1.0.2
autocomplete-php, v0.3.3
autocomplete-plus, v2.14.1
autocomplete-snippets, v1.6.1
color-picker, v1.7.0
docblockr, v0.6.3
file-icons, v1.5.5
git-tab-status, v1.7.0
linter, v0.12.2
linter-php, v0.0.12
linter-shellcheck, v0.0.7
local-history, v3.1.0
markdown-format, v2.5.1
minimap, v4.8.0
minimap-git-diff, v4.1.2
seti-syntax, v0.4.0
travis-ci-status, v0.14.0
vim-mode, v0.46.0
wakatime, v4.0.9

# Dev
No dev packages

Disable auto closing tag

Hi,

Thanks for this package!
Is there a way to prevent auto closing tag? I mean, if I press ESC key, I can get out the dialog box and pressing ENTER just goes to new line. I think it would be more confortable if there was no need to press ESC, since you need to think of it and it would be one less keystrike. But more important, PSR recommands to ommit closing tag. So, it make sens that the package ommits closing tag too.

Uncaught SyntaxError: Unexpected token ,

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.198.0
System: Mac OS X 10.10.3
Thrown From: autocomplete-php package, v0.3.3

Stack Trace

Uncaught SyntaxError: Unexpected token ,

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fhung.v.nguyen%2FDesktop%2FRageServer%22%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22apiPreviewMode%22%3Afalse%2C%22appVersion%22%3A%220.198.0%22%2C%22shellLoadTime%22%3A507%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fhung.v.nguyen%2FDesktop%2FRageServer%22%5D%7D:1

SyntaxError: Unexpected token ,
  at Object.parse (native)
  at Socket.<anonymous> (/Users/hung.v.nguyen/.atom/packages/autocomplete-php/lib/provider.coffee:39:31)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:166:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:109:10)
  at Pipe.onread (net.js:517:20)

Commands

  7x -5:43.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
 34x -5:37.1.0 core:undo (atom-text-editor.editor.is-focused.autocomplete-active)
     -5:32 core:save (atom-text-editor.editor.is-focused)
     -5:29.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -5:27.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -5:27.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -5:24.6.0 editor:newline (atom-text-editor.editor.is-focused)
 16x -5:03.0 core:backspace (atom-text-editor.editor.autocomplete-active.is-focused)
     -4:52.4.0 core:save (atom-text-editor.editor.is-focused)
     -1:29.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:10.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -1:10 editor:newline (atom-text-editor.editor.is-focused)
 15x -1:08.4.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:59.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:04.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:00.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)

Config

{
  "core": {
    "ignoredNames": [
      "flash_sp",
      "flash",
      "image_sp",
      "application/cache"
    ],
    "disabledPackages": []
  }
}

Installed Packages

# User
autocomplete-php, v0.3.3
autocomplete-plus, v2.14.1
color-picker, v1.7.0

# Dev
No dev packages

Uncaught SyntaxError: Unexpected token P

  1. I type something like for example "str"
  2. the autocomplete dialog shows
  3. the error occurs

Atom Version: 0.198.0
System: RYDORI-PC
Thrown From: autocomplete-php package, v0.3.3

Stack Trace

Uncaught SyntaxError: Unexpected token P

At file:///C:/Users/Rydori/AppData/Local/atom/app-0.198.0/resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3Anull%7D%5D%2C%22bootstrapScript%22%3A%22C%3A%5C%5CUsers%5C%5CRydori%5C%5CAppData%5C%5CLocal%5C%5Catom%5C%5Capp-0.198.0%5C%5Cresources%5C%5Capp.asar%5C%5Csrc%5C%5Cwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22C%3A%5C%5CUsers%5C%5CRydori%5C%5CAppData%5C%5CLocal%5C%5Catom%5C%5Capp-0.198.0%5C%5Cresources%5C%5Capp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22apiPreviewMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22appVersion%22%3A%220.198.0%22%2C%22shellLoadTime%22%3A840%2C%22initialPaths%22%3A%5B%5D%7D:2

SyntaxError: Unexpected token P
    at Object.parse (native)
    at Socket.<anonymous> (C:\Users\Rydori\.atom\packages\autocomplete-php\lib\provider.coffee:46:40)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:166:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:109:10)
    at Pipe.onread (net.js:517:20)

Commands

     -0:17.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:14.7.0 encoding-selector:show (atom-text-editor.editor)
     -0:13.6.0 grammar-selector:show (atom-text-editor.editor)
     -0:10 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:08.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:08.2.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:08.2.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:08.2.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:06.4.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:06.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)

Config

{
  "core": {
    "disabledPackages": [
      "language-smarty-php",
      "default-language",
      "autocomplete-python",
      "autocomplete",
      "robin-language-php"
    ]
  }
}

Installed Packages

# User
atom-html-preview, v0.1.6
autocomplete-css, v0.7.2
autocomplete-html, v0.7.1
autocomplete-php, v0.3.3
autocomplete-plus, v2.14.1
color-picker, v1.7.0
html-entities, v0.3.1
html-helper, v0.2.3
language-htaccess, v0.1.1
language-js-specs, v0.1.0
language-sql-mysql, v0.3.1
language-svg, v0.8.0
minimap, v4.8.0
select-rectangle, v1.0.2

# Dev
No dev packages

userFunc.test === null

Found a weird bug.

When two classes are defined in the same file and the second one's constructor has no parameters the @userSuggestions.user_functions[1].text === null which causes an error at povider.coffee#L167

<?php

class test1 {
    public function __construct() {
    }
}

class test2 {
    public function __construct() {
    }
}

@userSuggestions.user_functions is

[
  {
    "text": "__construct",
    "type": "function",
    "snippet": "__construct()${99}"
  },
  {
    "text": null,
    "type": "function",
    "snippet": "()${99}"
  }
]

I fixed it by changing userFunc.text.toLowerCase().indexOf(lowerCasePrefix) to userFunc.text?.toLowerCase().indexOf(lowerCasePrefix) but there is probably some underlying bug that should be fixed.

Cannot find module 'jquery'

This pops up at seemingly random times...

screen shot 2018-01-16 at 11 20 49 am

Here is the error text:

/Applications/Atom.app/Contents/Resources/app/static/:1
Hide Stack Trace
Error: Cannot find module 'jquery'
at Module._resolveFilename (module.js:470:15)
at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:354:58)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:40:43)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at Object.getClassSelectorFromEvent (/Users/ben/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:780:11)
at ClassProvider.module.exports.ClassProvider.getSelectorFromEvent (/Users/ben/.atom/packages/atom-autocomplete-php/lib/tooltip/class-provider.coffee:71:26)
at HTMLSpanElement. (/Users/ben/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:106:30)
at HTMLDivElement.dispatch (/Users/ben/.atom/packages/atom-autocomplete-php/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLDivElement.elemData.handle (/Users/ben/.atom/packages/atom-autocomplete-php/node_modules/jquery/dist/jquery.js:4121:28)

Extension Debug

Hello there,

I really would like to explore the package, but I have been running into some problems for debugging variable values... Is there some tool or setup one can do to start debugging values into the package? (i.e, checking selected completions for a specific moment)

Uncaught SyntaxError: Unexpected end of input

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.198.0
System: Mac OS X 10.10.3
Thrown From: autocomplete-php package, v0.3.3

Stack Trace

Uncaught SyntaxError: Unexpected end of input

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fhung.v.nguyen%2FDesktop%2FRageServer%22%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22apiPreviewMode%22%3Afalse%2C%22appVersion%22%3A%220.198.0%22%2C%22shellLoadTime%22%3A507%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fhung.v.nguyen%2FDesktop%2FRageServer%22%5D%7D:1

SyntaxError: Unexpected end of input
  at Object.parse (native)
  at Socket.<anonymous> (/Users/hung.v.nguyen/.atom/packages/autocomplete-php/lib/provider.coffee:39:31)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:166:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:109:10)
  at Pipe.onread (net.js:517:20)

Commands

  4x -1:16.1.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:43.7.0 core:close (atom-text-editor.editor.is-focused)
     -0:37.4.0 core:save (atom-text-editor.editor.is-focused)
  5x -0:36.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:32.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:29.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:29.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:26.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:25.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  7x -0:23.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
 34x -0:17.1.0 core:undo (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:12 core:save (atom-text-editor.editor.is-focused)
     -0:09.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -0:07.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:07.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.6.0 editor:newline (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "ignoredNames": [
      "flash_sp",
      "flash",
      "image_sp",
      "application/cache"
    ],
    "disabledPackages": []
  }
}

Installed Packages

# User
autocomplete-php, v0.3.3
autocomplete-plus, v2.14.1
color-picker, v1.7.0

# Dev
No dev packages

Adding support for included files and classes (this)

Hi! It would be great to support included files (that is to say import the functions, classes, methods and variables of included files).

For classes, it would also be good to support the keyword "this" to automatically find the local attributes of the current class. The same functionality could perhaps be added to the objects.

To make it more clear:
atomthisphp
Show local attribute "path".

classincludesupport
Show "Repository" class that comes from the included file.

methods
Show "showMessage" a method of the class that comes from the included file.

In the same vein, it would be great to autocomplete (as an IDE) multiple calls between multiple files (files being linked with namespaces or with include keyword). For example: $myObject->getManager()->getClients().

Anyway, the plugin is already great.

required package is absent

autocomplete-php package needs
Requirements: Atom autocomplete-plus package (instll with apm install autocomplete-plus)
when i try to find autocomplete-plus in the install place
there is no package...

PHP could not be spawned

After updating to v 0.3.0 I am getting the below error. I am using the latest atom 0.198.0

image
Devtools Console:
image

php path problem

mi php path is '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process. but a error is generated when i typed in php language

Failed to activate the autocomplete-php package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.199.0
System: Mac OS X 10.10.3
Thrown From: autocomplete-php package, v0.3.4

Stack Trace

Failed to activate the autocomplete-php package

At fs is not defined

ReferenceError: fs is not defined
    at Object.module.exports.loadCompletions (/Users/Steve/.atom/packages/autocomplete-php/lib/provider.coffee:13:7)
    at Object.module.exports.activate (/Users/Steve/.atom/packages/autocomplete-php/lib/main.coffee:8:23)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:219:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:211:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:435:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:419:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:311:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:414:19)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
autocomplete-php, v0.3.4
file-icons, v1.5.5
grunt-runner, v0.9.1
minimap, v4.8.0
open-last-project, v0.4.1
project-manager, v1.15.5

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'username' of undefined

Description

When I save a php file, it appears.
image

Error Report

Atom Version: 1.8.0
System: Microsoft Windows 10 Home
Thrown From: atom-autocomplete-php package, v0.18.9

Stack Trace

Uncaught TypeError: Cannot read property 'username' of undefined

At C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\pane.js:1002

TypeError: Cannot read property 'username' of undefined
    at Object.module.exports.getMemberContext (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:686:32)
    at FunctionProvider.module.exports.FunctionProvider.extractAnnotationInfo (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/property-provider.coffee:17:27)
    at FunctionProvider.module.exports.AbstractProvider.placeAnnotation (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:103:27)
    at FunctionProvider.<anonymous> (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:92:18)
    at FunctionProvider.module.exports.AbstractProvider.registerAnnotations (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:91:13)
    at FunctionProvider.module.exports.AbstractProvider.rescan (file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:236:10)
    at file:///C:/Users/User/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:24:18
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at TextBuffer.module.exports.TextBuffer.saveAs (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:1113:27)
    at TextBuffer.module.exports.TextBuffer.save (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:1083:19)
    at TextEditor.module.exports.TextEditor.save (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\text-editor.js:660:26)
    at Pane.module.exports.Pane.saveItem (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\pane.js:718:18)
    at Pane.module.exports.Pane.saveActiveItem (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\pane.js:701:19)
    at Workspace.module.exports.Workspace.saveActivePaneItem (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\workspace.js:684:35)
    at atom-workspace.commandRegistry.add.core:save (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\register-default-commands.js:214:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\command-registry.js:260:29)
    at C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (C:\Users\User\AppData\Local\atom\app-1.8.0\resources\app.asar\src\window-event-handler.js:3:61)

Commands

  2x -3:34.6.0 core:copy (atom-pane.pane.active)
     -3:13.1.0 core:save (atom-text-editor.editor.is-focused.power-mode)
     -3:10.5.0 core:backspace (atom-text-editor.editor.is-focused.power-mode)
     -3:09.2.0 core:save (atom-text-editor.editor.is-focused.power-mode)
     -1:42.7.0 core:backspace (atom-text-editor.editor.power-mode.is-focused)
     -1:41.3.0 core:save (atom-text-editor.editor.power-mode.is-focused)
     -1:10 find-and-replace:show (atom-text-editor.editor.power-mode.is-focused)
     -1:05.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -0:38.6.0 core:backspace (atom-text-editor.editor.power-mode.is-focused)
     -0:37.3.0 core:move-left (atom-text-editor.editor.power-mode.is-focused)
     -0:36.9.0 editor:newline (atom-text-editor.editor.power-mode.is-focused)
  2x -0:35.8.0 core:save (atom-text-editor.editor.power-mode.is-focused)
     -0:09.8.0 editor:newline (atom-text-editor.editor.power-mode.is-focused)
  2x -0:08.0 core:save (atom-text-editor.editor.power-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "atom-terminal-panel",
      "linter"
    ],
    "themes": [
      "atom-material-ui",
      "atom-material-syntax-dark"
    ]
  },
  "atom-autocomplete-php": {}
}

Installed Packages

# User
activate-power-mode, v0.7.0
atom-autocomplete-php, v0.18.9
atom-beautify, v0.29.9
atom-material-syntax-dark, v0.2.5
atom-material-ui, v1.2.13
autocomplete-go, v1.1.0
autocomplete-modules, v1.5.2
builder-go, v1.0.0
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
highlight-selected, v0.11.2
navigator-godef, v1.0.3
pigments, v0.29.3
react, v0.15.0
Remote-FTP, v0.8.3
remote-sync, v4.1.2
sync-settings, v0.7.2
tester-go, v1.0.4

# Dev
No dev packages

'php' could not be spawned error

Hi,

After I installed this package, I noticed the error attached every time I'm typing a character in my php file. Please see attached screenshot
screenshot_8.

Regards,
Felix

Don't work: 'php' could not be spawned.

I had funny problem. I install your package And when i go to php files and start writing a have problem:

'php' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.

Can't you tell step by step install process. Maybe I should add or change something in files autocomplete?

$this completion

Can we please, please edit autocomplete so that when you tab $this, it corrects to $this-> rather than $this? I don't see why, for such a common variable to be typing all the time that it doesn't resolve to this.

I can't see anywhere you can edit this behaviour (without delving into the module code, something I've not done before and I'm not particularly skilled at js/coffee).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.