Coder Social home page Coder Social logo

Comments (5)

math2001 avatar math2001 commented on May 30, 2024 1

Damn. Sorry about that.

from filemanager.

math2001 avatar math2001 commented on May 30, 2024

Hi, I'm a very happy user of Filemanager plugin.

I'm very glad to here that, thanks for letting me know ♥️

Is it intentional? Then why?

It was intentional, because it was meant as "relative from root". My use case is that when building a static website, / refers to the root folder in my program.

And could it be setup through a parameter?

That's definitely possible, although I've lately realized that this should be done with care (the bold part).

Right now, I'm thinking of adding another menu entry and renaming the current one (it's in a sub menu, so it won't cluster the user's context menu). Relative path -> Path from root, which would copy with the leading slash, and add Relative path, which would do what you expected in the first place (now that you point it out to me, it is indeed what makes the most sense).

What do you think? Would you be able to describe your use case? It would really help to make a better decision 🙂

from filemanager.

bobmaerten avatar bobmaerten commented on May 30, 2024

Sorry I didn't take time to throroughtly the other issues and merely try to find a similar issue before creating this one.

My use case is essentially when debugging, I want to quickly run tests for the current file, copy/pasting relative file path on make test <paste relative file> in my console. Or for doing some git mv <paste> new_path operations.

I read your position on intuitive behavior for a plugin, and I agree. In linters domain, there is also a growing tendency to have straightforward tools (like prettier) with little to no possible configuration, by letting users determine their core usages.

So in this direction, another menu available in the palette would settle the case.

PS: naming things is hard. Clear intent with a short label is hard too.

from filemanager.

math2001 avatar math2001 commented on May 30, 2024

🎉 Thank you @bobmaerten for you feedback! I just pushed the fix, don't hesitate to tell me what you think of it 🙂

from filemanager.

bobmaerten avatar bobmaerten commented on May 30, 2024

Great! nothing changed in my workflow a a few keystrokes saved every time.
Notice that I cannot get the new command you added "Path from root" in the command palette.

Thanks anyway.

from filemanager.

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.