`elseif` not indented properly in Julia code
See original GitHub issueTyping out the following Julia language example highlights the issue, where elseif
isn’t indented appropriately
if somecondition
somecode
elseif someothercondition
else
end
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
`elseif` not indented properly in Julia code · Issue #4519 ... - GitHub
It seems that when you type, you go through 'else', which is indented properly, but once the word elseif is typed, it no...
Read more >REPL, copy/paste and auto indent in julia 0.7 - #11 by rfourquet
when the prompt “julia>” is written on the terminal, but I failed to find the line of code where to do it. Adding...
Read more >Why Julia is not indentation-based like Python? - Stack Overflow
I've seen a significant number of live Python demos flounder as the presenter struggled with indentation issues. It feels to me like Python ......
Read more >JuliaFormatter · JuliaHub
Width-sensitive formatter for Julia code. Inspired by gofmt, refmt, and black. ... If import is used in the following context it is NOT...
Read more >CodeMirror: Release History - Neuromics
Recognize vendor prefixes on pseudo-elements. julia mode: Properly indent elseif lines. markdown mode: Properly recognize the end of fenced code blocks when ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems that when you type, you go through ‘else’, which is indented properly, but once the word
elseif
is typed, it no longer matcheselse
, so the indentation was off. Attached patch handleselseif
properly.Great thanks @marijnh @pabloferz