function _includeProjectScope(filename) {
        filename = filename || currentFilename;
        if (!filename || !projectDirectory) {
            return false;
        }
        return FileUtils.getRelativeFilename(projectDirectory, filename) !== undefined;
    }
@private

Determines whether the project Scope should be included based on whether
the currently edited file is within the project.

@param {string=} filename Full path to edited file
@return {boolean} true if the project Scope should be included.