VSCode: Difference between revisions

From Freephile Wiki
Created page with "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. [https://intelephense.com/ IntelePHense] is only $25 for a perpetual l..."
 
No edit summary
 
Line 16: Line 16:
See [https://github.com/bmewburn/intelephense-docs intelephense docs] on GitHub
See [https://github.com/bmewburn/intelephense-docs intelephense docs] on GitHub


== Yamllint ==
See [[Yamllint#VSCode_settings]]
== XDebug ==
See [[Debugging#XDebug_with_VSCode]]
== PHPUnit ==
See [[PHPUnit/VSCode]]


== PHPStorm ==
== PHPStorm ==

Latest revision as of 12:34, 25 February 2025

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