cursorless/CHANGELOG.md
2021-08-17 17:02:07 +01:00

14 KiB

Change Log

All notable changes to the "cursorless" extension will be documented in this file.

0.21.0 (2021-08-17)

Full Changelog

Implemented enhancements:

  • Improve error messages for sub token modifiers #201
  • Rename xmlAttribute scope type to attribute #198
  • Change highlight for insert new empty line #139
  • Add "source" mark #107
  • Add "reversed" modifier #99
  • Add "reverse" action #98
  • Add "sort" action #97
  • Scope modifier for regex #89
  • Support "map" and "item" modifiers for pattern destructuring #85
  • Support "reformat as" action #74
  • Support head and tail modifiers #70
  • Support duplication of lines #55
  • Support numeric ranges for insert #48
  • Support absolute line number mark #44
  • Standardize and align on terms for map entries and list elements #40
  • Support "call" action #38
  • Add "phones" action #31
  • Support "replace with" action #15
  • Support subword for token containing cursor #10
  • Infer type of first swap argument #8

Fixed bugs:

  • "Value" scope type in Python doesn't work when value contains array index #223
  • "Take past end of token" doesn't work #222
  • "token" modifier doesn't work with ranges #221
  • "take every key" and "take every value" are broken #220
  • "Chuck past end of T" removes trailing delimiter #209
  • Containing token inference doesn't work next to single-character token #200
  • "float" highlights wrong line when applied to last line of file #197
  • Breakpoint action not working on mac #195
  • "take block" ends up with reversed selection #155
  • "dupe block" should add an extra newline before the new block #154
  • "Pour block" creates new line after the wrong line #153
  • Space delimiter code is too aggressive #152
  • "arg" modifier doesn't work in javascript #109
  • Support Javascript template literals for string scope #86
  • Fix function transformation in Typescript with "export default" #20
  • Merge sequential pending change highlights #2

Closed issues:

  • Switch to flow-style for simple objects in test yaml dump #161
  • Implement scope modifier for argument name #144
  • Add documentation for how to add a new language #132
  • Change "copy", "paste" and "cut" actions by moving selection and using built-ins #127
  • Error: Cannot read property 'rootNode' of undefined #113
  • Make test case recorder #59
  • "token" selection type should expand to nearest containing token #37
  • Change “if” to “if state” #50
  • Try “pre” instead of “pree” #22

Merged pull requests:

0.20.0 (24 July 2021)

Enhancements

Bugs fixed

Code quality

0.19.0 (16 July 2021)

Enhancements

  • Support "move", "bring to after" / "move to after", and properly cleaning up spaces / newlines on delete

0.18.0 (12 July 2021)

Enhancements

  • Add support for untrusted workspaces (#104)

0.17.0 (9 July 2021)

Documentation

0.16.0 (9 July 2021)

Enhancements

  • Svg Hats (#66)
  • Add type modifier (#32)
  • Updated regexp to support fixed tokens and sequential symbols (#33)
  • Add name modifier (#56)
  • Added actions to scroll target top/center (#58)

Fixes

  • Fix subword for all caps tokens (#67)

0.15.0

  • Support "character" subtoken modifier (eg "take fine third character") (thanks @brxck!)

0.14.0

  • Support insertLineBefore and insertLineAfter actions ("drink" and "pour")

0.13.0

  • Support "file" selection type to refer to the entire file
  • Improve error messages

0.12.0

  • Add subword support
  • [python] Fix parameter modifier
  • Show exceptions to user
  • Properly support using "token" to select only token, eg "take funk gust and token fine" to prevent "fine" from being inferred to have the function modifier.
  • Support "bring" action to use another target from elsewhere in the document

0.11.0

  • Simplify token regex

0.10.0

  • Add Python support

0.9.0

  • Support "string" and "comment" scope types

0.8.0

  • Support "fold", "unfold", and "swap" actions

0.7.0

  • Support "cut" action (default term in vscode-talon is "carve")

0.6.0

  • Support "copy" action

0.5.0

  • Support "that" to refer to previous target
  • Support "extract" action to extract to constant

0.4.0

  • Support pair key and value nodes
  • Support selecting all siblings

0.3.0

  • Support wrap

0.2.0

  • Add support for arguments and pairs