easysass icon indicating copy to clipboard operation
easysass copied to clipboard

Follow @import and @extend

Open scriptcoded opened this issue 7 years ago • 1 comments

@import and @extend should be followed and saves should be listened to in those files too.

Changing the following file ("icons.scss")

.icon {
  background-color: red;
}

Should recompile the following file

@import "icons";

/* More code... */

scriptcoded avatar Jul 06 '17 17:07 scriptcoded

I would like to see this too. I mentioned this in my review early on and the dev responded:

Resolving dependencies is not as easy though, because the extension would have to search through all files in project and check dependencies to other files (and then to these files, and then ...). I'm thinking of allowing defining dependencies in project's configuration, but that would be inconvenient to use. In the meanwhile, you may always use "Compile all SCSS/SASS files" command as a workaround.

hwangm avatar Aug 21 '17 22:08 hwangm