JuliaEditorSupport / JuliaEditorSupport/atom-language-julia
Misleading coloring of "end" in let-block inside brackets
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 55
- Forks
- 39
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 2
Description
Example:
# look at "end" color
Float64[let; println("Adding float"); rand(1.0:10.0); end]
# while it should highlight "end" like this
let; println("Adding float"); rand(1.0:10.0); end
This highlights end as if it was the "end" meaning index of the last element.
Subtle thing, though.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the supplied Julia examples in Atom and compare how end is highlighted inside the bracketed let expression versus the standalone block. Inspect the Julia grammar rules responsible for end; done means the block terminator receives the same highlighting in both examples without changing indexing highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100