Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>FlapFrontDSLNew to Visual Studio Code? Get it now.
FlapFrontDSL

FlapFrontDSL

xuliangmost

|
126 installs
| (1) | Free
自动生产Dart-DSL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FlapFrontDSL README

本插件为了省去每次手动生产DSL的痛

Features

开启插件后,直接在页面内右键可以选择 Run DSL 生产全部 flap 页面的 DSL,也可以选择Run Page DSL 根据 flapid 去生产当前页面的 DSL

![feature X](https://himg.bdimg.com/sys/portraitn/item/12d658754cd8ad4d6f7374ea91)

Requirements

flapFrontDSL.front_path 本地的flap_front地址,属于必须配置的参数,在settings.json里面

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • flapFrontDSL.front_path: 本地的flap-front地址
  • flapFrontDSL.flutter_project_path: 默认读取setting.json设置的flutter项目地址,如果没有设置则读取文件所在的waimai_e_flutter地址,适用于新开package

Known Issues

Calling out known issues can help limit users opening duplicate issues against your extension.

Release Notes

Users appreciate release notes as you update your extension.

0.0.1

支持右键编译全部Flap页面与单独编译一个Flap-id的的功能

0.0.4

支持快捷键编译 command+F10 | ctrl+F10

0.0.5

优化output展示

0.0.6

优化命令菜单顺序

1.0.1

修改当命令执行错误之后没有重置build状态的问题

1.0.2

增加默认flap_id配置,避免每次都要切回去@Flap页面编译

1.0.3

增加 target_path 参数,可以通过setting.json配置,把bundle输出到指定目录

1.0.4

增加了自动生成 main.dart 引用代码的功能。

1.0.5

修复生成的引用代码会引用旧bundle的问题。

1.0.6

修复已知问题。

1.0.7

  1. 增加FlapId面板,支持FlapId可视化选择
  2. 配合mock脚本,实现一键mock

1.0.8

单独开出命令,使用command+8 直接编译当前页面

1.0.9

command+8 使用dart2native编译,一秒出包

1.2.2

本插件只提供生成DSL功能,不提供自动mock功能,需要用户自己去添加initFlap的mock代码

1.2.3

支持6.20

1.2.4

解决 permission defined错误

1.2.5

支持6.25

1.2.6

去除烦人的弹框提示,将结果直接写入剪切板

1.2.7

支持6.29

1.2.8

做了一些优化

1.2.9

修复了一些问题

1.3.0

优化编译脚本,提高编译效率

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft