Skip to content

Latest commit

 

History

History
104 lines (78 loc) · 6.13 KB

CHANGELOG.md

File metadata and controls

104 lines (78 loc) · 6.13 KB

CHANGELOG

  • 5.3.0 Make codeActions work better (including multiple actions).
       - editBuilder awaits added.
       5.3.1 - Add reveal option to findAndSelect.
       5.3.3 - Fix empty line finds.

  • 5.2.0 Switched from CompletionProvider to JSON Schema for keybindings/settings.
       - Fix [\n] being replaced with [\r?\n] in regex's.
       5.2.1 - Fix next/previous ^/$/^$. More vscode.EndOfLine.CRLF in resolveFind.
       5.2.2 - Add the generic next/previous case handling back.
       5.2.3 - Better [\n] handling in and out of character classes.

  • 5.1.0 Enabled multiple ${getInput}'s in an argument. Added regex.js for commonly used regular expressions.
       - Fix lineNumber/Index matching.
       - Fix matchAroundCursor bug - set regex true.
       5.1.3 Fix next/previous bug - calculate cursorIndex again.

  • 5.0.0 Much work on making the code more asynchronous.
       - ${getInput} is replacing ${getFindInput}. It now works in replace, run, postCommands, cursorMoveSelect, filesToInclude and filesToExclude arguments.
       - ${/} path separator variable added.
       - Work on matching empty lines.

  • 4.8.0 Added preserveSelections argument. Completions work in .code-workspace (workspace settings) files.
       4.8.2 Fixed escaping while using ${getFindInput}.
       4.8.3 Less escaping on variable replacements not in replace/run.
       4.8.4 Work on capture groups in replace with no find and isRegex true or false.

  • 4.7.0 Added ignoreWhiteSpace argument.
       Added ${getFindInput} variable for find queries.
       Added runWhen argument to control when the run operation is triggered.
       Added "restrictFind": "matchAroundCursor" option.
       4.7.1 Added runPostCommands and resolvePostCommandVariables. Added a command to enable opening readme anchors from completion details.
       4.7.2 Added intellisense to .code-workspace settings.

  • 4.6.0 Handling of backslashes for \n, \\n, \t and \\t improved significantly in jsOperations.
       Fixed lineNumber/Index bug for next... and previous... restrictFind options.
       Removed activationEvents checking and updating - unnecessary now.
       4.6.1 Reworked completionProvider for more intellisense, especially when manually invoked.
       4.6.2 Incorporated runCommands for pre/postCommands.

  • 4.5.0 Added $CURRENT_TIMEZONE_OFFSET and ${CURRENT_TIMEZONE_OFFSET} and ${ CURRENT_TIMEZONE_OFFSET }.

  • 4.4.0 Introduced reveal argument for findInCurrentFile command. Reveal first/next/last options.
       Escaped glob characters '?*[]' in file/folder names for files to include and ${resultsFiles}.
       4.4.5 reveal argument works for `"restrictFind": "line/once" now.

  • 4.3.0 Introduced onceExcludeCurrentWord and onceIncludeCurrentWord (once is deprecated).
       Made lineNumber/lineIndex matches work with the once... values.

  • 4.2.0 Introduced args.run to run js code as a side effect and not necessarily a replacement.

  • 4.1.0 Made all next.. and previous... restrictFind options reveal.
       Made cursorMoveSelect work better with alternate-like regexes: "$1|$2" for example.
       Added {n:/snakecase} transform.
       Can do case modifications on conditionals and case transforms now. \\U${1:add this text}.
       Check args of pre/postCommands works with command objects (i.e., with arguments).

  • 4.0.0 Added previous... options to restrictFind.
       Added the ability to use the vscode api in a javascript operation.
       More use of outputChannel, to check arguments.
       Can use ${getTextLines:(${lineIndex/Number}+-/*%n)}}.
       Replace forEach with await Promise.all(editor.selections.map(async (selection) => { to get async.

  • 3.4.0 Refactor jsOPeration command parsing. Bug fixes on search in file/folder commands.

  • 3.3.0 Move postCommands into individual transform functions. Run them only if a find match.
       cursorMoveSelect in whole document restricted to find match ranges.

  • 3.2.0 Added the variables ${getDocumentText} and ${getLineText:n}.
       3.2.5 Rename ${getLineText:n} and add ${getLineText:n-p} and ${getLineText:n,o,p,q}.
       3.2.6 Fix setting filesToInclude to resolved ${resultsFiles}.

  • 3.0.0 Enable multiple searches in runInSearchPanel.
       Added snippet variable resolution to runInSearchPanel.
       Added a delay arg to runInSearchPanel.
       3.1.0 Escape /'s in a replace. Added outputChannel.

  • 2.4.0 Use capture groups in find.
       2.4.2 Restrict number of capture groups to 9.
       2.4.3 Fixed cursorMoveSelect and once/line. Added ignore langID's.

  • 2.3.0 Can now execute vscode commands with arguments.

  • 2.2.0 Added the ability to run vscode commands before performing the find.
       Improved ^ and $ regex line delimiter handling in cursorMoveSelect.

  • 2.1.0 Added intellisense for find snippet variables.
      Fixed find ${TM_CURRENT_LINE} resolution.

  • 2.0.0 Work on $${<operation>}$$, adding $$ to the end for parsing. Breaking change.
       Added snippet-like cursor replacements.
       Added ability to have an array of code for jsOp replace.
       Added snippet variables like ${CURRENT_HOUR}, ${LINE_COMMENT}, ${TM_CURRENT_LINE}, etc.

  • 1.1.0 Work on $${<operation>}, adding return. Breaking change.

  • 1.0.0 Added ability to do math and string operations on findInCurrentFile replacements.
       Can do multiple finds and replaces in a single keybinding or setting.

  • 0.9.8 Added more lineNumber/Index support. Added matchNumber/Index variable.

  • 0.9.7 Added error checking for arguments. Added support for onlyOpenEditors argument.