bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
119 stars 13 forks source link

F2 Shortcut to Rename Resource Doesn't Open Rename Text Prompt #237

Open bfrymire opened 6 months ago

bfrymire commented 6 months ago

Using Stitch in VS Code and pressing the F2 to rename shortcut on a resource does not open the text prompt to rename the resource.

  1. Open your GameMaker project in VS Code
  2. Navigate to Stitch from the icon tray
  3. In the Resources section, click on a resource to select it
  4. Press F2 to rename the resource

I'm expecting the text prompt for renaming the asset to pop up, but it does not open. However, right clicking the resource then selecting Rename does open the text prompt.

adam-coster commented 6 months ago

That'd definitely be a good thing to add. In the meantime, you can add it to your own key bindings in VSCode if you're familiar with that process!

adam-coster commented 6 months ago

Hmmmm. I forgot I'd already had a keybinding specified for that. I did some exploring trying to get it to work, but couldn't figure it out. Must be running into some VSCode limitation...