eclipse / shellwax

Shell script editor plugin for Eclipse
https://marketplace.eclipse.org/content/shellwax
Eclipse Public License 2.0
17 stars 12 forks source link

Shellwax cannot parse multi-line commands with comments #26

Closed sebthom closed 2 years ago

sebthom commented 4 years ago

I am trying to use comments in multi-line commands as outlined here https://stackoverflow.com/questions/9522631/how-to-put-a-line-comment-for-a-multi-line-command/12797512#12797512

Shellwax fails to parse .sh files containing this construct, e.g.

#!/usr/bin/env bash
echo CommandName InputFiles `#1st comment` \
     --option1 arg1 `#2nd comment` \
     --option2 arg2 `#3rd comment`

Error message is: Failed to parse expression

akurtakov commented 4 years ago

reported upstream https://github.com/mads-hartmann/bash-language-server/issues/174

akurtakov commented 2 years ago

No longer happens as underlying LS stepped back on checks that were emitting false positives.