renovate[bot]
f985348d92
Update dependency @types/node to v14.17.34 ( #7265 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 16:25:26 -05:00
renovate[bot]
26226b93b2
Update dependency typescript to v4.5.2 ( #7260 )
2021-11-17 15:04:03 -05:00
renovate[bot]
fc34b03a80
Update dependency webpack to v5.64.1 ( #7259 )
2021-11-15 13:30:20 -05:00
renovate[bot]
586284fc4f
Update dependency @types/lodash to v4.14.177 ( #7258 )
2021-11-15 13:21:04 -05:00
J.R. Maingat
df3eab22cd
Refactor externalCommand.ts to not use temporary files ( #7252 )
...
Refactors `externalCommand.ts` to use event emitters instead of temporary files to read the command output into the Vim buffer. This is much more cross-platform friendly. Creating temporary files and file paths are OS-dependent, which has made it difficult to build a `vim.shell` setting for #7100... so instead, this PR lets `exec`'s event emitters handle reading stdout/stderr for us.
2021-11-12 21:56:06 -05:00
Jason Fields
8353f1668c
Canceling ex command line should add ex command to history
...
This already works correctly for searches
2021-11-12 21:38:35 -05:00
Jason Fields
e8e441b7af
Fix recently introduced bug in search history
2021-11-12 21:37:30 -05:00
renovate[bot]
38a33052b6
Update dependency webpack to v5.64.0 ( #7250 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 16:33:46 +00:00
renovate[bot]
a698425fdd
Update dependency vsce to v2.3.0 ( #7248 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 14:52:42 +00:00
renovate[bot]
f42a7580d0
Update dependency webpack to v5.63.0 ( #7241 )
2021-11-09 16:00:09 -05:00
renovate[bot]
18c16c174e
Update dependency webpack to v5.62.2 ( #7240 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 14:41:48 +00:00
renovate[bot]
c0b4110339
Update dependency @types/node to v14.17.33 ( #7239 )
2021-11-08 17:37:06 -05:00
Jason Fields
b72c0afcbd
Remove obsolete hack
2021-11-07 21:14:47 -05:00
Jason Fields
35faa9209b
Fail gracefully when trying to jump to a weird document (like a search editor)
...
Fixes #6445
2021-11-05 14:12:15 -04:00
Jason Fields
8fb76a106b
Deprecate getCursorsAfterSync()
and remove its use of activeTextEditor
2021-11-05 13:54:21 -04:00
renovate[bot]
69cc471f10
Update dependency webpack to v5.62.1 ( #7236 )
2021-11-05 13:34:07 -04:00
injae.lee
b5573cde0f
Fix paste with <D-v>
in command-line mode ( #7227 )
...
Fixes #6922
2021-11-05 13:23:09 -04:00
renovate[bot]
a21f46fd0c
Update dependency webpack to v5.62.0 ( #7234 )
2021-11-05 13:03:35 -04:00
renovate[bot]
115420398d
Update dependency vsce to v2.2.0 ( #7233 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 13:21:51 +00:00
WhiteSource Renovate
f4fef4cad5
Update dependency vsce to v2.1.0 ( #7231 )
2021-11-04 18:03:57 -04:00
renovate[bot]
60d1b340ec
Update dependency vsce to v2 ( #7229 )
2021-11-04 16:59:48 -04:00
Jason Fields
7a24104d57
Use node v14 in GitHub Actions
2021-11-04 13:50:47 -04:00
renovate[bot]
ab44116806
Update dependency sinon to v12.0.1 ( #7228 )
2021-11-04 13:45:40 -04:00
renovate[bot]
8a7ed95c07
Update dependency vsce to v1.103.1 ( #7226 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 11:45:36 +00:00
renovate[bot]
8971b4ad74
Update dependency sinon to v12 ( #7222 )
2021-11-03 12:54:59 -04:00
renovate[bot]
f601196351
Update dependency vsce to v1.103.0 ( #7220 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 16:39:35 +00:00
elazarcoh
36806a9171
Support \%V
atom in Pattern ( #7215 )
...
This should be a zero-length atom which matches only in the last visual
selection. Currently, we ensure the entire match is within the last visual
selection if `\%V` is anywhere in the pattern, which satisfies the common
use case.
Fixes #4936
2021-11-02 14:20:55 -04:00
renovate[bot]
3a0f125ca1
Update dependency vsce to v1.102.0 ( #7217 )
2021-11-02 13:57:39 -04:00
renovate[bot]
a946d96e35
Update dependency vsce to v1.101.0 ( #7216 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:46:23 +00:00
Jason Fields
1424ce6b2f
Slight refactor combining a few actions
2021-11-01 01:58:34 -04:00
Jason Fields
14cd21bd4b
Remove long-commented action
2021-10-29 21:24:17 -04:00
Jason Fields
921dd27c51
Ex commands executed via remap should not be added to ex command history
2021-10-29 21:04:34 -04:00
Jason Fields
b58bb6ed25
Throw correct error when an unimplemented command is used with arguments
...
Fixes #7207
2021-10-29 19:57:55 -04:00
Jason Fields
9712a7744a
Prettier
2021-10-29 17:36:24 -04:00
Jason Fields
9fa6137b6c
Fix small bug in :s[ubstitute]
parsing
...
There can be whitespace between the flags and count, but it's not necessary.
Fixes #4177
2021-10-29 16:58:07 -04:00
renovate[bot]
5eb6e2b769
Update dependency webpack to v5.61.0 ( #7210 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 15:19:33 +00:00
Jason Fields
d7ad735160
Rename DeleteRangeCommand
and SetOptionsCommand
for consistency
2021-10-28 13:34:39 -04:00
Brett Cannon
b00f9dc458
Fix a typo in the bug report template ( #7205 )
2021-10-28 01:51:48 -04:00
Jason Fields
23dd22154f
Fix line ranges with ;
...
Fixes #6496
2021-10-28 01:25:46 -04:00
Jason Fields
3e1c72a0b7
Refactor :s[ubstitute]
, fixing a few bugs:
...
- Capture groups (fixes #6963 )
- Multi-line matches (fixes #5185 )
- Cursor placed at start of last replaced line
2021-10-28 00:25:05 -04:00
renovate[bot]
c5301b2a6c
Revert "Update dependency @types/node to v16 ( #7199 )"
...
This reverts commit b921499697
.
VS Code is not yet built from an electron version that uses Node 16.
2021-10-26 14:22:14 -04:00
renovate[bot]
b921499697
Update dependency @types/node to v16 ( #7199 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 09:53:33 +00:00
renovate[bot]
ac5c996cf8
Update dependency @types/sinon to v10.0.6 ( #7197 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 08:18:43 +00:00
renovate[bot]
21e294328d
Update dependency @types/node to v14.17.32 ( #7196 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 04:12:36 +00:00
renovate[bot]
8b492395b4
Update dependency webpack to v5.60.0 ( #7195 )
2021-10-25 15:51:14 -04:00
renovate[bot]
c712aef496
Update dependency @types/node to v14.17.31 ( #7191 )
2021-10-25 15:39:50 -04:00
renovate[bot]
a799b2ca7b
Update dependency @types/sinon to v10.0.5 ( #7194 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 16:11:50 -04:00
renovate[bot]
acc9c1cd7b
Update dependency vsce to v1.100.2 ( #7193 )
2021-10-22 11:03:24 -04:00
Jason Fields
17518cd27c
Fix a few issues with command line history
...
Fixes #5694 , fixes #4093
2021-10-21 13:10:08 -04:00
Jason Fields
028e9c6533
Big refactor of command line & search
...
This removes a lot of code duplication, creates a better abstraction,
makes testing easier, and lays the groundwork for some features like:
- `:s` and similar commands working with `hlsearch` (#4934 )
- The expression register (#4383 )
- Better `incsearch` support (#4837 )
The central change here is to take various pieces of global state which
were scattered and throughout the project and bring them together,
localizing them where possible to an object (`CommandLine`) held by
`VimState` (this naturally fixes #7038 ).
This applies to both ex commands and the search command line, which
means we finally have a uniform interface for them!
2021-10-21 01:26:45 -04:00