Giter Club home page Giter Club logo

Comments (3)

netromdk avatar netromdk commented on July 24, 2024 2

This is possible using the new ".dumbjumpignore" files. have a look at 12c315f for more information.

from dumb-jump.

OldhamMade avatar OldhamMade commented on July 24, 2024 1

Sorry, let me clarify with another example:

code/                     # `dumb-jump-default-project`
├── Client A              
│   └── project-1/        # active project dir
│       ├── .git/         # VCS dir identifying *expected* project dir
│       ├── active.py     # current buffer location
│       └── defs.py       # location of target definition 'foobar'
└── Client B
    └── project-2/        # second project dir
        ├── .git/         # VS dir identifying project dir
        └── more-defs.py  # contains a second definition of 'foobar'

It would seem from your description that this is already the behaviour, that when jumping to foobar in defs.py from active.py one should stay within code/Client A/project-1, but I'm occasionally jumping to project-2/more-defs.py.

I'll keep an eye on the behaviour and raise a separate bug if I can provide replication steps.

from dumb-jump.

jacktasia avatar jacktasia commented on July 24, 2024

Thanks for the message. Just to confirm I understand what you're saying. This proposed setting, when enabled, would use the shallowest VCS directory instead of the deepest? So right now as it walks up the tree, it stops and uses the first VCS directory it finds. In other words, you're saying it should keep going up until it finds dump-jump-default-project and use the last VCS directory it found?

from dumb-jump.

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.