Wednesday, September 14, 2022
HomeWordPress Developmentblock editor - How can I reintroduce autocompletion of Gutenberg elements in...

block editor – How can I reintroduce autocompletion of Gutenberg elements in Visible Code?


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:

  1. The place does this clever autocompletion come from?
  2. How can I reinstate it?
  3. Is an extension offering this performance? I’ve reinstalled intelliphense however this appears to haven’t any useful impact.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments