PatternFly Code snippetsWhat's in this extensionDemo: https://youtu.be/StWxQeFj38U This extension adds a new view container to the sidebar with the PatternFly icon. Contained within are code fragments for components that can be inserted into the open editor. The components are organized by type (component/layout) and grouped by category. There is a global configuration setting that also includes documentation in code comments when a component is added. The link icon on the category header will take you to the documentation page for each component category as well. The extension also makes the code snippets available through code completion. If you type the configured trigger string (which is configurable in the extension settings), e.g. The default triggers are:
Both the trigger string and the file types are configurable in the extension settings. |