Skip to content

Outlining is broken by "here document" #57

Closed
@dthomash

Description

@dthomash

Here document explanation: https://en.wikipedia.org/wiki/Here_document#Unix_shells

Simplified version of source that shows the problem:

methodname() {
	cat > file.txt << EOF
File contents
EOF
	echo "I'm still here"
}

When you minimize the method, it only minimizes until it hits the second EOF. Expected behavior is to minimize to the ending curly brace. I'm using vscode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammar bugIssues related to the bash grammar

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions