/r5-helper

vscode extension -After created a folder or file, automatically create the index.j[t]sx/[less,scss,css,sass] file and complete the code snippet.

Primary LanguageTypeScriptMIT LicenseMIT

r5-helper README

Features

After created a folder or file, automatically create the index.j[t]sx/[less,scss,css,sass] file and complete the code snippet.

Install

Install the extension here

Or by opening the Command Palette (Ctrl+Shift+P), and running

ext install r5-helper

Extension Settings

  • r5-helper.autoFillComponentCode: enable/disable auto fill component and page
  • r5-helper.autoCreateStyleFile: enable/disable auto create style file
  • r5-helper.styleFileType: set the style file type(less or scss or css or sass)
  • r5-helper.cssModules: Whether to import style files as cssModules

Available Snippets

  • useantdtable
  • usereq
  • usereqm
  • eaf-json
  • eaf-blob
  • eaf-form-urlencoded
  • imi import less from ./index.less
  • ims import style from ./index.less

Known Issues

unknown