deep-assoc-completion

Compatible with: IntelliJ IDEA PhpStorm
Nov 15, 2017
453
  • Associative array auto-completion inferred from other functions (in other files).
  • Go To Declaration.
  • Specify array keys and reference functions in phpdoc.
  • Preserve type info of object placed in an associative array.
This plugin greatly extends phpstorm's associative array completion and typing



Download plugin

Recent change notes

Hotifx: temporarily disable object Type Provider functionality due to java.lang.RuntimeException: TypeProvider contract violation? by class org.klesun.deep_assoc_completion.entry.AssocTypePvdr on $variables['container']

General usage instructions

Press Ctrl+Space when caret is inside quotes to get completion options for associative array keys. The plugin will analyze your code to gather info about the variable.

Put caret on the accessed key and press Ctrl+B (or Ctrl+Left Mouse Button) to go to the definition.