Git Product home page Git Product logo

Comments (8)

rluiten avatar rluiten commented on May 27, 2024

Just tried it with Webstorm it isn't navigating either.

Maybe its my OS I am on Windows 10.

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 27, 2024

Hi, feature is working, just need to improve on it; did you make changes to launch webstorm? Here https://www.jetbrains.com/help/webstorm/working-with-the-ide-features-from-command-line.html; so idea is to expose that command first and then put it to CLI -i param. For webstorm it’s working (I use it), for VS Code I hadn’t tried.

from codecrumbs.

rluiten avatar rluiten commented on May 27, 2024

Oops, no I didn't do the webstorm setup, I'll try it.
But setting '-i code' as parameter to starting codecrumbs did not appear to work with vscode.
And code works from console on my box, i will look a bit further.

from codecrumbs.

rluiten avatar rluiten commented on May 27, 2024

I have now setup webstorm to be in my path and webstorm README.md at my console starts it with a file.
However clicking on trail steps does not cause webstorm to navigate to file.
I'll run this up at home and see if i can get more information later in week I hope.

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 27, 2024

Alt+click? Also try to run command you configured in terminal, just to see it works

from codecrumbs.

rluiten avatar rluiten commented on May 27, 2024

I am stupid I missed the word 'command' in 'command-click' in your video in the 3 times I watched it.

So sort of having i working now though still have a problem on windows I believe.

I have WebStorm 2019.2 installed and configured to start from console by webstorm.
The following works fine from a console webstorm --line 2 README.md

This is an example project I setup to test this at home.
image

When I alt-Click on a file name it loads or switches to it in WebStorm correctly.

When I alt-Click for example on the first trail "the setup" I get the following error displayed by WebStorm.
image

Did a bit of testing with vscode using -i code navigating to files works ok.
But alt-click navigating to trails opens a new code window without loading a file
The syntax to load a file at line for code appears to be code -g src\App.tsx:3

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on May 27, 2024

Hey @rluiten how do you run codecrumbs command initially? I can see '.\src', seems like '.' mess with path, can you try without that?

from codecrumbs.

rluiten avatar rluiten commented on May 27, 2024

I launch it with this in package.json

    "crumbsdm": "codecrumbs -d src -e src/index.tsx -n cra03-test -D",

Possibly some path resolver in nodejs on windows behaves differently ?

from codecrumbs.

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.