Comments (22)
@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.
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.
See atom/tree-view#44 for example.
from atom-beautify.
@budhajeewa is looking forward to beautifying all files in a directory with right-clicking the file tree.
from atom-beautify.
@Glavin001 "high priority" label? Awesome! 😄 👍
from atom-beautify.
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.
You're great. However, I believe we can wait two weeks. Do the best in exams Glavin. :)
from atom-beautify.
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.
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.
Single-File support has been published to v0.18.0. Happy New Year! 😃
from atom-beautify.
Wow great @Glavin001 ! I am eagerly waiting for the directory support. It should be recursive. :)
from atom-beautify.
Published to v0.19.0! Enjoy :)
from atom-beautify.
@Glavin001 You are awesome! 👍
from atom-beautify.
Hi @Glavin001 , I checked this, but I encounter an error when trying to get it to work. Please see #170.
from atom-beautify.
This is not showing as option anymore :(
from atom-beautify.
I have temporarily removed this option. See #213
from atom-beautify.
Just curious if any progress has been made since the concerns from #213?
from atom-beautify.
@IanShoe : Not yet completed. Would definitely review a Pull Request implementing the feature list here: #213 (comment)
from atom-beautify.
@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.
@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.
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.
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)
- Javascript space before paren HOT 1
- Failed to activate the atom-beautify package HOT 3
- beautify HOT 1
- download failed HOT 1
- Cannot beautify Velocity file HOT 1
- Installed but not listed on packages tab HOT 1
- dart language not support HOT 1
- Could not find 'uncrustify'. The program may not be installed. HOT 1
- 0 I've been trying to install atom-beautify on my Windows 10 x64 machine, but I keep getting this error : npm ERR! code Z_BUF_ERROR npm ERR! errno -5 npm ERR! zlib: unexpected end of file npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\*****\.atom\.apm\_logs\2019-01-18T06_40_37_988Z-debug.log Googling about it, I found this is an issue that has been raised but closed without much in the way of resolution : https://github.com/Glavin001/atom-beautify/issues/2240 I tried uninstalling and reinstalling Atom, and also deleting the .apm folder and giving it another go, and then trying to install previous versions of atom-beautify using the following, apm install [email protected] apm install [email protected] But nothing seems to work, and I get the same error with a Deprecation warning on the latter. Has anyone else encounteredd this issue, are there any known work-arounds for it? HOT 1
- Atom-beautiful
- atom-beautify
- cant go futher of this HOT 1
- network is unreachable
- it was not installing HOT 1
- PHP beautify problem HOT 1
- How can I solve this problem ? HOT 2
- facing error HOT 2
- Not working :( HOT 1
- i
- Object.<anonymous> is deprecated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-beautify.