Skip to content

Outline tree doesn't associate a variable with a class if multiple are present, or if just one is present #394

@Zandario

Description

@Zandario

If a class definition has more than one variable inside of it, when it creates a dropdown for the class, it fails to contain the first variable and leaves it in the global scope for the file.

It also seems to fail to make a scope with only one variable present, so you get an isolated class and variable in the outline.

image

This can be very confusing if you use alphabetical (like a heathen)

image

Example code used
/foo
	var/foo_name

/foo/bar
	var/bar_name
	var/bar_desc
	var/bar_another_var

/foo/bar/baz
	foo_name = TRUE
	bar_desc = FALSE

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions