src/search/FindUtils.js
function labelForScope(scope) {
        if (scope) {
            return StringUtils.format(
                Strings.FIND_IN_FILES_SCOPED,
                StringUtils.breakableUrl(
                    ProjectManager.makeProjectRelativeIfPossible(scope.fullPath)
                )
            );
        } else {
            return Strings.FIND_IN_FILES_NO_SCOPE;
        }
    }
function labelForScope(scope) {
        if (scope) {
            return StringUtils.format(
                Strings.FIND_IN_FILES_SCOPED,
                StringUtils.breakableUrl(
                    ProjectManager.makeProjectRelativeIfPossible(scope.fullPath)
                )
            );
        } else {
            return Strings.FIND_IN_FILES_NO_SCOPE;
        }
    }
function labelForScope ( scope ) { if ( scope ) { return StringUtils . format ( Strings . FIND_IN_FILES_SCOPED , StringUtils . breakableUrl ( ProjectManager . makeProjectRelativeIfPossible ( scope . fullPath ) ) ) ; } else { return Strings . FIND_IN_FILES_NO_SCOPE ; } }
Returns label text to indicate the search scope. Already HTML-escaped.
@param {?Entry} scope
@return {string}
Returns label text to indicate the search scope . Already HTML - escaped .