This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // The plugin looks for a .jsbeautifyrc file in the same directory as the | |
| // source file you're prettifying (or any directory above if it doesn't exist, | |
| // or in your home folder if everything else fails) and uses those options | |
| // along the default ones. | |
| // Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options | |
| // Documentation: https://github.com/einars/js-beautify/ | |
| "html": { | |
| "allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "dust"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //https://qt.gitorious.org/qt-creator/qt-creator/source/1a37da73abb60ad06b7e33983ca51b266be5910e:src/app/main.cpp#L13-189 | |
| // taken from utils/fileutils.cpp. We can not use utils here since that depends app_version.h. | |
| static bool copyRecursively(const QString &srcFilePath, | |
| const QString &tgtFilePath) | |
| { | |
| QFileInfo srcFileInfo(srcFilePath); | |
| if (srcFileInfo.isDir()) { | |
| QDir targetDir(tgtFilePath); | |
| targetDir.cdUp(); | |
| if (!targetDir.mkdir(QFileInfo(tgtFilePath).fileName())) |