The results of beautification are not what I expect. I've tried uninstalling and reinstalling. Also ruby-beautify from the command line works as expected (as shown below), also this is a link the the stack overflow and atom discussion posts if you're interested. I'm super excited to make the switch to atom but I really need to be able to beatify my code as I go. Thanks for your help :)
The beautified code should have looked like:
note this is after running the file through the ruby-beautify gem from the command line, so I'm pretty sure it's not a bug with ruby-beautify:
class SomeClass
def initialize
@some_var = 42
@another_var = 'Space space space'
end
def some_method
p 'cats and dogs and stuff'
end
end
Atom Beautify: Beautify EditorHere is a link to the debug.md Gist: https://gist.github.com/mbigras/032f595212a9fa3a049a4ba1bf527e90
debug.md Gist to this issueFrom your debug.md it shows the selected beautifier as Rubocop not Ruby Beautify: https://gist.github.com/mbigras/032f595212a9fa3a049a4ba1bf527e90#original-file-to-be-beautified
I recommend switching this in the Atom-Beautify package settings using settings-view.
Let me know if you still are having issues and please provide another debug.md. Thanks!
Thanks @Glavin001, that took care of it! And also thanks for such an awesome debug report/atom package :)
that took care of it!
Awesome to hear!
thanks for such an awesome debug report/atom package :)
You're very welcome. Glad it can help you and the rest of the developer community 馃槃 .
atom beautify not working ofter updated i don't no what is happened
ruby-beautify, rubocop - don't work @Glavin001
Most helpful comment
atom beautify not working ofter updated i don't no what is happened