Support comments at the end of keybind config line #2699
-
eg:
Currently comments will be output in key press, instead of ignored, which is surprising. If this is the expected behaviour, it would be good to at least document it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
From the README:
This is intentional and documented. A brief why: if we get into trailing comments, we also have to get into quoted strings and ways to include I'm open to adding this complexity eventually but want to see more support for it. For the time being, only a handful of people out of thousands of testers have raised this concern. |
Beta Was this translation helpful? Give feedback.
From the README:
This is intentional and documented.
A brief why: if we get into trailing comments, we also have to get into quoted strings and ways to include
#
in a value. Right now, our parsing is extremely simple because we can simply read the full line as-is. It's not a ton of complexity to parse a quoted line ignoring a trailing comment but its more complexity nonetheless.I'm open to adding this complexity eventually but want to see more support for it. For the time being, only a handful of people out of thousands of testers have raised this concern.