Besides scanning the database for what classes you have added to the visual builders we have option to scan theme or plugin files as well.
This is especially useful if you are creating Gutenberg blocks, Shortcodes or writhing your child theme to add some custom functionalities.
To optimise the scanning we have several options:
- File types
- Files path
File types
Specify file types what you want to scan. For example if you have a lot of images, javascript files you may want to skip them if html structure is in the PHP.
Files path
Starting point is /wp-content/.
Pass the exact path of the folder of your plugin or theme you want to scan.
Save config file in scan path
Reason why we added this is that visual code autocomplete is based on if you have config file or not. You do not need to make entire process of npm, node_modules and TailwindCSS installation to get autocomplete.
You only need config file. And to have same autocomplete values as in visual buildes we can sync config inside builders and your Visual Studio.