mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-19 12:24:53 -04:00
* fix: improve the document diff function to prevent partial ordering issues * fix: improve the document diff function to prevent partial ordering issues * fix: nested block padding issues * fix: improve the document diff function to prevent partial ordering issues * chore: update editor version * test: add no diff test and update text diff test * test: delete and insert text diff with different id * test: insert single text / delete single text tests * test: multiple delete and update diff * test: multiple insert and update diff * chore: revert cargo changes * chore: remove unused code * chore: optimize the code logic
125 lines
4.1 KiB
JSON
125 lines
4.1 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
// This task only builds the Dart code of AppFlowy.
|
|
// It supports both the desktop and mobile version.
|
|
"name": "AF: Build Dart Only",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"env": {
|
|
"RUST_LOG": "debug",
|
|
},
|
|
// uncomment the following line to testing performance.
|
|
// "flutterMode": "profile",
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
// This task builds the Rust and Dart code of AppFlowy.
|
|
"name": "AF-desktop: Build All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Build Appflowy Core",
|
|
"env": {
|
|
"RUST_LOG": "trace",
|
|
"RUST_BACKTRACE": "1"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
// This task builds will:
|
|
// - call the clean task,
|
|
// - rebuild all the generated Files (including freeze and language files)
|
|
// - rebuild the the Rust and Dart code of AppFlowy.
|
|
"name": "AF-desktop: Clean + Rebuild All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Clean + Rebuild All",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-iOS: Build All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Build Appflowy Core For iOS",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-iOS: Clean + Rebuild All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Clean + Rebuild All (iOS)",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-iOS-Simulator: Build All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Build Appflowy Core For iOS Simulator",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-iOS-Simulator: Clean + Rebuild All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Clean + Rebuild All (iOS Simulator)",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-Android: Build All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Build Appflowy Core For Android",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-Android: Clean + Rebuild All",
|
|
"request": "launch",
|
|
"program": "./lib/main.dart",
|
|
"type": "dart",
|
|
"preLaunchTask": "AF: Clean + Rebuild All (Android)",
|
|
"env": {
|
|
"RUST_LOG": "trace"
|
|
},
|
|
"cwd": "${workspaceRoot}/appflowy_flutter"
|
|
},
|
|
{
|
|
"name": "AF-desktop: Debug Rust",
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"pid": "${command:pickMyProcess}"
|
|
// To launch the application directly, use the following configuration:
|
|
// "request": "launch",
|
|
// "program": "[YOUR_APPLICATION_PATH]",
|
|
},
|
|
]
|
|
}
|