jason-pomerleau / vscode-wordpress-toolbox

The ultimate WordPress snippet collection for Visual Studio Code.
MIT License
41 stars 8 forks source link

Is it possible to see all possible arguments? #3

Closed Jebble closed 2 years ago

Jebble commented 5 years ago

I had a similar extension voor Sublime Text 3 and completing the snippets in ST3 would give me the function including an array of all the possible arguments. Functions like wp_nav_menu take a lot of possible arguments and it'd be nice not to have to open the documentation all the time.

If this is possible but you need help i'll be happy to do so if someone quickly explains how :)!

jason-pomerleau commented 5 years ago

Hi @Jebble, sorry for the delayed reply. I would like to have this feature too. The snippet JSON is built using a proprietary script, and I've been having some issues getting it working for function arguments that are associative arrays. As soon as I get more time to work on it, I'll try to build support for these args.