ion issueshttps://gitlab.redox-os.org/redox-os/ion/-/issues2020-12-12T23:12:04Zhttps://gitlab.redox-os.org/redox-os/ion/-/issues/869Slice syntax doesn't work immediately following a function2020-12-12T23:12:04ZTom AlmeidaSlice syntax doesn't work immediately following a functionI think this is actually related to #868 and probably explains it.
If you have a method that should generate an array and then immediately follow it by a slice pattern, then the slice pattern isn't generated, whereas if you surround the...I think this is actually related to #868 and probably explains it.
If you have a method that should generate an array and then immediately follow it by a slice pattern, then the slice pattern isn't generated, whereas if you surround the method by `[]`, then it works as intended.
```bash
tommoa:~# let multiline = "one
two
three
four"
tommoa:~# for line in @lines($multiline)[..2]
echo $line
end
one
two
three
four
tommoa:~# let second = @lines($multiline)[..2]
tommoa:~# echo $second
one two three four
tommoa:~# for line in [@lines($multiline)][..2]
echo $line
end
one
two
tommoa:~# let second = [@lines($multiline)][..2]
tommoa:~# echo $second
one two
```Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/868For-loop expansion gobbles the end of the line2021-01-07T02:50:24ZAdminXVIIFor-loop expansion gobbles the end of the line`for a in @split("a b c"); echo $a; end` hangs, waiting for an extra end statement.`for a in @split("a b c"); echo $a; end` hangs, waiting for an extra end statement.Ion Shell v1.0.0betamatu3bamatu3bahttps://gitlab.redox-os.org/redox-os/ion/-/issues/845Better word by word navigation2021-06-01T11:48:56ZDEVELOPER43Better word by word navigationWhen using `Alt+f` and `Alt+b` for word by word navigation, ion does not detect that special characters are not a part of words. also I think that `Ctrl + Left` for moving the cursor left word by word and `Ctrl + Right` for moving the cu...When using `Alt+f` and `Alt+b` for word by word navigation, ion does not detect that special characters are not a part of words. also I think that `Ctrl + Left` for moving the cursor left word by word and `Ctrl + Right` for moving the cursor right word by word is more ergonomic/supplementary than the current `Alt + b/f`Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/827Syntax validation bug2021-01-08T00:17:27ZMichael Aaron Murphymmstick@pm.meSyntax validation bugManaged to make ion reach some unreachable code:
```
echo "$(echo -e "### src\n ```\n$(tokei src)\n```")"
```
It will only happen if the subshell is double-quoted.Managed to make ion reach some unreachable code:
```
echo "$(echo -e "### src\n ```\n$(tokei src)\n```")"
```
It will only happen if the subshell is double-quoted.Ion Shell v1.0.0betaAdminXVIIAdminXVIIhttps://gitlab.redox-os.org/redox-os/ion/-/issues/772Create Benchmark Tests2021-06-01T13:01:05ZAlex MortonCreate Benchmark TestsIon could benefit from benchmark tests to help profile PRs that may impact performance: https://doc.rust-lang.org/1.7.0/book/benchmark-tests.html.
We can benchmark at a couple different levels here. One suggestion is to benchmark all sc...Ion could benefit from benchmark tests to help profile PRs that may impact performance: https://doc.rust-lang.org/1.7.0/book/benchmark-tests.html.
We can benchmark at a couple different levels here. One suggestion is to benchmark all scripts in the examples directory. We can also have benchmarks for lower-level units to test individual algorithms.Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/452Background Jobs That Request TTY Will Exit2021-01-06T22:41:58ZMichael Aaron Murphymmstick@pm.meBackground Jobs That Request TTY Will ExitJobs created as background jobs, which require access to a TTY, will immediately exit.Jobs created as background jobs, which require access to a TTY, will immediately exit.Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/420testing: Increase Test Unit Coverage2021-06-01T11:06:25ZMichael Aaron Murphymmstick@pm.metesting: Increase Test Unit CoverageWe should perform an extensive code review at some point as we near a stable release, and create tests everywhere where possible (likely refactoring with closures to increase the test-ability of certain functions). When we are ready to d...We should perform an extensive code review at some point as we near a stable release, and create tests everywhere where possible (likely refactoring with closures to increase the test-ability of certain functions). When we are ready to do this, we should make a list of all the source files in the codebase, and then one by one review, test, and check that file off the list.Ion Shell v1.0.0betamatu3bamatu3ba