Brackets + Sass 学习心得

时间:2023-12-23 14:30:02

大家知道Brackets是一个可以实时浏览html页面修改效果的工具,对于前段开发人员应该不会陌生,有了它,布局页面再也不是什么困难了, 目前为止已经更新到1.6了。 下载最新版可以到官方网: http://brackets.io

sass 大家应该也有所了解,它是一个预编译样式的脚本,可以通过sass编译器编译成相应的css代码。详细的关于sass语法请参考官方网: http://sass-lang.com/guide

brackets也有支持它的插件, 目前我在用的是:https://github.com/jasonsanjose/brackets-sass, 通常你可以在插件管理器里安装 brackets-sass

如果你不能上网,也就不能通过brackets的插件安装里找到

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwQAAAIYCAIAAABc+rzhAAAUwklEQVR4nO3dIXji6MKG4ZFHjhz7y5Ur1/5y5MrakZWVWGQlEousjMRGIpGxyMpKjmA3JyUhBKZA4L3vC0FDCF/IzpVnkwDfZgAAwb7degAAALckhgCAaGIIAIgmhgCAaGIIAIgmhgCAaGIIAIgmhgCAaGIIAIgmhgCAaINi6BUA4M6dE0O7Z07/NQEAuEN1zHRWUXcM1Rm0WCzW63UFAHDn1uv1YrFoJ1FHDNUlVJblel2tAQAeRFWW5V4P7cdQfV5td0wIAODBLBaL5oVE3TE0nU5vPU4AgEtpHhz61nlYaDKZ3HqQAACXMplM6uzpiKHpdPry8nLrQQIAXMrLy0t9cEgMAQBxumOoPlgkhgCAx9YXQ7uvJBJDAMAD28XQrofEEAAQRwwBANHEEAAQTQwBANFGEUNvb2/1T8i+vb2d9Ch3wSYGYLRGEUPTz056lLtgEwMwWmLo9oqimM1m9Qq+vr7O5/OiKFar1a2H9mXCNzHcTlVV1XK5LCDDcrmsqurUfyc3i6HmmZHzPMb5lNVq1bOO8/m8LMtbj/FMNjHcXFVVZVm+v79/QIb39/eyLE/toZvF0G/uJncuMbDrq9/qQ+bz+a3HeA6bGG5uuVx+fHxsIcnHx8dyuTzpX4oYur2yLNurtlgsdo/WZ9Du7hCRTQw3VxTFrXdMcANFUZz0L0UMjcJisdhbtTp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="327" height="227" />

我们可以下载到最新的zip版本, 通常可以在 https://github.com/jasonsanjose/brackets-sass/releases 这里下载.zip 文件名为jasonsanjose.brackets-sass.X.X.X-XXX.zip

然后拖到 aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvgAAABICAIAAAAMFRboAAAPbklEQVR4nO3dQWgbVx4G8IEe5F6MoWAcqGm2uJDgS4x7SHSS91LhElByUS4VgkUQCIbAXIx0MAiXoBKwoAZdTHWKfNkhFCxysdcFgbLrwxixxakoTHRYeJZtWbZkW7ET++3hqeOxNJoZSSONNPp+vIM9lt48pW705b3/e+IoUEopff+ebm420d69s3rEAAAAoIezegDW2N6mq6t0YYG6XHRsjHJc621oiLpc1OWifj9dWKAvXlSTULFo9YsEAAAYeAMUdN6/p7EYffJEJdncvl0NK3JeUTa///qnymYkIblc1OOhCwv0zRtEHwAAgG7jiN2trx8EAifj45/k8OFwXLndFZ4vx2JFQSi0f4tUal8QCoJQiESOeb7M82WPp+J0njscVzW5Z2Lio9d7Fo0ebW3ttX9fAACAgVUxgOd5Lm1Ty8u/P3q0+8UXF3LI+Oabkx9++N/y8u/dHMZvv/17efn3UOjPR492v/rqTBl6bt368P33e6HQn6ur290cEgAAwIDged5uMzqZTD4YLCnnb5zO80jkOJPJWz00QgjJZvOJxOHc3Mn09IUy9AwPX87MfAgGS4JQyOV2rR4mAACAHdgq6MTjRY+nIkeH6emL3sk3qnK5XRZ6nM7zmhWu0dFLp/M8EDgJh0uCUMhme/dVAAAA9Cw7BJ1E4tDnOx0evpSnRny+01Rq3+pxNW1t7SAcLrHinvqiZofjyuk89/lO2axPLwc4AACAHtGXQWdt7SASOfb5Ticnb6z+uN2VWKxom3Wfra09QSjwfNnrPVONPmxVzus94/myIBT6MdsBAAB0lE7Q6ZGdQXKyqalrYUs8MzMfIpHjQVjckaOPz3equqWLLdh5PBWeLycShyj3AQCAAacVdBKJQ46j4XCpmwMihGQy+UTikOfLbnelZs6G4+j4+Ce2MzyROMTyTSaTF4R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TcJMAAAAASUVORK5CYII=" alt="" />  就可以了。

这时就可以再Brackets项目里增加*.scss文件了, 默认下所有的scss文件都会生成相应的css文件,我们可以通过增加 .brackets.json文件区控制sass的编译结果

/*
Resulting file tree will appear as follows:
+ bower_components/
|--- bourbon/app/assets/stylesheets/_bourbon.scss
+ css/
|--- app.css
|--- app.css.map
+ scss/
|--- app.scss
*/ /* REMOVE comments from json file before using this template */
{
/* disable compiling other files that aren't the "main" file */
"sass.enabled": false,
"path": {
"scss/app.scss": { /*这个路劲很变态,是相对根目录的地址,必须大小写一致*/
"sass.enabled": true,
"sass.options": {
"outputDir": "../css/", /*css生成地址*/
"includePaths": [],
"sourceComments": true,
"outputStyle": "nested" /*嵌套: nested 压缩值为: compressed */
}
}
}
}

把生成的样式文件应用的html文件里,点击aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAABUCAIAAABGG1PbAAAESUlEQVRoge3aPWjbQBQA4AODMWTx0JJChxRBoYQGgiHgEigOhdJAIEEYErS0cBmCNbSgQlsEzdCDUDDNUEEzqBgCGkXocGSpMF6SsVs9dHC3QCkECiGQ5XV49kWRbEWJfpzhHhqMrOg+vbuT7y5HINXo9aDdhsPDNO9JUrzX5iYQ0j82N1O7bWpE9JXLUKvBygp0u9DtQrsd9/jxI2Oi8ImSut3zjMY87tyBjQ3Y20uJqA2iXl9XlA4hUCyeLC6+E+dXV58rSmdy8mfM49atX8L67BmcnqZErFZ3SqVjQqBUOvb7rheq2mi1YHYWCIGVlTSIlcouPrSidOr19YQ+DAA4Pu4rt7aSEVW1QQgUCmcLCx9TwQkiAPR6UC5DqQS9XgLi48efCIEHD/ZT9AkiAGxvn1f3NYnV6g4hMDPjZkQEgHv3gBDodpMR79//nh0RE/n2bTKionSyIx4dASEwO3uDiQD9rp2ImLy76LpumuYo4osXiYkR3YUxZts2pTTCxxhzHCcii/1xyfWIc3NfI4i6bnie53ke59yfJP8FrutyzgPPECil1UpAxPfi0LZIKeWce77wp5NSalkWntd1I/C3aRKXll7jr4uqNgLFuK7rhQLTaZqm+JYxFn68QClbWwmImqbhACeQSMuyw75wWJY9tIUESqnVkhFVtTEx8YcQqFZ3sADGGApct5+zQI0Pvh3ZyfxFnJ5CqQTlcrLB2NOn77G6K5XdjY03gwxZ/pZn2xfyGu4io4jtNhACa2uJh7T49sHj7t1/Dx8ezM9/Xl197i/Yn85wFxlFfPUKCIFWKzFR07TFxXePHv2+ffuvsBYKZ1NTB/5xGqZzaBcZRcRhRK+XBtE0TV3XNU2r19fn5z8rSqdQOEPrxMSfSmU3/oBX3H9vDwiBWg0g+dxlaNTr69XqjpiOFIsn09Pfwq+nCCL+OuNUKxOiiOXll/6kTk7+nJlxFxY+PnnyYXn5Zfj6w0PY34e1tf4YByNbIoaqNqanvxWLJ1easIr5bh5EEUtLr+fmvk5NHeDEVGRXNFxcJvjyBY6OzsvKlXhpDC1LEiVREiVREiVREiVREuMTGWOcc855YDKFs+zw+TEQxXyUcx7n/BiI/ol9nPP5EbF+4yzoiFyGazxb4pV8o2o8W+JVfRiSKImSKInXJAYWjOOEbQcX5bMlphKSKImSKImSKImSKIkXInorzPiJum5wzqP/Uz5OIvo8z4upzJuIPkGMo8yVSCnF/Uy48wm5rutGt8tciYNE6pqm4RwFP9+gLPojPI26KURKabPZFMRms3np2ydXoljLE0TvsiXa/IiMMdy75rougpAYPj8GomEYjuOEEf62KKCO4xjGJZsDUybirkn0BTovtkjflbrvygvKbIlCg03QsuzwW0bXddw9OKpR5kHUBh1ZLIlgbRqGIVZUIrp2HkRKKW6eFQnDCsUPIrVDN9iOIv4HCMVH+5/7Xk8AAAAASUVORK5CYII=" alt="" /> 就看可以立即看到效果了。

非常棒哦!!!

附插件: https://github.com/konstantinkobs/brackets-SASShints 它可以自动完成变量读取
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAU8AAACcCAIAAABwcr6QAAAOeklEQVR4nO2cK5frIBRGI/u7rqysrB1ZGTk28sqRtSMrr+xfGDmyNhIZyRUno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Je1OW2PvHEMOJle3Xg91PbIygeDuXSJsv2efODknXFeCz+dVU1+Mk7G2L6/53awcbpn15TDZ9c4u9Ph52e5N3DyvpKywy+rGhnb43vy1o9Pd9qu2535mFb6AtsTpdN2zJw1xN+GNg5sT5RO24EBtoN9UzFge5gBo3TbxNjOv31f4X3/q4AjbafrYO3zAnPBv2XYnhaW7Sa8Q/hDopRyduNhexI4bSfhfxt+wM4xXyWpDtsTpWrDwzvxCw6B+UKdqsP2VPCFd+485N8d8rszX2t8YNew/WA4w3vYebAvLM/jA7uG7cfDJzx3Huwa/p3Gq65h+/GoBAocEflFw/YUcV4HMP8YBL7czgsDth+TwDUBDknMVQHbD8valx9YjshLArYfn7UvRTAXfa8E2A5AKsB2AFIBtgOQCgNtV1orrcvqneaD2pLb2wS/4Qc2y3Dbb3lxze8mTXtanFteKNf2NoHnYLNkPz8/Aw4rK02SW1FdicTzeS9A5vjy/9yef25Pyuctyp4FP5a3Hi5p/V8m8f9C1ukDtoPN8h/lQsnPkB71cAAAAABJRU5ErkJggg==" alt="" />

Brackets支持远程网站调试

例如我有一个IIS站点,访问端口是:http://localhost:8080/,Brackets支持打开这个根目录,前提是设置项目设置