Giter Club home page Giter Club logo

Comments (22)

Glavin001 avatar Glavin001 commented on July 22, 2024 2

@julmot : you could edit the menus/atom-beautify.cson file and uncomment the Beautify Directory command: f4b2916
I believe Atom packages are installed in ~/.atom/packages directory. So look for for a file with a possible path of ~/.atom/packages/atom-beautify/menus/atom-beautify.cson and after you edit the file reload Atom.

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024 1

Actually the preferred workaround is not a workaround and instead that someone submits a Pull Request to Atom-Beautify resolving the problems outlined in #213 😄 . I need someone who wants this feature to exist and is willing to contribute to ensure it is developed and supported. I need your help and contribution.

I am currently focusing my after-work-and-after-school hours on #1174 which will provide a lot of value to both users and maintainers. Beautifying a directory of files is on the todo list to be completed after #1174 has been completed. However, no ETA on this feature. The best way to get this feature implemented is to contribute! Thanks in advance!

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

See atom/tree-view#44 for example.

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

@budhajeewa is looking forward to beautifying all files in a directory with right-clicking the file tree.

from atom-beautify.

budhajeewa avatar budhajeewa commented on July 22, 2024

@Glavin001 "high priority" label? Awesome! 😄 👍

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

I have midterms these next two weeks, not to mention work, however I hope to have a few minutes of free time where I could get this completed for you 😃.

from atom-beautify.

budhajeewa avatar budhajeewa commented on July 22, 2024

You're great. However, I believe we can wait two weeks. Do the best in exams Glavin. :)

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

Wow time flies! Sorry about the delay: work has been as crazier than exams 😜. Hoping to get this done for the holidays.

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

So single-file right-click in Atom's tree to beautify is working, and I am using it often actually! (not yet released, coming soon) Now I thinking about the directory beautification support.

I am thinking of using https://www.npmjs.com/package/node-dir and recursively processing the files in sub-directories, and if they are a supported Grammar then beautify them, and if not, ignore the file. Thoughts? How else could this be done, from a users perspective. Possibly list all of the files in the directory and sub-directories and allow the user to select/check files using multi-select-box.

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

Single-File support has been published to v0.18.0. Happy New Year! 😃

from atom-beautify.

budhajeewa avatar budhajeewa commented on July 22, 2024

Wow great @Glavin001 ! I am eagerly waiting for the directory support. It should be recursive. :)

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

Published to v0.19.0! Enjoy :)

from atom-beautify.

budhajeewa avatar budhajeewa commented on July 22, 2024

@Glavin001 You are awesome! 👍

from atom-beautify.

budhajeewa avatar budhajeewa commented on July 22, 2024

Hi @Glavin001 , I checked this, but I encounter an error when trying to get it to work. Please see #170.

from atom-beautify.

luisrudge avatar luisrudge commented on July 22, 2024

This is not showing as option anymore :(

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

I have temporarily removed this option. See #213

from atom-beautify.

IanShoe avatar IanShoe commented on July 22, 2024

Just curious if any progress has been made since the concerns from #213?

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

@IanShoe : Not yet completed. Would definitely review a Pull Request implementing the feature list here: #213 (comment)

from atom-beautify.

brunolemos avatar brunolemos commented on July 22, 2024

@Glavin001 please add an option to easily do that. You could make an alert with the dangerous risk or open all files without saving it so the user can check it.

from atom-beautify.

bs-thomas avatar bs-thomas commented on July 22, 2024

@Glavin001 Sorry not trying to rush you. I was really looking forward to this feature actually. May I ask if there are any updates on this? Thank you very much for your time and kind attention!

from atom-beautify.

Glavin001 avatar Glavin001 commented on July 22, 2024

Hi everyone! Sorry, I haven't had time to implement this. The option could be easily added back ( see f4b2916 ), however I would want there to be safety measures to ensure users do not lose their code, in the case that Atom and/or Atom-Beautify locks up and starts deleting data.
I would be happy to review a Pull Request and have further discussions about this feature. Thanks!

from atom-beautify.

julkue avatar julkue commented on July 22, 2024

What is the preferred workaround in the meantime (for years)? Manually beautifying isn't really an option with many files.

from atom-beautify.

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.