seho-dev / vue-sfc-composition-area

This is a Vscode plugin that assists Vue developers in writing better Composition API business logic with a Regional Mindset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-sfc-composition-area

Group 4

中文文档

This is a Vscode plugin that assists Vue developers in writing better Composition API business logic with a Regional Mindset

How to use

After searching for vue-sfc-composition-area in the vscode extension and installing it; you will see the window in the lower left corner of the vscode explorer, which you can use to create your Composition API logic

Features

No matter how long your vue file is, you can quickly find your business logic, and you can give each area a corresponding level of importance so that it can be categorized, and the different levels will be displayed differently in the small window

Quick Preview

demo.mp4

Unfinished Business

  • Add smart cache mode for unnecessary AST analysis
  • Support drag and drop area window for code order adjustment
  • Nested support

Principle

Script AST for Vue files to calculate the start and end positions of special tags, using the Vue responsive core inside the source code

About

This is a Vscode plugin that assists Vue developers in writing better Composition API business logic with a Regional Mindset


Languages

Language:TypeScript 100.0%