1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-11-25 16:42:55 +01:00
Commit Graph

7945 Commits

Author SHA1 Message Date
Matt Ellis
287ba7055e
Simplify BoundedListOption 2021-06-10 11:29:20 +01:00
Matt Ellis
dfbec1f23a
Rename "bound" options to "bounded" 2021-06-10 11:18:57 +01:00
Matt Ellis
55dedb4c4d
Remove resetShape method
We should avoid setting the shape explicitly, and let it update when the mode changes.

Note that shape can affect the visual position of the caret around inlays (e.g. 'a' at the end of a rename hotspot with a trailing inlay for options will remain in between the text and the inlay, while 'l' in command mode will move after the inlay. Both positions are at the same text offset). We should still avoid explicitly setting shape before moving the caret. We can't guarantee the order of changing mode and moving the caret, so we update the visual position at the current offset when changing mode. (We're also currently using mode as an assumption of shape)
2021-06-10 11:05:41 +01:00
Matt Ellis
9c71b444c6
Update caret visual attributes when mode changes
Removes updateCaretState and unnecessary usages
2021-06-05 01:04:01 +01:00
Matt Ellis
e859b1c131
Remove resetCaret 2021-06-05 00:33:04 +01:00
Matt Ellis
6c4bd9cc10
Refactor caret shape functions 2021-06-05 00:21:58 +01:00
Matt Ellis
b50281f8d5
Extract caret shape methods to helper 2021-06-05 00:14:10 +01:00
Matt Ellis
2be0f5cedb
Reset caret visual position after mode changes
Fixes an issue where the caret was incorrectly positioned because it was moved before the mode was changed. This wasn't visible in 211 because a couple of bugs in the platform combined to put the caret in the right place.

See #280, IDEA-262153 and KTIJ-3768
2021-06-04 17:05:03 +01:00
Matt Ellis
646a89d52a
Refactor showMode update 2021-06-04 16:45:07 +01:00
Alex Plate
fea71903de
Fix global test 2021-06-04 09:39:10 +03:00
Alex Plate
0220d2b40f
Suppress inspection 2021-06-04 09:39:09 +03:00
dependabot[bot]
c751c51b25 Bump markdown from 0.2.3 to 0.2.4
Bumps [markdown](https://github.com/JetBrains/markdown) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/JetBrains/markdown/releases)
- [Commits](https://github.com/JetBrains/markdown/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains:markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 09:37:10 +03:00
Alex Plate
8fedf78e03
refactoring: update formatting 2021-06-03 11:57:27 +03:00
Alex Plate
bd3c86e068
Update plugin.xml 2021-06-03 11:47:00 +03:00
Alex Plate
46d459bd73
Update changelog 2021-06-03 11:04:49 +03:00
Alex Plate
d1feaad5a9
Update dependabot lock 2021-06-03 11:02:27 +03:00
Alex Plate
b5b6c8f37a
fix(sethandler): Correct presentation on settings page 2021-06-03 10:44:23 +03:00
Alex Plate
067aaa798d
setHandler: fix parsing of a mapping 2021-06-03 10:12:38 +03:00
Alex Plate
c85d7dcd7a
Do not save the executed command to history 2021-06-02 10:54:11 +03:00
Alex Plate
c1b1f1efd8
Add tests for nested global commands 2021-06-02 10:31:49 +03:00
Alex Plate
68dcd21c4e
More muted neovim tests 2021-06-01 17:52:22 +03:00
Alex Plate
748484e129
Use more neovim in tests 2021-06-01 17:44:32 +03:00
Alex Plate
293e9988c7
Add 2021.1 to plugin verifier 2021-06-01 16:31:41 +03:00
Alex Plate
c390a295cd
Update gradle plugin to version 1.0 2021-06-01 16:31:41 +03:00
Alex Plate
bdf1f3c33d
Update gradle wrapper to 7.0.2 version 2021-06-01 16:31:40 +03:00
Alex Plate
a0b8685f7d
Update some tests to use neovim 2021-06-01 16:31:40 +03:00
Alex Plate
06fc25cf3b
Remove TODO 2021-06-01 16:31:40 +03:00
Alex Plate
18e76c5f12
Do not update PR after dependabot 2021-06-01 16:31:40 +03:00
Alex Plate
53e1bc5b83 Update changelog after merging PR 2021-05-31 06:34:38 +00:00
dependabot[bot]
f3b77663f8 Bump annotations from 20.1.0 to 21.0.1
Bumps [annotations](https://github.com/JetBrains/java-annotations) from 20.1.0 to 21.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases)
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JetBrains/java-annotations/compare/20.1.0...21.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 09:33:13 +03:00
dependabot[bot]
fb25ea7cf9 Bump github-api from 1.128 to 1.129
Bumps [github-api](https://github.com/hub4j/github-api) from 1.128 to 1.129.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hub4j/github-api/compare/github-api-1.128...github-api-1.129)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 09:33:01 +03:00
Alex Plate
33dec9746a
Fmt 2021-05-30 23:58:12 +03:00
Alex Plate
079006e3ce
Add suppression of some neovim tests 2021-05-30 23:49:18 +03:00
Alex Plate
b32befe5df
Use wrapper functions around myFixture 2021-05-30 15:18:03 +03:00
Alex Plate
91139005dc
Suppress some deprecated methods 2021-05-29 11:21:05 +03:00
Alex Plate
9c53f8608a
Add SSR inspection to replace myFixture check result 2021-05-28 19:40:22 +03:00
Alex Plate
7144491d0c
refactor: Replace myFixture.checkResult with assertState function
assertState function also performs neovim check
2021-05-28 19:39:32 +03:00
Alex Plate
a9831ccf40
style: run ktlint 2021-05-28 19:22:08 +03:00
Alex Plate
fa3e18fe58
test: Update global handler tests 2021-05-28 11:54:44 +03:00
Alex Plate
08f29bacfd
feat: Support :print command 2021-05-28 11:51:54 +03:00
Alex Plate
5a6803551b
Fix typo 2021-05-28 10:29:34 +03:00
Alex Plate
a5f612c85a
Use correct library for neovim testing 2021-05-28 10:09:31 +03:00
Alex Plate
dab69249d0
Fix some neovim tests 2021-05-27 22:44:17 +03:00
Alex Plate
e1f0098164
Add custom inspection to use vimRunForEachCaret 2021-05-27 22:33:05 +03:00
Alex Plate
14428aaf49
Formatting 2021-05-27 22:01:49 +03:00
Alex Plate
f9ebfcc467
Use RangeMarker for marking lines 2021-05-27 12:50:48 +03:00
Alex Plate
07446309d3
Finish command even after an exception 2021-05-27 12:50:48 +03:00
Alex Plate
d2de23481a
Add clarification what is weird 2021-05-27 12:50:47 +03:00
Alex Plate
d8ead10c0f
Add gotInt variable 2021-05-27 12:50:47 +03:00
Alex Plate
6a38188602
Add tests for incorrect :g command 2021-05-27 12:50:47 +03:00