Skip to content

PHP - automatic use statements and better autocompletion required #21687

Closed
@neeravp

Description

@neeravp
  • VSCode Version: 1.10.0
  • OS Version: Windows 10Pro
  • Build: 14393.693

I am really enjoying VS Code while working with JS and Html. Thanks for the wonderful product.
However, I am bit unhappy when it comes to working with PHP in VS Code. I know that VS Code is not an IDE - its an editor.

This is more like a feature request and I don't think that it would be too hard as similar has already been implemented in Atom and works quite well.

The PHP intellisense by Felix Becker is a welcome addition, however it is slow.
Features required/requested:

  1. Better Autocompletion with improved speed of indexing - something like Atom's php-integrator-auto-completion
  2. Automatic use statements - Included in Atom's php-integrator-auto-completion
  3. If possible Basic refactoring like renaming variables/methods and extract selected code block to a method - again Atom has a package php-integrator-refactoring

Atom's php-integrator package suite works quite well and since Atom is also built using electron, I believe it won't be that difficult for VS Code team to provide such features for PHP developers.

Below are the Atom packages repositories which I have mentioned, if it helps
https://github.com/php-integrator/core
https://github.com/php-integrator/atom-autocompletion
https://github.com/php-integrator/atom-refactoring

Metadata

Metadata

Assignees

Labels

phpPHP support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions