%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.154.253.140 / Your IP : 216.73.216.49 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/Microsoft VS Code/resources/app/extensions/search-rg/out/ |
Upload File : |
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
var vscode = require("vscode");
var ripgrepTextSearch_1 = require("./ripgrepTextSearch");
var ripgrepFileSearch_1 = require("./ripgrepFileSearch");
function activate() {
if (vscode.workspace.getConfiguration('searchRipgrep').get('enable')) {
var outputChannel = vscode.window.createOutputChannel('search-rg');
var provider = new RipgrepSearchProvider(outputChannel);
vscode.workspace.registerSearchProvider('file', provider);
}
}
exports.activate = activate;
var RipgrepSearchProvider = /** @class */ (function () {
function RipgrepSearchProvider(outputChannel) {
this.outputChannel = outputChannel;
}
RipgrepSearchProvider.prototype.provideTextSearchResults = function (query, options, progress, token) {
var engine = new ripgrepTextSearch_1.RipgrepTextSearchEngine(this.outputChannel);
return engine.provideTextSearchResults(query, options, progress, token);
};
RipgrepSearchProvider.prototype.provideFileSearchResults = function (options, progress, token) {
var engine = new ripgrepFileSearch_1.RipgrepFileSearchEngine(this.outputChannel);
return engine.provideFileSearchResults(options, progress, token);
};
return RipgrepSearchProvider;
}());
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/0f080e5267e829de46638128001aeb7ca2d6d50e/extensions\search-rg\out/extension.js.map