Coder Social home page Coder Social logo

lt-scss's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lt-scss's Issues

Cannot achieve compilation

First of all .. thanks a lot for the plugin.. it is brilliant.
I am able to successfully see the effects of evaluating the scss file but I cannot seem to =get compilation (and I assume dumping of a css file) in the appropriate directory.

screen shot 2014-02-28 at 12 04 41 pm

SCSS auto-indent not matching code mirror functionality.

First, thanks for making such an awesome plugin. This has worked out great except for one minor annoyance with the auto-indent functionality not matching code mirror.

When I place my cursor at the closing } of the .foo a style and hit enter, the next line is not indented correctly. It should be two indents in and it's currently zero indents in.

body {
    background-color: white;
    font-family: serif;
    .foo {
        background-color: lime;
        text-decoration: none;
        a {
            color: red;
        }
    }
}

Interestingly enough, when I try the same action with the same code on the code mirror site, it is handled correctly. http://codemirror.net/mode/css/scss.html

Am I doing something wrong, or is this a legitimate issue? It seems like there were a couple of issues with the code mirror indenting that got fixed a few months ago. Perhaps those fixes didn't make it to this plugin?

Warning, node-sass isn't installed properly on system

Hey all,
os - OSX
I am getting an error in the light table console:

<span style="font-family: monospace">:</span><input type="text"/><span style="color: #888">
bootstrap.js[17088]: WARNING! node-sass isn't installed properly on your system. Try rebuilding it using the instructionsfound here: http://github.com/lambdahands/lt-scss

I came here, followed the instructions to change binaries, very easy to follow, great job and nothing changed. I am still getting the same warning.

So here comes the weird part. I have the vim plugin installed and this error happens every time I use ":" to save, quit, etc. I can get my vim bindings to work if I go into my user keymaps and save which also clears the console error and allows me to use ":"...I don't get it either haha.

Anyways, any help is appreciated. I am very happy with light table besides this bug and am willing to help on this issue any way I can.

Thanks in advance,
Stv

Inject entire complied output, not just the file being editted

A common pattern for Sass projects is to have on .scss which includes a number of partials. See screenshot for an example where app.scss is being used as an aggregation of other .scss files. The advantage of this is that variables, mixins, etc can be shared across a project.

When I try to use this pattern with lt-scss I get errors that certain mixins & variables are unavailable. So, for example, if a variable declared in _partial-1.scss is used in _partial-2.scss (but isn't @imported to _partial-2.scss) an error occurs.

Is there any way round this currently? If not would you consider it as a feature request :)

Eval on change

It would be cool if there was an option to trigger eval as you type. There is a plugin to do this for CSS - https://github.com/davecoates/lt-CSSLive.

I don't know if it would quite work with having to compile the scss on change but node-sass seems pretty fast. I tried to hack something together but couldn't get it to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.