Git Product home page Git Product logo

css-less-ish's People

Contributors

kizza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

css-less-ish's Issues

bug or not?

Hi!

Take the example

/*@link = #6699CC*/  
a { color: @link}

produces

/*@link = #6699CC*/  
a { color: #6699CC*/}

/* Variables:link{33:42} */

a { color: #6699CC*/} -> */ after color

When multi-line comments it works fine.

Thanks for the cool plugin!

Doesn't double check replacement

I looked at your css smarts comment at the end of a document and it looks like you're droping the start and end character count for replacements in the bottom of the file, but this doesn't work if you have someone else who might edit the file.

To test this I just added some text to the top of the file and when the replacements were made text that wasn't the variable value was replaced with the @variable causing the css to break.

CSS-Less-ish will modify the *REPL* result

I use sublimeREPL run Python, it works good.
But today, I installed this package, and all the REPL result window have been modified, at the first window create even no print anything.
Then if I want to close the window, sublime will ask for save because the "file" was modified. Sublime will ask every window every time. TAT

File becomes dirty right after save

Since files are compiled when saved, and de-compiled right after save, sublime thinks that the file is modified. Same problem effects undo stack and it changes the expected behavior of the editor.

I believe, this is an amazing tool and can replace LESS compilers all together, but you should keep on developing it and find another way to compile files on save.

Let me know if I can help in any way.
Keep up the good work.

Suggestion: Deeper Nesting

Would it be possible to add further levels of nesting like LESS has?

The single-level is useful for simple selectors, but once you start increasing complexity the handiness diminishes.

I'm loving the plugin so far - I think it'll save many of us lots of time. Keep up the awesome work!

AttributeError: 'NoneType' object has no attribute 'endswith'

HI, boy, I think there is a exception you was not notice. the detail is here

File "./csslessish.py", line 100, in on_load
File "./csslessish.py", line 107, in process
AttributeError: 'NoneType' object has no attribute 'endswith'

you should check view.file_name() is None

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.