sublime-less2css icon indicating copy to clipboard operation
sublime-less2css copied to clipboard

.sublime-project configuration not working

Open theApprentice opened this issue 11 years ago • 4 comments

Hi there, seems i can't override the default settings with projects specific which in my case are:

"settings": { "less2css": { "autoCompile": true, "ignorePrefixedFiles": false, "lessBaseDir": "./less", "lesscCommand": false, "main_file": "bootstrap.less", "minify": true, "outputDir": "./css/libs", "outputFile": "bootstrap3.css", "showErrorWithWindow": true } }

Thanks for the help ( and the plug in :) !

theApprentice avatar Aug 14 '13 11:08 theApprentice

settings itself is a key inside json object, so you may need to wrap the whole thing in curly braces, eg:

{
  "settings":
  {
     "less2css":
      {
         ...
      }
   }
}

timdouglas avatar Aug 15 '13 13:08 timdouglas

hi Tim, the code is implemented correctly like you suggest, seems like if i mess up with the less code / files the errors reflects on the plugin behave; so i'm experiencing a wide range of errors right now.. completely new to less

thanks!

theApprentice avatar Aug 18 '13 09:08 theApprentice

Can you paste your stack trace from your sublime console when you save a less file? Also, what platform are you running on?

timdouglas avatar Aug 19 '13 08:08 timdouglas

same here, project settings do not overrule the usersettings

reno1979 avatar Mar 07 '14 08:03 reno1979