Coder Social home page Coder Social logo

Comments (7)

pedropedruzzi avatar pedropedruzzi commented on April 20, 2024

Describe what do not work.

from pathpicker.

gsheld avatar gsheld commented on April 20, 2024

+ 1

from pathpicker.

brentvatne avatar brentvatne commented on April 20, 2024

Same problem here, on a React Native project I ran:

ag RCTNavItem node_modules | fpp

I then scrolled down to node_modules/react-native/React/Views/RCTNavItem.h:12:@interface RCTNavItem : UIView and pressed enter

It opened:
~/www/node_modules/react-native/React/Views/RCTNavItem.h

I wanted it to open the relative path:
./node_modules/react-native/React/Views/RCTNavItem.h

from pathpicker.

dutzi avatar dutzi commented on April 20, 2024

+1 for command line svn

from pathpicker.

brentvatne avatar brentvatne commented on April 20, 2024

To anyone else having the issue I mentioned above with ag, for now it works fine to do ag searchterm path --ackmate | fpp

from pathpicker.

pcottle avatar pcottle commented on April 20, 2024

Sorry for the ~/www fallback, that is vestigial and only relevant for facebook dev environments.

we only do a hail-mary fallback punt if you are working outside of a git or mercurial repo, since we parse the top-level path here:
https://github.com/facebook/PathPicker/blob/master/src/parse.py#L38-L69

so this shouldn't be superrrrr common, but i guess it's clearly happening.

Anyways this is resolved by e302f16, update your version manually or wait for the next release to fix this! thanks all for the report

from pathpicker.

brentvatne avatar brentvatne commented on April 20, 2024

great, thanks @pcottle! this was actually happening from within a git repo

from pathpicker.

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.