Git Product home page Git Product logo

Comments (7)

markusmayerroth avatar markusmayerroth commented on June 7, 2024 1

Sorry, if this is the wrong place to ask – I’m new to github.

I can’t get autocomplete-paths to generate root relative paths like

/images/image.png

Isn’t that what @amraei asked and what is part of 2.0.0 according to @saschagehlich?

Setting Relative to true or false has no effect.
I’m on Atom 1.27.1 and autocomplete-paths 2.12.2

Thanks!

from autocomplete-paths.

joefitzgerald avatar joefitzgerald commented on June 7, 2024

... But that's not a valid path. ./lib/ will be be presented if you type ./li . Is that not sufficient?

from autocomplete-paths.

caillou avatar caillou commented on June 7, 2024

Depending on the project setup you have, you might need to use absolute paths starting from the root.

If you think this could be made an option, I'd be more than willing to try and send a PR. WDYT?

from autocomplete-paths.

edele avatar edele commented on June 7, 2024

@joefitzgerald @caillou that would be cool feature to have

from autocomplete-paths.

alexbet avatar alexbet commented on June 7, 2024

It would be great if you can specify the starting path for the absolute paths in the project like in AutoFileName on SublimeText:
https://github.com/BoundInCode/AutoFileName

That way you can set any path for the absolute path, for example, the 'public' folder in the above example.

from autocomplete-paths.

amraei avatar amraei commented on June 7, 2024

I also need this feature to get paths relative to the project root. Better approach is the ability to define a root folder for PHP and HTML files separately.

Current functionality is useless in HTML files, cause we have to start paths from hard disk root folder "/".

from autocomplete-paths.

saschagehlich avatar saschagehlich commented on June 7, 2024

2.0.0 fixes this / provides a much better autocompletion experience

from autocomplete-paths.

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.