badsyntax / atom-sassbeautify Goto Github PK
View Code? Open in Web Editor NEWBeautify your Sass files
License: MIT License
Beautify your Sass files
License: MIT License
When I type command+p in atom followed by 'sass' it doesn't modify the current file instead it opens what appears to be the sass file within the bin of the sass gem.
`require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(FILE).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('sass', 'sass')`
If possible, could you elaborate more on how to install.
You said "If are you using a ruby version manager, you will need to set the PATH in the package settings: Preferences >> Sassbeautify >> Path. (To get the PATH, open up a new shell and type echo $PATH.)"
When I "echo $PATH" I get about 15 different paths and half of them reference ruby in some way. Am I specifying a path to the gems (/bin), or the gem itself?
I'm getting this error:
"There was an error converting your sass:
execvp(): No such file or directory"
in the console
Uncaught Error: write EPIPE events.js:82
Uncaught Error: spawn ENOENT events.js:82
Tards like myself need more robust documentation.
[Enter steps to reproduce below:]
Atom Version: 0.194.0
System: Mac OS X 10.10.3
Thrown From: sassbeautify package, v0.2.0
Failed to activate the sassbeautify package
At Cannot read property 'command' of undefined
TypeError: Cannot read property 'command' of undefined
at Object.plugin.activate (/Users/Eduardo/.atom/packages/sassbeautify/lib/sassbeautify.js:35:21)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:222:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:203:30
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)
at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:195:14)
at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:434:21)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:418:29
at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:311:16)
at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:413:19)
at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:394:46)
{
"core": {
"followSymlinks": true,
"themes": [
"one-dark-ui",
"one-light-syntax"
]
}
}
# User
Atom-Syntax-highlighting-for-Sass, v0.5.0
atom-jshinter, v0.1.3
autocomplete-paths, v1.0.2
emmet, v2.3.8
file-icons, v1.5.4
git-history, v2.5.0
git-log, v0.3.0
git-tab-status, v1.7.0
key-peek, v0.2.5
language-aspx, v0.4.0
linter, v0.12.1
minimap, v4.7.6
sassbeautify, v0.2.0
tasks, v2.0.0
tree-view-open-files, v0.2.3
# Dev
No dev packages
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
Object.activate (/Users/eltonschiveicosta/.atom/packages/sassbeautify/lib/sassbeautify.js:48:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/juliusescobar/.atom/packages/sassbeautify/lib/sassbeautify.js:48:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/juliusescobar/.atom/packages/sassbeautify/lib/sassbeautify.js:35:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/ertac/.atom/packages/sassbeautify/lib/sassbeautify.js:48:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
Object.activate (/Users/eltonschiveicosta/.atom/packages/sassbeautify/lib/sassbeautify.js:38:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
Object.activate (/Users/eltonschiveicosta/.atom/packages/sassbeautify/lib/sassbeautify.js:43:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/ertac/.atom/packages/sassbeautify/lib/sassbeautify.js:35:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
Object.activate (/Users/eltonschiveicosta/.atom/packages/sassbeautify/lib/sassbeautify.js:35:7)
Hi,
I just want to know if there is an option to keep new line between selectors. Like below:
.a {
color: #fff;
.b {
color: #999;
}
}
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/ertac/.atom/packages/sassbeautify/lib/sassbeautify.js:38:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Users/smahendra/Desktop/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/smahendra/.atom/packages/sassbeautify/lib/sassbeautify.js:35:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/juliusescobar/.atom/packages/sassbeautify/lib/sassbeautify.js:38:7)
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (C:\Users\User\AppData\Local\atom\app-0.179.0\resources\app\src\atom.js:54:11)
Object.activate (C:\Users\User\.atom\packages\sassbeautify\lib\sassbeautify.js:38:7)
Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.2.0
) of this package:
atom.views.getView(atom.workspace)
, which returns an HTMLElement.$
from atom
is no longer supported. If you are using space-pen
, please require $
from atom-space-pen-views
. Otherwise require jquery
instead: {$} = require 'atom-space-pen-views'
or $ = require 'jquery'
Add "atom-space-pen-views": "^2.0.3"
to your package dependencies. Or add "jquery": "^2"
to your package dependencies.View
from atom
is no longer supported. Please require atom-space-pen-views
instead: {View} = require 'atom-space-pen-views'
Add "atom-space-pen-views": "^2.0.3"
to your package dependencies.atom.services
. For now, you can get a reference to the status-bar
element via document.querySelector('status-bar')
.Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.
If this package has been replaced by another package or functionality in core, please reply with this information.
See atom/atom#6867 for more info. Thanks!
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/juliusescobar/.atom/packages/sassbeautify/lib/sassbeautify.js:43:7)
Using Laravel Blade Template Structure on project. The plug-in fails when ran on foo.blade.php files. It may be that the page starts with Laravel specific syntax, @layout
or @section('bar')
before the standard HTML beings.
Atom Error Code:
Command failed: /bin/sh -c [ -f ~/.bash_profile ] && source ~/.bash_profile;[ -f ~/.bashrc ] && source ~/.bashrc;php_beautifier "/var/folders/vp/_9mdqt253m5bjm29_mbj7_rr0000gn/T/input11491-14187-1sd36l1" "/var/folders/vp/_9mdqt253m5bjm29_mbj7_rr0000gn/T/11491-14187-1r4cq45" /bin/sh: php_beautifier: command not found
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/ertac/.atom/packages/sassbeautify/lib/sassbeautify.js:43:7)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.