CSS-Less-ish icon indicating copy to clipboard operation
CSS-Less-ish copied to clipboard

File becomes dirty right after save

Open serkanyersen opened this issue 14 years ago • 2 comments

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.

serkanyersen avatar Mar 23 '12 13:03 serkanyersen

Thanks for the feedback mate - nice to know people are trying things out. Yes you've hit the nail on the head - I've made many attempts trying to find a sublimetext 2 api call edit the undo stack - and mark the file as "clean" again after the save (which would make things perfectly seamless). It's a persistent annoyance that all my css files require a save whenever I close down... but for now there's been enough pleasure to endure the pain :P

I'm glad you find the tool somewhat useful. The real css compilers however are absolute monsters of precision - and allow many more features than i'll ever dream of implementing (hats off!) - but for me having several of the "core" features (to my mind anyway) in my IDE has been really nice and simple.

kizza avatar Mar 30 '12 00:03 kizza

Let's hope sublime developers come up with better API methods :)

Thanks for such a great tool.

serkanyersen avatar Mar 31 '12 08:03 serkanyersen