You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The results of command substitution shall not be processed for further tilde expansion, parameter expansion, command substitution, or arithmetic expansion. If a command substitution occurs inside double-quotes, field splitting and pathname expansion shall not be performed on the results of the substitution.
Currently when syntax highlighting a subshell such as "$(printf "a b c")", the quotation marks will be parsed such that "$(printf " would be quoted, a b c would be unquoted, and ")" would be quoted; the current behavior (to my knowledge) somewhat obscures what is actually quoted.
Would it be possible to show the inside of a quoted subshell as unquoted? For example, "$(printf "a b c")" would show "$( as quoted (outside the subshell), printf as unquoted, "a b c" as quoted (inside the subshell), and )" as quoted (outside the subshell). Thank you!
Usecase
No response
The text was updated successfully, but these errors were encountered:
Feature
The command substitution section of the specification for POSIX shell specifies:
Currently when syntax highlighting a subshell such as
"$(printf "a b c")"
, the quotation marks will be parsed such that"$(printf "
would be quoted,a b c
would be unquoted, and")"
would be quoted; the current behavior (to my knowledge) somewhat obscures what is actually quoted.Would it be possible to show the inside of a quoted subshell as unquoted? For example,
"$(printf "a b c")"
would show"$(
as quoted (outside the subshell),printf
as unquoted,"a b c"
as quoted (inside the subshell), and)"
as quoted (outside the subshell). Thank you!Usecase
No response
The text was updated successfully, but these errors were encountered: