VSCode

From Freephile Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

There are bits and pieces throughout relating to VSCode, so this article with try to organize and coalesce things.

Intellisense

Intelligent wp:code completion, a form of autocomplete, is widely refered to as 'Intellisense'. Although 'built-in' to IDEs like VSCode, you still need to either add extensions to make it work for your particular language and environment.

IntelePHense is only $25 for a perpetual license and seems like it does everything you need. Included in the paid version are:

  • Rename. Easily rename symbols with automatic file/folder renaming too.
  • Code folding. Accurate folding of definitions, blocks, use declarations, heredoc, comments, and custom regions.
  • Find all implementations. Quickly find implementations of interfaces, abstract classes and associated methods.
  • Go to type definition. Quickly navigate to variables and parameter type definitions.
  • Go to declaration. Quickly navigate to interface or abstract method declarations.
  • Smart select. Intelligently expand/shrink text selection based on parse tree.
  • Code actions. Import symbols, add (template configurable) PHPDoc, and implement all abstract methods

See intelephense docs on GitHub


Yamllint

See Yamllint

XDebug

See Debugging

PHPUnit

See PHPUnit/VSCode

PHPStorm

I really should ask Sam for a license[1]


References