vscode-wordpress-hooks icon indicating copy to clipboard operation
vscode-wordpress-hooks copied to clipboard

VS Code extension that provides intellisense and autocomplete for WordPress hooks, actions, and filters

Results 12 vscode-wordpress-hooks issues
Sort by recently updated
recently updated
newest added

I use Copilot (love it), but when I use your extension, Copilot creates unwanted noise (suggestions). I am uncertain if it works, but it would be nice if Copilot was...

When I add a hook to a class method; 1) If I have a namspace, `__NAMESPACE__` is prefixed the callback name: ```php

bug

PHP 8 allows unions in type declarations, eg: ```php function my_function( Foo|Bar $param ) ``` It also introduces `false` as a type (although not `true` because `¯\_(ツ)_/¯`). For anyone writing...

task

The `@since` tags support HTML in their descriptions, but this gets stripped, resulting in a description such as `@since 5.5.1 Added the parameter.`

bug

For example, callback autocomplete should work for the following: ```php add_filter( 'i_dont_exist', | ``` It should provide a generic callback signature, something like: ```php function filter_i_dont_exist( $value ) { |...

enhancement

Parameters with hash notation and lines that wrap onto multiple lines need to have the spacing sorted out when they're used in the docblock. Hopefully can do something like replace...

bug

When the user autocompletes a callback, let's see if the trailing semicolon can be appended if it's not present.

enhancement

Implementing the `resolveCompletionItem()` method when registering a completion item provider means the construction of properties such as `documentation` get deferred until each individual completion item is selected. This should improve...

enhancement

It would be very nice if I could add my own hooks, i.e: - Generate hooks using your [wp-hooks-generator](https://github.com/johnbillion/wp-hooks-generator) - Point to the hooks using vscode preferences, and add support...

enhancement