Wepy tooling for VS Code, powered by Vetur.
- Syntax-highlighting
- Snippet
- Emmet
- Linting / Error Checking
- Formatting
- Auto Completion
- Debugging
config
andwxs
block syntax-highlightingconfig
block highlighting withjson
stylewxs
block highlighting withjavascript
style- add
template
andstyle
emmet
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
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
- type
config
to create<config></config>
block quickly withjson
format - type
wxs
to create<wxs module=""></wxs>
block quickly withjavascript
format - type
script
to create<script></script>
block quickly withjavascript
format
There are also some bugs and unsupport attributes, and I will support soon.
MIT © hom