Skip to content

Add a context menu when right-clicking a file in the shader editor #75061

Closed as not planned
@viktor-ferenczi

Description

@viktor-ferenczi

Godot version

4.0 stable, 4.1 master

System information

Win 11, Vulcan

Issue description

I cannot find any Close or Close All menu items and right clicking on the shader's name in the open shaders list does not do anything, no context menu appears.

Pressing the "Script Editor / Close" shortcut (Ctrl-W) does not do anything on shader editors either. There is no separate shortcut for shader editors.

Right now one must restart Godot to close all shader windows before deleting or renaming them.

Related: #72595

Steps to reproduce

  1. Open any .gdshader or .gdshaderinc
  2. Try to close the shader editor

Minimal reproduction project

Any project with shader code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions