mightymeld / core

Bugs, questions, ideas and other feedback
MIT License
0 stars 0 forks source link

Open in Editor opens blank browser tab #2

Open mz8i opened 2 months ago

mz8i commented 2 months ago

Describe the bug Following the Tailwind tutorial, right-clicking on an element an selecting "Open in Editor", a blank browser tab (about:blank), rather than an editor, opens. I am presuming this might have to do with the fact that I am running MightyMeld CLI on WSL and perhaps this prevents the detection of an editor such as VSCode?

To Reproduce Steps to reproduce the behavior:

  1. Open a directory in WSL terminal
  2. Init and start tutorial with npx mightymeld tutorial, cd mightymeld-tutorial-tw, npx mightymeld
  3. In the browser (Vivaldi), pick "Open in Editor" action on any element of the tutorial app
  4. Blank tab opens in browser

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

App The basic Tailwind tutorial (npx mightymeld tutorial)

schkolne commented 1 month ago

I wonder if WSL is the issue. There is a fair amount of flexibility in how you rig up MM to open your editor. I recommend reading this https://docs.mightymeld.com/docs/setup/reference/configuration#editor for an overview of what's possible.

Things I'd try to get his one figured out: