Skip to content

Quick Open does not find any text files (.txt, .md) unless a text file has already been opened in the Script Editor this session #119969

@green-yellw

Description

@green-yellw

Tested versions

tested in v4.6.3.stable.official [7d41c59c4]

System information

Godot v4.6.3.stable - Windows 11

Issue description

On opening a project, searching for text files (.txt, .md) using Quick Open doesn't find anything, and those files have to be opened from the FileSystem dock instead.

However, after opening any text file from the FileSystem dock, Quick Open seems to start finding all the project's text files.

Reloading the project doesn't seem to reset this, but fully restarting Godot does.


Instead, I would expect to be able to Quick Open all of these files without loading one with the FileSystem dock first.

Steps to reproduce

  • open the MRP
  • use Scene -> Quick Open (in my testing, this doesn't show any of the text files from res:// in the search results)
Image
  • open one of the text files in the Script Editor using the FileSystem dock
  • use Scene -> Quick Open again (in my testing, this now shows our text files)
Image

Minimal reproduction project (MRP)

Quick Open Text Files MRP.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions