cursorless/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

605 lines
16 KiB
JSON
Raw Normal View History

2021-02-14 18:23:21 +03:00
{
"name": "cursorless",
"displayName": "Cursorless",
"description": "Structural voice coding at the speed of thought",
2021-05-12 12:53:00 +03:00
"icon": "images/icon.png",
"galleryBanner": {
2021-05-15 18:25:40 +03:00
"color": "#00001A",
2021-05-12 12:53:00 +03:00
"theme": "dark"
},
"badges": [
{
"url": "https://img.shields.io/badge/documentation-yes-brightgreen.svg?logo=data:image/svg%2bxml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJib29rIiBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtYm9vayBmYS13LTE0IiByb2xlPSJpbWciCiAgICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj4KICAgIDxwYXRoIGZpbGw9IndoaXRlIiBkPSJNNDQ4IDM2MFYyNGMwLTEzLjMtMTAuNy0yNC0yNC0yNEg5NkM0MyAwIDAgNDMgMCA5NnYzMjBjMCA1MyA0MyA5NiA5NiA5NmgzMjhjMTMuMyAwIDI0LTEwLjcgMjQtMjR2LTE2YzAtNy41LTMuNS0xNC4zLTguOS0xOC43LTQuMi0xNS40LTQuMi01OS4zIDAtNzQuNyA1LjQtNC4zIDguOS0xMS4xIDguOS0xOC42ek0xMjggMTM0YzAtMy4zIDIuNy02IDYtNmgyMTJjMy4zIDAgNiAyLjcgNiA2djIwYzAgMy4zLTIuNyA2LTYgNkgxMzRjLTMuMyAwLTYtMi43LTYtNnYtMjB6bTAgNjRjMC0zLjMgMi43LTYgNi02aDIxMmMzLjMgMCA2IDIuNyA2IDZ2MjBjMCAzLjMtMi43IDYtNiA2SDEzNGMtMy4zIDAtNi0yLjctNi02di0yMHptMjUzLjQgMjUwSDk2Yy0xNy43IDAtMzItMTQuMy0zMi0zMiAwLTE3LjYgMTQuNC0zMiAzMi0zMmgyODUuNGMtMS45IDE3LjEtMS45IDQ2LjkgMCA2NHoiPjwvcGF0aD4KPC9zdmc+",
"href": "https://www.cursorless.org/docs/",
"description": "Documentation"
},
{
"url": "https://img.shields.io/github/workflow/status/cursorless-dev/cursorless-vscode/Run%20Tests?logo=github&label=tests",
"href": "https://github.com/cursorless-dev/cursorless/actions/workflows/test.yml?query=branch%3Amain",
"description": "Tests"
}
],
Support fully compositional modifiers (#672) * Fixed bug in removal range for range target * A dead delimiter highlight to range target * Added token context to all marks * Added correct token context too regex * Don't unifi ranges on content only removal * Update the test * Added feature to run single recorded test * Updated tests * Fallback on token context for containing scope * Updated target inference * general refactoring of removable ranges * Updated unify removal targets * Fixed that mark bug on set selection * Fixed is reverse bug on vertical range targets * Fixed is reverse bug on vertical range targets * Set empty delimiter on end of and start of positions * Updated test * Fixed last tests * Added description to run single recorded test * At dead tests for bring before and after file * Update to removal ranges * Mark cleanup * Added interior only and exclude interior as proper modifiers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added support for every line * Only select lines with content * Added take every paragraph * Added every file line and block tests * Added take every token * Added every too regex stages * Cleanup * Moved example of custom test transformation to docs * Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update src/core/commandVersionUpgrades/upgradeV1ToV2/upgradeV1ToV2.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added OO targets * Fixed merge conflict * Reversed order of migration modifiers * Default to array * Cleaned up inference code * Added paragraph target * Better updates of new range * oo targets past all test * Added line and paragraph tests * Highlight update * Added script to show unused exports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added line 2 unused export * Default modifiers to empty array * Don't use hat map * Modifiers default to undefined * Fixed is implicit inference * Removed get tokens function * Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update src/core/inferFullTargets.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * General cleanup * Added notebook cell target * Support delimiter based edit newline (#684) * Added delimiter based edit line * Added support for arbitrary delimiters * Added tests * Renamed is above to is before * Better handling of empty lines * Cleanup * Added default delimiters for some common scope types * Run yarn * Attempt to fix raw delimiter * Fixed delimiter * Revert "Attempt to fix raw delimiter" This reverts commit 0de07989dc408aedba56995d20c3043fa034f81a. * Revert "Fixed delimiter" This reverts commit a035390f78cba4b9a88b51722d347277293dda9c. * Use low dash unique with * Made base target abstract * Updated tests * Added return type * Fixed compilation errors * Updated position * Add empty string as default delimiter for sub tokens * Updated bugs * Cleanup * Added tests * Updated inference of implicit target * Updated spoken forms in test * Utilize getters * Refactored getters and setters for targets * Implemented get final stages * Added final stages to process targets * Cleanup * Converted command action into object with associated arguments * Switch to complex scope types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove scope type type from base target * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated to edit new context * Added bring statement test * Change behavior of pour line * Use weak containing line stage for edit new * Updated edit new * Get targets in correct order * Updated selection for editor * Cleanup * New attempt at EditNew * Added rich targets * Updated edit new with proper line handling * Only used single edit * Added comment * Added comment * Cleanup * Added derived target * Moved weak target into base target class * Cleanup * Updated action form * Updated scope type for tests * Fix upgrade path with ordinal range * Pass leading and trailing delimiters to super constructor * Learn to spell * Updated more tests * Cleanup * Fixed bug taking matching pair in error code * Added block tests * Fixed test * Added support for custom delimiters in copy lines * Fix package json * Fix one test * Updated tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Disabled phrase snapshot on recorded test runner * Updated test and upgrade path * Fixed failing hat map tests * Added sleep option to recorded tests * Verbosity for the win * Tweak modify of week stage * Minor python cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Don't de duplicate that mark * Use utility function to set selection that deduplicates * Make document content range the entire file including white lines * Added source mark to wrap action * Added source mark to actions wrap and rewrap * Updated error messages * Updated tests * Don't focus editor on notebook cell insertion * Cleanup * Don't update selection on notebook cell insertion * Add comment * Various fixes * More renames and stuff * Fix bug with missing delimiters in weak targets * Update src/processTargets/processTargets.ts Co-authored-by: Will Sommers <will.sommers@gmail.com> * Unify implementation of copy lines and edit new actions * Rename * Started working on lazy removal * Clarify processPrimitiveTarget * Tweak * Tweak again * Imports fix * All tests pass * Updated highlights * Highlight updates on continuous range target * Moved edit decorations into graph * Added decorations to test recorder and runner * Updated to highlight recorder test * Added decorations test * Added decorations test * Added leading and trailing delimiters as separate stage and target * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Create edits in actual targets * Use object oriented targets to construct edits * Enabled bring before and after without to * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Support fully compositional modifiers Fixes #69 * Getting started * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Start using InsertionRemovalBehavior * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup * Tweak * More cleanup * More tweaks * Tweaks * More cleanup * Cleanup * Removed padding from float and drop * Updated that mark on pour action * Lots of stuff * Fixed removal behavior on scope type target * Hide panel on recorded test sweet startup * More stuff * More stuff * Cleanup * Some stuff clean up whatever don't care * Committed some stuff * Stuff * Updated tests * Support chuck after and chuck before * Add hack for "paste to to" * Add run single test launch config * Add comment about running a single test to contributing docs * Update cursorless-talon/src/csv_overrides.py * Update cursorless-talon/src/positional_target.py Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update cursorless-talon/src/positional_target.py Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Use plain target in clear action * Initial modifier unification work * Unify simple modifiers * docstring * Clean up position code * At a couple comments * Creates separate file for target descriptor types * Separate notebook cell edit new from regular edit new * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed that mark on notebook cells * Cleanup * More positional tweaks on talon side * Removes support for chuck after and chuck before * Clean up names * Use proper error for syntax scope not found * Record tests for leading trailing before and after * Add chuck before after to upgrade * Failed attempt at trying to simplify edit new * Revert "Failed attempt at trying to simplify edit new" This reverts commit 52193ae65130d472ff4526bdd72c5100d320b6f0. * Cleanup vscode ignore * Fixed regression in vertical range target (#735) * Revert generic insert empty lines code * Add broken float and puff tests * Add working puff float drop tests * Switch to mocha grep syntax for running subset of tests * Make subdir for insert empty lines tests * Support updating fixture decorations * Add decorations to float drop puff tests * Cleanup test case recorder docs * Add bunch of clone tests * Move files * More cleanup * `PartialTargetDesc` => `PartialTargetDescriptor` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Re-add provenance file * Comments * Bump package version * Attempt to fix docs link Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Will Sommers <will.sommers@gmail.com>
2022-06-07 15:58:44 +03:00
"version": "0.26.0",
2021-03-05 20:16:13 +03:00
"publisher": "pokey",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cursorless-dev/cursorless.git"
2021-03-05 20:16:13 +03:00
},
"homepage": "https://www.cursorless.org/",
2021-02-14 18:23:21 +03:00
"engines": {
"vscode": "^1.61.0"
2021-02-14 18:23:21 +03:00
},
2021-05-13 23:49:11 +03:00
"extensionKind": [
2022-09-21 13:24:36 +03:00
"ui",
"workspace"
2021-05-13 23:49:11 +03:00
],
2021-02-14 18:23:21 +03:00
"categories": [
"Other"
],
"keywords": [
"Voice coding"
],
"extensionDependencies": [
"pokey.parse-tree"
],
2021-02-14 18:23:21 +03:00
"activationEvents": [
2021-02-18 20:43:52 +03:00
"*"
2021-02-14 18:23:21 +03:00
],
2021-05-12 12:53:00 +03:00
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
2021-02-14 18:23:21 +03:00
"contributes": {
"commands": [
2021-03-05 20:16:13 +03:00
{
"command": "cursorless.command",
"title": "Cursorless: Perform command"
},
{
"command": "cursorless.toggleDecorations",
"title": "Cursorless: Toggle decorations"
},
{
"command": "cursorless.recomputeDecorationStyles",
"title": "Cursorless: Recompute decoration styles"
2021-07-31 20:18:06 +03:00
},
{
"command": "cursorless.recordTestCase",
"title": "Cursorless: Record test case"
},
{
"command": "cursorless.pauseRecording",
"title": "Cursorless: Pause test case recording"
},
{
"command": "cursorless.resumeRecording",
"title": "Cursorless: Resume test case recording"
},
{
"command": "cursorless.showDocumentation",
"title": "Cursorless: Show documentation"
2021-02-14 18:23:21 +03:00
}
2021-02-16 19:45:00 +03:00
],
"colors": [
2021-04-18 18:47:36 +03:00
{
"id": "cursorless.pendingDeleteBackground",
"description": "Background color to use for ranges about to be deleted",
"defaults": {
"dark": "#ff00008a",
"light": "#ff00008a",
"highContrast": "#ff00008a"
}
2021-05-02 18:57:42 +03:00
},
{
"id": "cursorless.referencedBackground",
"description": "Background color to use for ranges that are being referenced",
"defaults": {
"dark": "#00a2ff4d",
"light": "#00a2ff4d",
"highContrast": "#00a2ff4d"
}
},
2021-05-02 18:57:42 +03:00
{
"id": "cursorless.justAddedBackground",
"description": "Background color to use for ranges that have just been added",
"defaults": {
"dark": "#09ff005b",
"light": "#09ff005b",
"highContrast": "#09ff005b"
}
2021-05-08 17:57:13 +03:00
},
{
"id": "cursorless.pendingModification0Background",
"description": "Background color to use for ranges that are being changed",
2021-05-08 17:57:13 +03:00
"defaults": {
"dark": "#8c00ff86",
"light": "#8c00ff86",
"highContrast": "#8c00ff86"
2021-05-08 17:57:13 +03:00
}
},
{
"id": "cursorless.pendingModification1Background",
"description": "Background color to use for ranges that are being changed",
2021-05-08 17:57:13 +03:00
"defaults": {
"dark": "#ff009d7e",
"light": "#ff009d7e",
"highContrast": "#ff009d7e"
2021-05-08 17:57:13 +03:00
}
},
{
"id": "cursorless.highlight0Background",
"description": "Background color to use for explicitly requested highlights",
"defaults": {
"dark": "#d449ff42",
"light": "#d449ff42",
"highContrast": "#d449ff42"
}
},
{
"id": "cursorless.highlight1Background",
"description": "Background color to use for explicitly requested highlights",
"defaults": {
"dark": "#60daff7a",
"light": "#60daff7a",
"highContrast": "#60daff7a"
}
2021-03-05 20:16:13 +03:00
}
],
"configurationDefaults": {
"editor.padding.top": 2
},
2021-03-05 20:16:13 +03:00
"configuration": {
"title": "Cursorless",
2021-03-05 20:16:13 +03:00
"properties": {
"cursorless.showOnStart": {
2021-03-05 20:16:13 +03:00
"type": "boolean",
"default": true,
"description": "Whether to show decorations on vscode start."
2021-04-18 18:47:36 +03:00
},
"cursorless.tokenHatSplittingMode.preserveCase": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to distinguish between uppercase and lower case letters for hats. Set this to `true` if you have separate terms for uppercase letters in your `<user.any_alphanumeric_key>` capture."
},
"cursorless.tokenHatSplittingMode.lettersToPreserve": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "A list of characters whose accents should not be stripped. This can be used, for example, if you would like to strip all accents except for those of a few characters, which you would add to this list."
},
"cursorless.tokenHatSplittingMode.symbolsToPreserve": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "A list of symbols that shouldn't be normalized by the token hat splitter. Add any extra symbols here that you have added to your `<user.any_alphanumeric_key>` capture. Unlike the Accents To Preserve setting, these symbols won't even undergo case normalisation, so you would need separate terms for the lowercase and uppercase versions (if the symbol has a notion of upper and lower case)."
},
2022-01-08 18:58:58 +03:00
"cursorless.decorationDebounceDelayMs": {
"type": "number",
"default": 50,
"description": "How quickly to redraw hats in response to scrolling or cursor movement"
},
"cursorless.debug": {
"type": "boolean",
"default": false,
"description": "Whether to show debug logs."
},
2021-04-18 18:47:36 +03:00
"cursorless.pendingEditDecorationTime": {
"type": "integer",
"default": 100,
2021-04-18 18:47:36 +03:00
"description": "How long in milliseconds to show a pending edit decoration"
},
2021-07-09 17:13:52 +03:00
"cursorless.hatSizeAdjustment": {
"type": "number",
2021-07-09 17:13:52 +03:00
"default": 0,
"description": "Percentage to increase or decrease hat size; positive increases size",
"order": 0
},
"cursorless.hatVerticalOffset": {
"type": "number",
"default": 0,
"description": "How much to vertically shift the hats as a percentage of font size; positive is up",
"order": 1
},
"cursorless.colors.dark": {
"description": "Colors to use for dark theme",
"type": "object",
"order": 5,
"properties": {
"default": {
"type": "string"
},
"blue": {
"type": "string"
},
"green": {
"type": "string"
},
"red": {
"type": "string"
},
"pink": {
"type": "string"
},
"yellow": {
"type": "string"
},
"userColor1": {
"type": "string"
},
"userColor2": {
"type": "string"
}
},
"default": {
"default": "#aaa7bb",
"blue": "#089ad3",
"green": "#36B33F",
"red": "#E02D28",
"pink": "#E06CAA",
"yellow": "#E5C02C",
"userColor1": "#6a00ff",
"userColor2": "#ffd8b1"
},
"additionalProperties": false
},
"cursorless.colors.light": {
"description": "Colors to use for light theme",
"type": "object",
"order": 4,
"properties": {
"default": {
"type": "string"
},
"blue": {
"type": "string"
},
"green": {
"type": "string"
},
"red": {
"type": "string"
},
"pink": {
"type": "string"
},
"yellow": {
"type": "string"
},
"userColor1": {
"type": "string"
},
"userColor2": {
"type": "string"
}
},
"default": {
"default": "#757180",
"blue": "#089ad3",
"green": "#36B33F",
"red": "#E02D28",
"pink": "#e0679f",
"yellow": "#edb62b",
"userColor1": "#6a00ff",
"userColor2": "#ffd8b1"
},
"additionalProperties": false
},
"cursorless.hatEnablement.colors": {
"description": "Which colors to enable",
"type": "object",
"order": 2,
"properties": {
"blue": {
"type": "boolean"
},
"green": {
"type": "boolean"
},
"red": {
"type": "boolean"
},
"pink": {
"type": "boolean"
},
"yellow": {
"type": "boolean"
},
"userColor1": {
"type": "boolean"
},
"userColor2": {
"type": "boolean"
}
},
"default": {
"blue": true,
"green": true,
"red": true,
"pink": true,
"yellow": true,
"userColor1": false,
"userColor2": false
},
"additionalProperties": false
},
"cursorless.hatEnablement.shapes": {
"markdownDescription": "Which shapes to enable. See the [docs](https://www.cursorless.org/docs/#shapes) if you're not sure which shape name corresponds to which hat shape.",
"type": "object",
"order": 3,
"properties": {
"ex": {
"type": "boolean"
},
"fox": {
"type": "boolean"
},
"wing": {
"type": "boolean"
},
"hole": {
"type": "boolean"
},
"frame": {
"type": "boolean"
},
"curve": {
"type": "boolean"
},
"eye": {
"type": "boolean"
},
"play": {
"type": "boolean"
},
"bolt": {
"type": "boolean"
},
"crosshairs": {
"type": "boolean"
}
},
"default": {
"ex": false,
"fox": false,
"wing": false,
"hole": false,
"frame": false,
"curve": false,
"eye": false,
"play": false,
"bolt": false,
"crosshairs": false
},
"additionalProperties": false
},
"cursorless.maximumHatStylePenalty": {
"description": "The maximum allowed penalty for a hat style. Any hat style whose penalty is greater than this amount will not be used. A hat style penalty is defined to be the shape penalty plus the colour penalty. Setting this value less than or equal to zero is treated as no maximum.",
"type": "number",
"default": 0
},
"cursorless.hatPenalties.colors": {
"description": "How much to penalize each hat color. Number of syllables is a good default",
"type": "object",
"properties": {
"blue": {
"type": "number"
},
"green": {
"type": "number"
},
"red": {
"type": "number"
},
"pink": {
"type": "number"
},
"yellow": {
"type": "number"
},
"userColor1": {
"type": "number"
},
"userColor2": {
"type": "number"
}
},
"default": {
"blue": 1,
"green": 1,
"red": 1,
"pink": 1,
"yellow": 1,
"userColor1": 1,
"userColor2": 1
},
"additionalProperties": false
},
"cursorless.hatPenalties.shapes": {
"description": "How much to penalize each hat shape. Number of syllables is a good default",
"type": "object",
"properties": {
"ex": {
"type": "number"
},
"fox": {
"type": "number"
},
"wing": {
"type": "number"
},
"hole": {
"type": "number"
},
"frame": {
"type": "number"
},
"curve": {
"type": "number"
},
"eye": {
"type": "number"
},
"play": {
"type": "number"
},
"bolt": {
"type": "number"
},
"crosshairs": {
"type": "number"
}
},
"default": {
"ex": 1,
"fox": 1,
"wing": 1,
"hole": 1,
"frame": 1,
"curve": 1,
"eye": 1,
"play": 1,
"bolt": 1,
"crosshairs": 1
},
"additionalProperties": false
},
"cursorless.individualHatAdjustments": {
"description": "Separate adjustments for each hat shape",
"type": "object",
"default": {
"default": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"ex": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"fox": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"wing": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"hole": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"frame": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"curve": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"eye": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"play": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"bolt": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"crosshairs": {
"sizeAdjustment": 0,
"verticalOffset": 0
}
}
},
"cursorless.experimental.snippetsDir": {
"description": "Directory containing snippets for use in cursorless",
"type": "string"
2021-02-16 19:45:00 +03:00
}
}
},
"languages": [
{
"id": "json",
"extensions": [
".cursorless-snippets"
]
}
],
"jsonValidation": [
{
"fileMatch": "*.cursorless-snippets",
"url": "./schemas/cursorless-snippets.json"
}
],
"icons": {
"cursorless-icon": {
"description": "Cursorless icon",
"default": {
"fontPath": "fonts/cursorless.woff",
"fontCharacter": "\\E900"
}
}
}
2021-02-14 18:23:21 +03:00
},
"sponsor": {
"url": "https://github.com/sponsors/pokey"
},
"funding": "https://github.com/sponsors/pokey",
2021-02-14 18:23:21 +03:00
"scripts": {
2021-04-22 15:45:07 +03:00
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"update-licenses": "npx npm-license-crawler --onlyDirectDependencies --csv third-party-licenses.csv",
2021-05-12 12:53:00 +03:00
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
2021-04-22 15:45:07 +03:00
"esbuild": "npm run -S esbuild-base -- --sourcemap",
"esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
2021-02-14 18:23:21 +03:00
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
2021-08-01 21:16:36 +03:00
"pretest": "yarn run compile && yarn run lint && yarn run esbuild",
2021-02-14 18:23:21 +03:00
"lint": "eslint src --ext ts",
"test": "env CURSORLESS_TEST=true node ./out/test/runTest.js",
Support fully compositional modifiers (#672) * Fixed bug in removal range for range target * A dead delimiter highlight to range target * Added token context to all marks * Added correct token context too regex * Don't unifi ranges on content only removal * Update the test * Added feature to run single recorded test * Updated tests * Fallback on token context for containing scope * Updated target inference * general refactoring of removable ranges * Updated unify removal targets * Fixed that mark bug on set selection * Fixed is reverse bug on vertical range targets * Fixed is reverse bug on vertical range targets * Set empty delimiter on end of and start of positions * Updated test * Fixed last tests * Added description to run single recorded test * At dead tests for bring before and after file * Update to removal ranges * Mark cleanup * Added interior only and exclude interior as proper modifiers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added support for every line * Only select lines with content * Added take every paragraph * Added every file line and block tests * Added take every token * Added every too regex stages * Cleanup * Moved example of custom test transformation to docs * Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update src/core/commandVersionUpgrades/upgradeV1ToV2/upgradeV1ToV2.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added OO targets * Fixed merge conflict * Reversed order of migration modifiers * Default to array * Cleaned up inference code * Added paragraph target * Better updates of new range * oo targets past all test * Added line and paragraph tests * Highlight update * Added script to show unused exports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added line 2 unused export * Default modifiers to empty array * Don't use hat map * Modifiers default to undefined * Fixed is implicit inference * Removed get tokens function * Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update src/core/inferFullTargets.ts Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * General cleanup * Added notebook cell target * Support delimiter based edit newline (#684) * Added delimiter based edit line * Added support for arbitrary delimiters * Added tests * Renamed is above to is before * Better handling of empty lines * Cleanup * Added default delimiters for some common scope types * Run yarn * Attempt to fix raw delimiter * Fixed delimiter * Revert "Attempt to fix raw delimiter" This reverts commit 0de07989dc408aedba56995d20c3043fa034f81a. * Revert "Fixed delimiter" This reverts commit a035390f78cba4b9a88b51722d347277293dda9c. * Use low dash unique with * Made base target abstract * Updated tests * Added return type * Fixed compilation errors * Updated position * Add empty string as default delimiter for sub tokens * Updated bugs * Cleanup * Added tests * Updated inference of implicit target * Updated spoken forms in test * Utilize getters * Refactored getters and setters for targets * Implemented get final stages * Added final stages to process targets * Cleanup * Converted command action into object with associated arguments * Switch to complex scope types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove scope type type from base target * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated to edit new context * Added bring statement test * Change behavior of pour line * Use weak containing line stage for edit new * Updated edit new * Get targets in correct order * Updated selection for editor * Cleanup * New attempt at EditNew * Added rich targets * Updated edit new with proper line handling * Only used single edit * Added comment * Added comment * Cleanup * Added derived target * Moved weak target into base target class * Cleanup * Updated action form * Updated scope type for tests * Fix upgrade path with ordinal range * Pass leading and trailing delimiters to super constructor * Learn to spell * Updated more tests * Cleanup * Fixed bug taking matching pair in error code * Added block tests * Fixed test * Added support for custom delimiters in copy lines * Fix package json * Fix one test * Updated tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Disabled phrase snapshot on recorded test runner * Updated test and upgrade path * Fixed failing hat map tests * Added sleep option to recorded tests * Verbosity for the win * Tweak modify of week stage * Minor python cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Don't de duplicate that mark * Use utility function to set selection that deduplicates * Make document content range the entire file including white lines * Added source mark to wrap action * Added source mark to actions wrap and rewrap * Updated error messages * Updated tests * Don't focus editor on notebook cell insertion * Cleanup * Don't update selection on notebook cell insertion * Add comment * Various fixes * More renames and stuff * Fix bug with missing delimiters in weak targets * Update src/processTargets/processTargets.ts Co-authored-by: Will Sommers <will.sommers@gmail.com> * Unify implementation of copy lines and edit new actions * Rename * Started working on lazy removal * Clarify processPrimitiveTarget * Tweak * Tweak again * Imports fix * All tests pass * Updated highlights * Highlight updates on continuous range target * Moved edit decorations into graph * Added decorations to test recorder and runner * Updated to highlight recorder test * Added decorations test * Added decorations test * Added leading and trailing delimiters as separate stage and target * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Create edits in actual targets * Use object oriented targets to construct edits * Enabled bring before and after without to * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Support fully compositional modifiers Fixes #69 * Getting started * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Start using InsertionRemovalBehavior * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup * Tweak * More cleanup * More tweaks * Tweaks * More cleanup * Cleanup * Removed padding from float and drop * Updated that mark on pour action * Lots of stuff * Fixed removal behavior on scope type target * Hide panel on recorded test sweet startup * More stuff * More stuff * Cleanup * Some stuff clean up whatever don't care * Committed some stuff * Stuff * Updated tests * Support chuck after and chuck before * Add hack for "paste to to" * Add run single test launch config * Add comment about running a single test to contributing docs * Update cursorless-talon/src/csv_overrides.py * Update cursorless-talon/src/positional_target.py Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update cursorless-talon/src/positional_target.py Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Use plain target in clear action * Initial modifier unification work * Unify simple modifiers * docstring * Clean up position code * At a couple comments * Creates separate file for target descriptor types * Separate notebook cell edit new from regular edit new * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed that mark on notebook cells * Cleanup * More positional tweaks on talon side * Removes support for chuck after and chuck before * Clean up names * Use proper error for syntax scope not found * Record tests for leading trailing before and after * Add chuck before after to upgrade * Failed attempt at trying to simplify edit new * Revert "Failed attempt at trying to simplify edit new" This reverts commit 52193ae65130d472ff4526bdd72c5100d320b6f0. * Cleanup vscode ignore * Fixed regression in vertical range target (#735) * Revert generic insert empty lines code * Add broken float and puff tests * Add working puff float drop tests * Switch to mocha grep syntax for running subset of tests * Make subdir for insert empty lines tests * Support updating fixture decorations * Add decorations to float drop puff tests * Cleanup test case recorder docs * Add bunch of clone tests * Move files * More cleanup * `PartialTargetDesc` => `PartialTargetDescriptor` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Re-add provenance file * Comments * Bump package version * Attempt to fix docs link Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Will Sommers <will.sommers@gmail.com>
2022-06-07 15:58:44 +03:00
"unused-exports": "ts-unused-exports tsconfig.json --showLineNumber",
"init-launch-sandbox": "node ./out/test/initLaunchSandbox.js",
"prepare-for-extension-publish": "node ./out/scripts/prepareForExtensionPublish.js"
2021-02-14 18:23:21 +03:00
},
"devDependencies": {
"@types/glob": "^7.1.3",
2021-07-31 20:18:06 +03:00
"@types/js-yaml": "^4.0.2",
2021-02-14 18:23:21 +03:00
"@types/mocha": "^8.0.4",
"@types/node": "^16.11.3",
"@types/semver": "^7.3.9",
2021-07-31 20:18:06 +03:00
"@types/sinon": "^10.0.2",
"@types/vscode": "~1.61.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"@vscode/test-electron": "^2.1.3",
2021-04-22 15:45:07 +03:00
"esbuild": "^0.11.12",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"fast-xml-parser": "^3.20.0",
2021-07-31 20:18:06 +03:00
"glob": "^7.1.7",
"js-yaml": "^4.1.0",
2021-02-14 18:23:21 +03:00
"mocha": "^8.1.3",
"npm-license-crawler": "^0.2.1",
2022-06-22 17:18:31 +03:00
"prettier": "2.7.1",
"semver": "^7.3.7",
2021-07-31 20:18:06 +03:00
"sinon": "^11.1.1",
"ts-unused-exports": "8.0.0",
"typescript": "^4.5.5"
2021-02-16 19:45:00 +03:00
},
"dependencies": {
"@types/lodash": "^4.14.168",
2021-04-22 15:45:07 +03:00
"immutability-helper": "^3.1.1",
"lodash": "^4.17.21",
"node-html-parser": "^5.3.3"
2021-02-14 18:23:21 +03:00
}
}