This adds a bit of readability to the xiki code (at least I find it helpful).
Any lines beginning with // will be treated as a comment.
The command key super+/ will toggle a "// " at the beginning of the current line.
Added “comments” to the language and enabled super+/ to comment and u…
…ncomment lines. This adds a bit of readability to the xiki code (at least I find it helpful).
Switched comments to use // and not #
# is used for comments in the command-line, so it still has a place in the language if you're running commands.
@lunixbochs I changed the comment symbol to //. Also I've set it to only comment a line if // is the first character of the line.
When I try to execute a line that starts with // it doesn't seem to do anything. So that's good.
Do you think that is acceptable?
I still feel the comments should be # because that's standard in shell.
bash-4.3$ echo #asdf
bash-4.3$ echo //asdf