private static SourceCommentsMode DetermineSourceCommentsMode(ScssOptions options)
 {
     return options.GenerateSourceMaps
         ? SourceCommentsMode.SourceMaps
         : options.IncludeSourceComments
             ? SourceCommentsMode.Default
             : SourceCommentsMode.None;
 }
        private static void AddFileToProject(FileInfo source, FileInfo target, ScssOptions options)
        {
            try
            {
                if (options.IsDebugLoggingEnabled)
                    Logger.Log(string.Format("Nesting {0} under {1}", target.Name, source.Name));

                var buildAction = options.IncludeCssInProjectOutput ? InteropHelper.BuildActionType.Content : InteropHelper.BuildActionType.None;
                InteropHelper.AddNestedFile(SassyStudioPackage.Instance.DTE, source.FullName, target.FullName, buildAction);
            }
            catch (Exception ex)
            {
                Logger.Log(ex, string.Format("Failed to include {0} in project under {1}", target.Name, source.Name));
            }
        }
 public SassDocumentCompiler(ScssOptions options)
 {
     Options = options;
 }
 public LibSassNetDocumentCompiler(ScssOptions options)
 {
     Options = options;
 }