GithubHelp home page GithubHelp logo

wsl2 开发环境用不了 about react1s HOT 4 CLOSED

xiaorong61 avatar xiaorong61 commented on July 22, 2024
wsl2 开发环境用不了

from react1s.

Comments (4)

aaamoon avatar aaamoon commented on July 22, 2024

对于普通的 Windows 和 Mac 系统的跳转路径是这样的:vscode://file/${fileName}:${lineNumber}:${columnNumber}

更新了一个新版本支持了自定义路径,我不太清楚 wsl2 的路径前缀是怎样的,你可以多试试,你可以试下设置成比如:
vscode://vscode-remote/wsl+Ubuntu/home/${fileName}:${lineNumber}:${columnNumber}

image

from react1s.

xiaorong61 avatar xiaorong61 commented on July 22, 2024

对于普通的 Windows 和 Mac 系统的跳转路径是这样的:vscode://file/${fileName}:${lineNumber}:${columnNumber}

更新了一个新版本支持了自定义路径,我不太清楚 wsl2 的路径前缀是怎样的,你可以多试试,你可以试下设置成比如: vscode://vscode-remote/wsl+Ubuntu/home/${fileName}:${lineNumber}:${columnNumber}

image

image
我觉得需要括号扩一下

from react1s.

aaamoon avatar aaamoon commented on July 22, 2024

已修复,Chrome插件发了个新版本,审核中,应该下午就好了

from react1s.

xiaorong61 avatar xiaorong61 commented on July 22, 2024

谢谢,因商店没更新,刚刚我用 zip 加载了 扩展,Arch Linux 用

vscode://vscode-remote/wsl+Arch/${fileName}:${lineNumber}:${columnNumber}

可正常工作了,需去掉路径的 home,因为 filename 包含了 home

from react1s.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.