Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dreamweaver and SASS processing buggy?

Explorer ,
Nov 03, 2017 Nov 03, 2017

Hi all,

A question for developers or adobe staff who have been using dreamweaver to process sass files successfully:

(@staff who haven't been using this, please refrain from giving me standard questions as answers, like "Can you post your code?", "Which operating system are you using?" or "Have you tried using compass?")

I'm working on a website and using the source of the bulma.io framework. This has multilple .sass files that need to get processed into one css.

I thought i would switch to dreamweaver from a free alternative (atom or visual studio code) but i am experiencing a lot of dreamweaver freezes.

Has anybody encountered this, or has any suggestions on how to troubleshoot this:

Every 3rd time i press "Compile" on the base .sass file, dreamweaver crashes.

Half of the time it even causes Windows Task Manager to be unresponsive. (for killing the hung dreamweaver process)

Thanks

Kristof

1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 03, 2017 Nov 03, 2017
(@staff who haven't been using this, please refrain from giving me standard questions as answers, like "Can you post your code?", "Which operating system are you using?" or "Have you tried using compass?")

For us to be able to help you, you need to give us all of the relevant information without us having to rummage around.

The information that you have not given us is that the partials as delivered by Bulma do not contain a leading underscore. This would have been evident had you given us a scree

...
Translate
Community Expert ,
Nov 03, 2017 Nov 03, 2017
(@staff who haven't been using this, please refrain from giving me standard questions as answers, like "Can you post your code?", "Which operating system are you using?" or "Have you tried using compass?")

For us to be able to help you, you need to give us all of the relevant information without us having to rummage around.

The information that you have not given us is that the partials as delivered by Bulma do not contain a leading underscore. This would have been evident had you given us a screen-shot of the directory.

Here is a screen-shot of part of my directory

Dreamweaver and other compilers treat the leading underscore as a partial and will not compile those files. The only file that gets compiled into a CSS file is styles.scss.

Having a look at the compilable file, you will notice that there are no leading underscores or file extensions.

/*!

* Bootstrap v4.0.0-beta (https://getbootstrap.com)

* Copyright 2011-2017 The Bootstrap Authors

* Copyright 2011-2017 Twitter, Inc.

* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

*/

// Core functions,variables and mixins

@import "bootstrap/functions";

@import "bootstrap/variables";

@import "mystyles/variables";

@import "bootstrap/mixins";

// Reset and dependencies

@import "bootstrap/print";

// Core CSS

@import "bootstrap/reboot";

@import "bootstrap/type";

@import "bootstrap/images";

@import "bootstrap/code";

@import "bootstrap/grid";

@import "bootstrap/tables";

@import "bootstrap/forms";

@import "bootstrap/buttons";

// Components

@import "bootstrap/transitions";

@import "bootstrap/dropdown";

@import "bootstrap/button-group";

@import "bootstrap/input-group";

@import "bootstrap/custom-forms";

@import "bootstrap/nav";

@import "bootstrap/navbar";

@import "bootstrap/card";

@import "bootstrap/breadcrumb";

@import "bootstrap/pagination";

@import "bootstrap/badge";

@import "bootstrap/jumbotron";

@import "bootstrap/alert";

@import "bootstrap/progress";

@import "bootstrap/media";

@import "bootstrap/list-group";

@import "bootstrap/close";

// Components w/ JavaScript

@import "bootstrap/modal";

@import "bootstrap/tooltip";

@import "bootstrap/popover";

@import "bootstrap/carousel";

// Utility classes

@import "bootstrap/utilities";

// Fonts

@import "font-awesome";

@import "glyphicons";

// My Styles

@import "mystyles/mymixins";

@import "mystyles/base";

@import "mystyles/header";

@import "mystyles/main";

@import "mystyles/footer";

@import "mystyles/admin";

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 03, 2017 Nov 03, 2017

Hi Ben,

Thanks for taking the time to reply. Yes, i was a little short with my question, but that's mainly i was getting too frustrated with it.

After changing all the partials to include an underscore, dreamweaver compiles nicely -everytime- !

Happy days.

I do feel a bug report or error message from dreamweaver would've been relevant here.

Greetz Kristof

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2017 Nov 03, 2017

if DW doesnt import the file without any underscore as first char, is a bug... the fact of having an undescore just let know Sass that it is a partials file and that should not be compiled as an independant file

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 03, 2017 Nov 03, 2017
LATEST

when recieving my own mail, I realise that what I said could not be really well interpreted... so to clarify, if one have three files

  • _underscored-file.scss
  • nonunderscored-file.scss
  • master.scss

then if on the master.scss file one vae

@import "underscored-file"; 

@import "nonunderscored-file";

the genarated file will be

  1. master.css --> will contain the compilation of _underscored-file.scss and nonunderscored-file.scss
  2. nonunderscored-file.css --> will contain the compilation of nonunderscored-file.scss
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines