VS Code `.code-workspace` file generator

Overview

VS Code .code-workspace file generator

(for monorepositories with Dart and Flutter projects)

TL;DR;

  1. Create yaml file config.yaml (check #Format section)
  2. Run: workspace_gen.exe path/to/config.yaml (workspace_gen.exe works on Win and UNIX systems)
  3. Copy your .code-workspace file from outputs/ directory

Example

Check out the example of config.yaml and the generated output: config.yaml project_name.code-workspace

Format

name: project_name # Required. Will be used for `.code-workspace` filename.
projects: # Required. No projects - no workspace ¯\_(ツ)_/¯
  # project #1
  example_app: # Required. Path to flutter/dart project, relative to workspace location.
    type:
      flutter # Required. Type of the project
      # `dart` or `flutter`

    name:
      Flutter Project # Optional. Name of the project.
      # This name will be shown in VS Code Explorer.
      # Default - use project path as name

    launchConfig: # Optional. If present - generate launch tasks (debug/release).
      # Default - no launch tasks

      flavors: # Optional. If present - generate launch tasks using specified flavors.
        # Default - no build tasks
        - dev
        - prod

    buildTasks: # Optional. If present - generate build tasks.
      # Available values:
      # - analyze
      # - pubGet
      # - clean
      # - build (build_runner build --delete-conflicting-outputs)
      # - localize (gen-l10n)

      - analyze
      - pubGet
      - clean
      - build
      - localize
You might also like...

A Flutter curl-command generator for Dio

A Flutter curl-command generator for Dio

curl_logger_dio_interceptor A Flutter curl-command generator for Dio. Easily test your Flutter-made requests in your favorite terminal or even in Post

Nov 17, 2022

OpenAPI generator for Dart & Flutter

Fantom Fantom is a cli tool for generating API layer based on OpenAPI Spec. Usage Install fantom $ dart pub global activate fantom Generate API client

Oct 18, 2022

OpenAPI generator for Dart & Flutter

Fantom Fantom is a cli tool for generating API layer based on OpenAPI Spec. Usage Install fantom $ dart pub global activate fantom Generate API client

Oct 18, 2022

Flutter Word generator

wordpair_generator A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Dec 3, 2021

Provide route generator to create route map quickly by annotations.

ff_annotation_route Languages: English | 中文简体 Description Provide a route generator to create route map quickly by annotations. ff_annotation_route De

Nov 25, 2022

Random color generator for Flutter

Random color generator for Flutter

Random color generator Pub link: https://pub.dartlang.org/packages/random_color This library will generate random colors that are visually pleasing an

Jun 13, 2022

A Flutter Word generator App to improve English vocabulary

A Flutter Word generator App to improve English vocabulary

Word generator App to improve English vocabulary: Add English words you don't know and their translation, then you need to answer what is the translat

Dec 12, 2021

A certificate generator app developed in Flutter with love.

A certificate generator app developed in Flutter with love.

Holden Certificate Generator made with Flutter. Dependencies spreadsheet_decoder path_provider file_picker pdf_viewer_plugin pdf permission_handler sh

Jan 4, 2023
Owner
Mike T
Mike T
Cache json map to local file with Dart:io. Read file with sync api.

local_cache_sync 一个非常简单易用的Flutter本地储存库,适用于在本地储存一列轻量数据(例如用户保存在本地的设备信息,或者缓存一系列用户信息)。 local_cache_sync的所有方法都是同步,而不是异步的。这意味着你不需要使用await就可以获取数据。在flutter中,这

null 16 Jun 24, 2022
Starter project and code generator for Flutter/Redux

Flutter Redux Starter/Code Generator Videos Short video ~ 1 minute Long video ~ 10 minutes We're using this approach to develop the Flutter app for In

Hillel Coren 278 Dec 12, 2022
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs. Inspired by SwiftGen. Motivation Using asset path str

FlutterGen 1.1k Jan 6, 2023
🚀The Flutter dart code generator from zeplin. ex) Container, Text, Color, TextStyle, ... - Save your time.

Flutter Gen Zeplin Extension ?? The Flutter dart code generator from zeplin. ex) Container, Text, Color, TextStyle, ... - Save your time. ⬇ 1.1k Getti

NAVER 49 Oct 12, 2022
Dart Code Generator for generating mapper classes

Smartstruct - Dart bean mappings - the easy nullsafe way! Code generator for generating type-safe mappers in dart, inspired by https://mapstruct.org/

Nils 28 Nov 29, 2022
The Dart code generator for your package versions. 🎯

The Dart code generator for your package versions. There is no way to get the package version from the code in the Dart ecosystem. Installation Add bu

Daichi Furiya 12 Dec 14, 2022
Swagger/OpenAPI code generator based on Chopper and JsonAnnotation for Flutter

Code partially generated with chopper ?? Build dart types from Swagger/OpenAPI schemas SwaggerDartCodeGenerator is a code generator that looks for *.s

null 187 Jan 5, 2023
Environment specific config generator for Dart and Flutter applications during CI/CD builds

Environment Config Generator Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simpl

Denis Beketsky 86 Dec 2, 2022
GPT-3 recipe generator for the GPT-3 Makeathon by TUM.AI. Developed by team Taste the data.

GPT-3 Makeathon by TUM.AI - Team: Taste the Data Team - Taste the Data: Carmen Heger <@stedomedo> David Stiftl <@stiftlD> Christopher Schütz <@cdschtz

Oliver Klukas 11 Dec 4, 2022
A generator to create config class from json files that support many environments

A generator to create config class from json files that support many environments. Motivation If you use a json file to config your applications, perp

Diego Cardenas 0 Oct 9, 2021