Giter Club home page Giter Club logo

Comments (3)

nmaxcom avatar nmaxcom commented on June 4, 2024

Hi @kenijo,

Thanks for your comments and suggestion. I thought about it a bit when I wrote it. As of now, the extension works in a "safe way" by using Bracket's own saving method.

The point of this extension was to provide an automated trigger for file processors/watchers like gulp, grunt etc. AFAIK the Jetbrains products' native autosave works the same way without the potential problems you mention.

If I save the changes as another file, the person would have to keep always that in mind plus the cluttering of the file tree.

I'm not sure I understand how people would overwrite each other, using what other than a version system?

In the temporary document part, you would have similar issues with either method.

I also don't see why new documents would get lost on a crash.

from brackets-autosaver.

kenijo avatar kenijo commented on June 4, 2024

Hi, Thanks for your answer.
I understand where you come from and the way you design the extension.

To avoid cluttering of the file tree I had in mind saving the temp file in a dedicated temp folder hidden from the user.
Regarding users overwriting each others, that would only happen on a shared file. I know it is not the way to handle a file but unfortunately it can happen. Although this use case just come to mind, I don't think I encountered it since using proper versioning systems.

from brackets-autosaver.

nmaxcom avatar nmaxcom commented on June 4, 2024

It's definitely something to keep in mind. Let's see how it rolls as it is and how more people respond to it.

Thanks.

from brackets-autosaver.

Related Issues (11)

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.