storybook-opener icon indicating copy to clipboard operation
storybook-opener copied to clipboard

Only works for `*.stories.{t,j}sx` files

Open makar-al opened this issue 1 year ago • 0 comments

For *.stories.{t,j}sx files this extension works as expected, but for other types of files, like component file or *.module.css file, nothing happens. There is no icon, no option in context menu and if I run Storybook Opener: Open Storybook from command palette then this error message is shown:

Something went wrong when get or load yor story/docs file. Check opening file is valid or same name to story file.

And btw you have a typo in the error message :)

makar-al avatar Jan 08 '24 08:01 makar-al