当前位置: 首页 > 文档资料 > San 中文文档 >

Drei

优质
小牛编辑
134浏览
2023-12-01

San tooling for VS Code.

This is fork from vetur, which is vue's vscode extension,

I make it support san's language features.

Search drei in vs market to install.

Features

  • Syntax-highlighting
  • Snippet
  • Emmet
  • Formatting
  • Auto Completion

Features in Plan

  • data path intelligence
  • Lint & Error checking

Requirements

develop and test on vscode >= 1.23.1

Extension Settings

basicly the same as vetur's setting

Known Issues

at this time

  • doesn't validate all interpolation properly, treat interpollation as full functional js but it isn't.
  • doesn't support type check and intellisense for filter function type which in interpolation
  • doesn't support type check and intellisense for variables which in scoped slot
  • doesn't support type check and intellisense for sanData's data path and params
  • doesn't support js reserved key words in interpollation, it will lead to highlight errors.