keegnotrub / coda-sass-plugin Goto Github PK
View Code? Open in Web Editor NEWA plug-in for Panic's Coda 2 that converts scss files into css files.
Home Page: https://github.com/keegnotrub/coda-sass-plugin
A plug-in for Panic's Coda 2 that converts scss files into css files.
Home Page: https://github.com/keegnotrub/coda-sass-plugin
What about supporting Bourbon, Neat, Compass, etc. mixin libraries as part of the compile process?
I just discovered this plugin exists (fantastic BTW) and have run into this inconvenience.
I saw someone else had this issue https://github.com/keegnotrub/coda-sass-plugin/issues/4
(now closed) and you said it was resolved in Code v2.5. I'm using v2.5.11 and on save it registers the scss just not the css.
Is there a setting I'm not aware of? It's obviously not critical, I was just wondering if I'm missing something.
Thanks in advance.
Hi,
I noticed that Coda 2 does not recognize when the css file generated has been updated after saving the scss file. This makes it difficult when using the publish feature, as I can publish the scss file but have to manually file transfer my new generated css file.
Is there a setting?
Thanks!
A great plugin but any chance of implementing a solution that can include Compass? I'd much rather this plugin over using scout.
Is there a way to configure the output path?
This is a great concept... However, since it leaves in all spacing, comments, etc., the output is not really suitable for production use (which should really be minified with comments stripped out). Unfortunately until that's addressed I don't see how this is actually very useful; if an alternative Sass compiler has to be run before uploading to a production server, one may as well just use that alternative all the time.
when I edit my files the font-conversion goes from "'maps-navigation': "\e889", to content: (should be "\e889"). Seems some processing cant figure out "\e889"?
If the plugin is disabled it can be dealloc'd which then will cause a crash because it's still a registered observer of the save notification. It needs to unregister in dealloc.
Furthermore, it should be using the callback available in 2.0 and later:
Instead of sniffing private notifications.
Why can you not save the CSS files in another folder?
Hey there!
Great plugin, the only problem I find is that using the Nested Output style I get the closing brace for each class beside the last property instead of a new line.
Also, I'm used to do tabbing to have a nested code and the plugin uses two blank spaces.
Have you thought about adding some options to configure this in the future?
Thanks,
Juan.
Sass have been updated with some new feathers and I wonder if this plugin will be updated too
Question. Do I need to install libsass first to get this to work? I'm working on a MacBook Pro with OS X 10.9.5 running
When trying to use this in macOS 10.15, I get the following error:
“Sass.codaplugin” cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.
Is there anything we can do to get around this?
I was struggling with using a mixin, and then realized that Bourbon is a bit outdated. It looks like selection was added a few days after Bourbon was added to the plugin. I'm sure there are probably more missing that I haven't found yet.
Is there a way to compress the output .css file on the most compressed option, but keep comments in tact? I use this for a lot of wordpress builds where the comments area is required at the top.
Hey, thanks for the plugin!
However, the Plugin only works locally for me, am i missing something?
I installed
it by clicking but no plugin appears inside the app. Does it add a context menu somewhere?
I'm totally new to scss and I installed the plugin in Coda. It works great when I am working locally. But when I save a scss file in the FTP directly on the server, no .css file is spawning.
So I wonder if this plugin automatically generates a css file locally and unable to automatically generate a css file directly on the server from a scss file on the server.
Thanks in advance!
I'm not able to enact a compile by saving a .sass file. My scss file can pull in sass includes, but for some reason I can't initiate a compile by saving a .sass file.
Is it a difficult matter to make it work with either file types?
I'm running a MacBookPro 1,2 with OS10.6.8 and the plugin 'installs' without any errors but it doesn't function and doesn't show up in the 'Plugins' menu within Coda2. At first I thought it just didn't install for some reason so I double clicked the plugin again and Coda said the plugin was already installed and gave me the option to replace it.
Is my system just too old to run this plugin?
Thanks!
Would be great to have 'expanded' as an option for compile.
I would like to use a mixin for the CSS calc function so that the various browser prefixed would be attached. Unfortunately the following mixin will not be compiled correctly:
@mixin calc($property, $expression) {
#{$property}: -moz-calc(#{$expression});
#{$property}: -webkit-calc(#{$expression});
#{$property}: calc(#{$expression});
}
if I call the mixin like @include calc(width, "(50% - (227px / 2))"); the output for the last line will be:
width:calc(#{$expression});
Hi,
thank for the great plugin, I'm trying to use random($limit) to get random number but its not working :(
Any ideas?
Thank you!
Davor
Is there any way of triggering Coda's auto-refresh with this? Ideally it would behave exactly like editing the CSS file directly, where it updates as soon as you type, but failing that, refresh on save of the SASS file would be cool.
Currently it seems you need to manually refresh the preview pane to see any changes which slows the whole thing down a lot.
Maybe it could somehow utilise takana or something?
This is a great enhancement to Coda, but until certain other features are added, it would be great to easily disable it so I can use another application to compile at times.
Hi there,
Great plugin - I use it all of the time.
Not sure if this is the right place for this request but:
How difficult would it be to add an option to exclude the automatic compiling of the SASS on a per-Coda Project basis?
The reason I ask is that in some cases, I create the CSS via a gulpfile, whereas other times I use this plugin.
When using a gulpfile, I get an erroneous CSS file output that I have to delete after each save, and then I run the gulpfile to create the one I want.
The ability to just say "Don't use this plugin for this project - Remember this setting" would be great.
Anyway, thanks for this plugin!
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.