Skip to content

FlyAboveGrass/vscode-wepy-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wepy

Wepy tooling for VS Code, powered by Vetur.

Features

  • Syntax-highlighting
  • Snippet
  • Emmet
  • Linting / Error Checking
  • Formatting
  • Auto Completion
  • Debugging

Add

  • config and wxs block syntax-highlighting
  • config block highlighting with json style
  • wxs block highlighting with javascript style
  • add template and style emmet

Usage

Enable and disable

If there are some warning alerts when you use both Vetur and Wepy extension, you may need to disable Vetur extension to make sure the Wepy highlight normally

The Vetur extension is already disabled, you can see example

And enable the Wepy, see it

Create a wepy file quickly

When you create a new wepy file with filename and .wpy suffix, you can type vue to generate wepy file template quickly, and type enter to select default template, the example is here and another one

Create file block quickly

  • type config to create <config></config> block quickly with json format
  • type wxs to create <wxs module=""></wxs> block quickly with javascript format
  • type script to create <script></script> block quickly with javascript format

TODO

There are also some bugs and unsupport attributes, and I will support soon.

Power thanks

License

MIT © hom

About

Wepy tooling for VS Code by using vetur, the extension homepage is https://marketplace.visualstudio.com/items?itemName=mengj.wepy

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.6%
  • Vue 6.2%
  • JavaScript 1.1%
  • Shell 0.1%