Skip to content

fix: Inspecting a component opens code in vi instead of IDE (vscode) on WSL2 #576

@urbgimtam

Description

@urbgimtam

🐛 The bug

When triggering a "Open in editor" action, the active terminal will open the vi editor, instead of the current IDE (in this case, vscode).
This is happening on:

  • "Component inspector"
  • Pages (clicking on "open in editor" next to route)

🛠️ To reproduce

(cannot reproduce in stackblitz)

🌈 Expected behavior

Open component file in the IDE.

ℹ️ Additional context

OS: Windows 11, running WSL2 with Ubuntu 20
IDE: VScode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions