Commit Graph

5897 Commits

Author SHA1 Message Date
renovate[bot]
95a644fa31
Update dependency webpack-merge to v5.8.0 (#6705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 09:58:35 +00:00
renovate[bot]
ba2c5aaf5d
Update dependency ts-loader to v9.2.3 (#6704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-06 07:20:11 +00:00
Jason Fields
b8df474f47 Improve reporting after :s
- Report number of substitutions (and number of lines) when it exceeds `report`
- Include pattern in "Pattern not found" error message
Fixes #6698
2021-06-05 15:28:41 -04:00
Jason Fields
b2c6102b3b Enable noImplicitOverride
Fixes #6670
2021-06-05 13:57:51 -04:00
renovate[bot]
a6e52dc072
Update dependency prettier to v2.3.1 (#6701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-05 13:09:05 +00:00
renovate[bot]
5f9af7ea7b
Update dependency vsce to v1.92.0 (#6697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 15:28:09 +00:00
Jason Fields
c3d11d8aaf Clean up gulpfile a bit 2021-06-02 17:35:29 -04:00
Jason Fields
9d7377859c Fix cursor position after undoing/redoing certain actions
In particular, undoing a Visual/VisualBlock operator should now put the cursor in the right place.
Refs #6681
2021-06-02 16:58:50 -04:00
Jason Fields
9091da09cc Make VimState.isMultiCursor a function
I can't see any reason why this would be incorrect, and if it does break something, that something is wrong and should be fixed - there's no reason to maintain this information manually.
2021-06-02 16:31:07 -04:00
Jason Fields
458fd32c03 Enforce safer use of vscode.WorkspaceConfiguration 2021-06-02 16:04:44 -04:00
Jason Fields
d0e33d2049 Ensure & creates an undo point 2021-06-02 15:09:21 -04:00
renovate[bot]
6214cddb72
Update dependency @types/sinon to v10.0.2 (#6685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 10:57:35 +00:00
renovate[bot]
6a51099184
Update dependency @types/node to v12.20.14 (#6684)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 09:16:38 +00:00
Abid H. Mujtaba
91b58999e9
Add Python-specific motions (#6393)
- Map ([|])(m|M) to motions to the prev|next start|end of Python functions
- Map ([|])([|]) to motions to the prev|next end|start of Python classes

Fixes #6213
2021-06-01 21:32:00 -04:00
renovate[bot]
fbea6a080b
Update dependency vsce to v1.91.0 (#6680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 12:12:38 +00:00
Jason Fields
f0282c0c86 Slight change to HistoryTracker interface
At least currently, we only store a single cursor position per HistoryStep to restore on undo/redo. Let's be honest about that fact.
2021-06-01 00:13:30 -04:00
Jason Fields
4ba5da3740 Ex commands like :s should create undo points
See #5058 for some background on this issue, which really needs rationalization.
2021-05-30 22:13:47 -04:00
Jason Fields
8750e3754b Use transformations for gr (replace with register)
Fixes #5115
2021-05-30 19:13:25 -04:00
Jason Fields
75aa7a7dc9 Use transformations for gu, gU, and g~ 2021-05-30 18:27:46 -04:00
Jason Fields
338c202c5a Use transformation for increment/decrement 2021-05-30 16:44:23 -04:00
Jason Fields
3fd358d7ad Fix :sort with both (i)gnorecase and (u)nique flags set 2021-05-30 16:00:15 -04:00
Jason Fields
d25f6676ad Use transformation for :sort and fix cursor position 2021-05-30 15:36:06 -04:00
Jason Fields
6b03413559 Run prettier 2021-05-29 22:52:13 -04:00
Jason Fields
fe6a154f78 Rename custom Range class to Cursor
Refs #4585
2021-05-29 21:15:20 -04:00
Jason Fields
07b542874f Use vscode.Range for replaceRange in put implementation
Refs #4585
2021-05-29 20:58:49 -04:00
Jason Fields
fee65ee8b1 Use vscode.Range in Transformations
Refs #4585
2021-05-29 17:07:23 -04:00
Jason Fields
fd08546324 Fix edge case in selection handling caused by our inability to handle <Tab> directly
Fixes #6327
2021-05-29 15:53:17 -04:00
sql-koala
be2a52af5e
Surround Rewrite (#6452)
This reduces the jank of the surround plugin substantially, fixes a number of bugs, and uses an InputBox for specifying tags.
Fixes #1818, fixes #5211, fixes #2893, fixes #6564, fixes #3386
2021-05-29 15:17:33 -04:00
Jason Fields
7103285539 Enable strictPropertyInitialization
Fixes #5847
2021-05-28 21:34:16 -04:00
Jason Fields
671558390a Make BaseAction.keys abstract and readonly
Refs #5847
2021-05-28 18:22:56 -04:00
Jason Fields
f22fbed657 Merge <C-y> and <C-e> in Insert mode with DocumentContentChangeAction
Repeating these should do the same insertion, regardless of what's below/above the cursor.
2021-05-28 17:19:23 -04:00
Jason Fields
5e2b9ce25e Expand and organize test suite a bit
- `I`, `gI`, `gi`
- `w` and `go` motions
- `<C-a>` in Insert mode
- `<C-y>` and `<C-e>` in Insert mode
- `.` after content change with `<BS>`, `<Del>`, and `<CR>`

Refs #5033
2021-05-28 16:23:03 -04:00
Jason Fields
518d3d5923 Clean up :substitute test suite 2021-05-28 15:28:49 -04:00
sekai013
f4a46889cc
Fix substitute with backslash (#6409)
Fixes #2710
2021-05-28 14:07:41 -04:00
renovate[bot]
bad94e16fe
Update dependency webpack to v5.38.1 (#6673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-27 19:49:30 -04:00
renovate[bot]
33442812ac
Update dependency webpack to v5.38.0 (#6671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-27 14:03:05 +00:00
renovate[bot]
6ce29e4cdd
Update dependency typescript to v4.3.2 (#6669)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 14:10:41 -04:00
renovate[bot]
b8c5303d1a
Update dependency sinon to v11.1.1 (#6668)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 11:35:27 -04:00
renovate[bot]
090e94105b
Update dependency @types/sinon to v10.0.1 (#6665) 2021-05-25 15:25:16 -04:00
dependabot[bot]
eecb5777b0
Bump browserslist from 4.14.5 to 4.16.6 (#6661)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.5 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.5...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 15:15:41 -04:00
renovate[bot]
78a2fd4daa
Update dependency sinon to v11.1.0 (#6663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 15:42:52 +00:00
renovate[bot]
f2c2c29da1
Update dependency sinon to v11 (#6660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 23:57:08 +00:00
renovate[bot]
420af16608
Update dependency ts-loader to v9.2.2 (#6651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-22 21:48:59 +00:00
renovate[bot]
6c08ea565c
Update dependency @types/lodash to v4.14.170 (#6647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-21 13:15:01 +00:00
renovate[bot]
af46ee4852
Update dependency ts-loader to v9.2.1 (#6636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 15:01:44 +00:00
renovate[bot]
989158796c
Update dependency webpack to v5.37.1 (#6635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 09:08:05 +00:00
renovate[bot]
8fa718c32c
Update dependency fork-ts-checker-webpack-plugin to v6.2.10 (#6633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-18 22:26:02 +00:00
renovate[bot]
cf4e7b0194
Update dependency ts-loader to v9.2.0 (#6632)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-18 15:32:33 -04:00
Jason Fields
7fc9280b93 bump version 2021-05-17 22:48:02 -04:00
Jason Fields
244c656d49 Fix edge case in remap parsing
Fixes #6153
2021-05-14 21:35:53 -04:00