Giter VIP home page Giter VIP logo

Comments (7)

tomwhite007 avatar tomwhite007 commented on August 20, 2024 2

Hi @YannickMG

Thanks for your thorough issue report.

WSL is certainly a platform I had yet to test on.

The symptoms you’ve given me suggest that the extension fails as the Indexer process starts to initialise by locating the package.json file.

You’ve definitely taken all sensible steps and I appreciate you trying to create a log file. The log file would have been created in the root of your project as 'rename-angular-component-debug-log.txt'. But if it’s identifying the project file root when inside WSL that is the problem - as is likely from the symptom above, then it won’t have been able to create the file in the right place.

I’ll get onto this shortly.

from rename-angular-component.

DuckPluck avatar DuckPluck commented on August 20, 2024 1

Hi @tomwhite007 got same issue. Really hope you can fix it soon!

from rename-angular-component.

tomwhite007 avatar tomwhite007 commented on August 20, 2024 1

Hi @DuckPluck
I'm intent on getting this fixed in the next update.

from rename-angular-component.

tomwhite007 avatar tomwhite007 commented on August 20, 2024

Hi @YannickMG and @DuckPluck

I have run some tests, and can confirm I know what's required to upgrade the process to work on WSL. The work is not trivial, so you can watch this PR for progress: Feat/use vscode workspace fs #31 .

from rename-angular-component.

YannickMG avatar YannickMG commented on August 20, 2024

Thanks for the update. I would've thought that VS code would offer some standard API it also uses when dealing with remote environments, since it's a feature they advertise so much.

from rename-angular-component.

tomwhite007 avatar tomwhite007 commented on August 20, 2024

Hello @YannickMG and @DuckPluck

I put some proper time into the conversion to using vscode.workspace.fs api this week. To my horror, I've discovered the refactor which uses a reduced set of fs commands slows the extension processes down by more than 10 times. So slow that I'd lose most of my existing users.

It is with regret that I'm going to have to say, I can't support WSL.

My apologies guys, you'll have to open your project on the Windows FS side to use the extension. It's not often I say no, but my hand is forced, sorry.

from rename-angular-component.

YannickMG avatar YannickMG commented on August 20, 2024

No worries, thanks for looking into it.

from rename-angular-component.

Related Issues (20)

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.