Coder Social home page Coder Social logo

Comments (4)

shemerey avatar shemerey commented on July 1, 2024

@hultberg it's related with #10 and #12 and last changes in path resolving, I am woking on a new example to show for @mehcode Will finish it soon

from atom-project-plus.

mehcode avatar mehcode commented on July 1, 2024

I don't think this is that @shemerey


And if I have a folder with the same name inside an project folder it shows up multiple times, example

There is only one reason why a project would show up "multiple times". It's because you have the same path in more than one "state". In other words, at some point in time (before you installed this package) you opened up /home/user/workspace/project1 then added /home/user/workspace/project1/include/project1 as another folder to that project. That will result in two "states" (and thus two entries that appear identical).

I'm still thinking of the best way to solve this. #8 talks about it some more.

Some options:

  • Ignore it. Projects are sorted by MRU so that helps.
  • Add #9 and explicitly remove the project you don't want to show (probably the one with just one path and not two).
  • Listen to project path add/remove and auto-archive ( #9 ) the previous project. Picture atom's understanding of projects as a SQL table and the primary key a list of project paths. Changing the active paths makes a new entry in the table. We could listen for this and auto-hide the old one.

I've done the first one to help mitigate the problem (it helps for me at least). The second and third are progressively more involved but will solve it completely. Unfortunately the third would only apply to new projects made after installing this package.


Yet another option (if its really bugging you and you just want to use this project for switching now) -- just remove all your existing state with rm -rf ~/.atom/storage (will not remove packages or config). You'll really feel the lack of #5 however.

from atom-project-plus.

mehcode avatar mehcode commented on July 1, 2024

Wait.. after re reading your question it looks like I misunderstood. What you're seeing just means that at one point in time you've opened up that inner folder with atom. #9 is your friend then. That's pretty simple and will get done next.

from atom-project-plus.

mehcode avatar mehcode commented on July 1, 2024

@hultberg Can you update to the latest version of project plus (0.7.0) and let me know if the recent changes fix things enough for you? I'm going to close this for now.

from atom-project-plus.

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.