intellij-wgsl icon indicating copy to clipboard operation
intellij-wgsl copied to clipboard

Allow more navigation and refactoring actions?

Open ralfbiedert opened this issue 2 years ago • 5 comments

I just realized that I can actually Rename local variables, which is really cool. That made me wonder how many other IDE features could easily be done. On the very top of my wish list would be

  • [ ] Rename structs
  • [ ] Go to Declaration

as I use them all the time. Just making them work in the local file would be helpful already. If "Go to Declaration" could even work across all files that would be absolutely fantastic. For my purposes I think this could even be done without needing to understand #import and friends; just scanning all .wgsl files and providing a selection popup like below would allow me to 1) discover and 2) pick the right one by hand.

image

ralfbiedert avatar Jun 18 '22 08:06 ralfbiedert