Questions tagged [atom-beautify]
24 questions
16
votes
3 answers
Atom-beautify not loading php-cs-fixer custom config
I have Atom installed with PHP-CS-Fixer plugin. I'm trying to use some custom rules to apply same-line braces style.
I have tried using the in-Atom config option, but couldn't make it work. I have tried setting…

Jaeger
- 1,646
- 8
- 27
- 59
6
votes
0 answers
Adjusting Atom-Beautify/JS-Beautify for Laravel Blade
I like to customize JS-Beautify in Atom to better format my blade files.
Our manual style looks like this:
{{--
Template Name: Full Width Template
--}}
@extends('layouts.app')
@section('content')
…

Slam
- 3,125
- 1
- 15
- 24
5
votes
3 answers
How to use uncrustify with atom-beautify?
I've been looking at the atom-beautify site and example .jsbeauifyrc, .editorconfig, and uncrustify.cgf files.
I've also reviewed the options for atom-beautify. I know I'm supposed to specify where the config file is located in the atom-beautify…

masterBuilderBenny
- 385
- 3
- 14
4
votes
8 answers
atom-beautify & php-cs-fixer
I am a new programmer and I need your help.
I'm pretty much new to Atom editor, but setup some nice packages like Atom Beautify. After using it in a html / php file I'm getting the error "Could not find 'php-cs-fixer' . The program may not be…

Muhammed Al-Awami
- 51
- 1
- 1
- 3
3
votes
2 answers
Atom Beautify Ruby with rubocop doens't work
I have Atom Beautify plugin installed in Atom and the rubocop gem installed in my app. Even after these steps the beautify don't work.
My rubocop location:
$ which rubocop
/home/leonardo/.rbenv/shims/rubocop
In my config.cson i have the…

Léo Rocha
- 324
- 3
- 13
3
votes
0 answers
Atom IDE - Beautify JSX formatting
I've seen other questions about Atom IDE here so I figured I would ask. If there is a more relevant place to post a question like this let me know and I'll take it down and move it.
I'm using Atom with the package Atom Beautify. I'm creating JSX…

bp123
- 3,217
- 8
- 35
- 74
2
votes
1 answer
Prevent Atom Beautify from auto-formatting es6 import/object de-structuring (React)
I am working in the atom text editor, on a project in React, using the es6 import statement, and attempting to format my code using atom-beautify (0.33.4). The start of one of my files is as follows:
import React, { Component } from…

Andrew Watters
- 223
- 4
- 9
2
votes
3 answers
How can I make atom-beautify work with html in php file?
I installed the atom-beautify package in my Atom Editor.
I open a file index.php
- Coffee
- Tea
- Milk
-
…

peace_love
- 6,229
- 11
- 69
- 157
2
votes
0 answers
Indentation of variable value with atom-beautify
This is how I like to structure a variable block, especially if there are lots of variable definitions. In most cases the readability is better:
var fooOpts = config.get("mq.listener.options");
var fooDir =…

JoZeff
- 45
- 6
1
vote
0 answers
How to stop breaking javascript imports to new lines in Atom editor
I'm using Atom editor. In my Vue files, I sometimes use import statements. For example:
Whenever I save the file, Atom breaks the import statement…

flyingL123
- 7,686
- 11
- 66
- 135
1
vote
1 answer
Atom's beautify package not installing
I am using atom editor on Ubuntu 18.04 LTS, and the beautify package was working fine. Then, I tried to update it and it failed. So, I tried to uninstall it and reinstall using the package manager in the atom text editor and this error showed…

Suraj S Jain
- 515
- 3
- 10
- 24
1
vote
1 answer
atom beautifier html comments
I am using atom to write html and atom beautify to format the code. It works quite good but there is one problem that makes my code a little bit messy. Here is the code the way i want it to be:

Giannis Savvidis
- 692
- 4
- 13
- 34
1
vote
2 answers
atom-beautify: indent html with tabs
How can I set the indent size of html to tab in atom-beautifier ?
I tried the following in .jscsrc but it doesn't have any effect.
{
"html": {
"indent_char": " ",
"indent_size": 1,
"indent_with_tabs": true
}
}

Andreas Dominguez
- 65
- 2
- 6
0
votes
1 answer
Installing Atom Editor SQLformat on a Mac for Beautify Package
I have the Atom editor installed on my Mac, with the Beautify Package. Works great for HTML,etc, but when I try to Beautify SQL it says that it needs SQLFormat, which is not installed by default. When I follow the github link it shows that SQLFormat…

Lance
- 17
- 4
0
votes
2 answers
Installing “atom-beautify@0.33.4” failed
when trying to install atom-beautify package, i have the following error.
npm ERR! Unexpected end of JSON input while parsing near '...concat":"latest","@ty'
npm ERR! A complete log of this run can be found in:
npm ERR! …