foxundermoon / vs-shell-format

the shellscript、Dockerfile、properties ...... format extension
MIT License
445 stars 47 forks source link

IntelliSense Optimization #356

Open Alan3344 opened 1 year ago

Alan3344 commented 1 year ago

There is no problem with running this command, but if you install the formatting tool, you will be prompted, which makes it impossible to format the shell code

lsfolder() {
    folder=$(find "$PWD" -type d ! -regex '.*/\..*' ! -name "__pycache__" -exec echo {} \;)
    echo $folder
}

export lspath() {
    echo `lsfolder | tr '\n' ':' | sed 's/:$//'`
}

image