1
0
mirror of https://github.com/chylex/IntelliJ-AceJump.git synced 2025-05-07 08:34:03 +02:00

add TODOs for ,

This commit is contained in:
breandan 2020-11-19 18:31:20 -05:00
parent 7e4168da76
commit a38c670bed
3 changed files with 7 additions and 2 deletions
README.md
src/main/kotlin/org/acejump

View File

@ -107,7 +107,7 @@ If you would like to [contribute](https://github.com/acejump/AceJump/pulls), her
* [Fold text between matches](https://github.com/acejump/AceJump/issues/255)
* [Multi-platform support](https://github.com/acejump/AceJump/issues/229)
To start [IntelliJ IDEA CE](https://github.com/JetBrains/intellij-community) with AceJump installed, run `./gradlew runIde -PluginDev`.
To start [IntelliJ IDEA CE](https://github.com/JetBrains/intellij-community) with AceJump installed, run `./gradlew runIde -PluginDev [-x test]`.
To just run [the tests](src/test/kotlin/AceTest.kt), execute `./gradlew test` - this is usually much faster than starting an IDE.

View File

@ -44,8 +44,11 @@ class AceTargetAction: AceAction() {
override fun customize() = Jumper.toggleTargetMode()
}
/**
/*
* When line mode is activated, we will tag the beginning and end of each line.
*
* TODO: https://github.com/acejump/AceJump/issues/327
* TODO: https://github.com/acejump/AceJump/issues/340
*/
class AceLineAction: AceAction() {

View File

@ -10,6 +10,8 @@ enum class Pattern(val string: String) {
END_OF_LINE("\\n|\\Z"),
START_OF_LINE("^.|^\\n"),
CODE_INDENTS("[^\\s].*|^\\n"),
// START_OF_LINE("^[^\\n]{2,}|^\\n"),
// CODE_INDENTS("[^\\s][^\\n]{2,}|^\\n"),
LINE_MARK(END_OF_LINE.string + "|" +
START_OF_LINE.string + "|" +
CODE_INDENTS.string),