Closed Alexey-T closed 3 years ago
Hello! CudaText was mentioned here: https://discourse.julialang.org/t/is-anyone-using-textadept-as-their-editor-of-choice-for-julia/41255/39 so I gave it a shot (I'm always curious about new editors which are 'simple' and fast and I think the people in that thread are too).
At the moment I've not used CudaText for Julia (Atom and VS Code provide an integration Julia REPL which helps a lot with development) but I have used it with other languages such as Python and it worked great for me, thanks for making and open-sourcing this, it's awesome!
I just tried opening a Julia project, here are some quick comments (I could make those in your repo if you preferred):
--> ideally the :name
should be highlighted as strings, the const
keyword should be highlighted too as well as function indicators (like LittleDict
) though that last one matters less. Also the nothing
, false
, etc keywords
--> keywords like function
, if
, end
, etc should be highlighted, functions should ideally be highlighted, modules (e.g. Base.
and Core.
should too + missing
keyword
--> text between """
should be highlighted as string, #= ... =#
indicates a multi-line comments
I could give you more detailed feedback on this at the main repo if that's useful?
Note: I think the most up to date description of the syntax is in highlights.js (https://github.com/highlightjs/highlight.js/blob/master/src/languages/julia.js)
yes, please copy that into my repo - https://github.com/Alexey-T/CudaText/issues to not miss it. or I can copy this?
I see you 've starred CudaText, it has the Julia lexer in addons. Is it working OK, or has some issues? @tlienart