I’ve a improvement setting in Visible Code, wherein I’ve a WordPress Theme, wherein a Webpack course of is watching my code adjustments via the built-in terminal.
This course of makes use of @wordpress/dependency-extraction-webpack-plugin
as a plugin within the Webpack course of.
Till the previous few days, typing the preliminary a part of a part like <Examine
… (for <InspectorControls>
) would autocomplete and robotically pull within the part reference to the highest of the JS file.
import { InspectorControls } from '@wordpress/block-editor';
This could additionally permit me to hover over InspectorControls
to see its attributes.
Now, with out knowingly having modified something, this is not working. My questions are:
- The place does this clever autocompletion come from?
- How can I reinstate it?
- Is an extension offering this performance? I’ve reinstalled intelliphense however this appears to haven’t any useful impact.