Skip to content

C# member intellisense not showing properties #1236

Description

@poohcom1

Describe the bug
When using C# autoloads in dialogue editor, intellisense does not show properties of the class.

Affected version

  • Dialogue Manager version: 3.10.4
  • Godot version: 4.6.3

To Reproduce
Steps to reproduce the behavior:

  1. Create a C# autoload with basic exported properties (not fields)
  2. Attempt to type out the name of the property in the dialogue editor

Expected behavior
Intellisense should show properties alongside fields

Screenshots

Editor Script
Image Image

*only the source generated getter/setter methods are shown, not the property itself. This is another minor related issue, see #1237.

Fix

Simply adding property member type to the GetMembersForScript method should fix it.

Image

That said, I think a more comprehensive fix would be to also merge the values from get_script_property_list, since this would also account for tool script with custom values.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions