Skip to content

Experimental VSCode extension that provides PHP autocompletion for the Interactivity API

Notifications You must be signed in to change notification settings

michalczaplinski/interactivity-vscode

Repository files navigation

VSCode Interactivity

A VSCode extension that provides autocompletion for the Interactivity API.

⚠️ Highly experimental and unstable. Do not use for anything other than tinkering or further development ⚠️

Screen.Recording.2023-05-10.at.15.50.16.mov

Current Limitations

  • The extension only works for blocks where the interactivity is defined in a separate store.js file and exported using export default. Look at the example in /blocks/store/js.
  • The store.js file has to be on the same level as the PHP file where you want the autocompletion.

Development

Run and debug the extension in development:

npm run watch

And then you can run the "Run Extension" VSCode debug task to run the extension in debug mode.

Build the extension for production:

npm run build
npx vsce package

About

Experimental VSCode extension that provides PHP autocompletion for the Interactivity API

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •