Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vscode-invert-if) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Visual Studio Code Invert If
API
This package includes the API for extensions interacting with the extension Invert If for Visual Studio Code.
For the full documentation refer to the exposed Invert If Extension API, the full Type Definitions or to the Contributing Guidelines.
Basic usage
import { extensions } from "vscode";
import { InvertIfBaseProvider } from "vscode-invert-if";
const invertIfExtension = extensions.getExtension<InvertIfBaseProvider>("1nVitr0.invert-if");
const provider = new YourLanguageSupportProvider();
if (invertIfExtension) {
const invertIf = invertIfExtension.exports;
invertIf.registerConditionProvider(provider, documentFilter);
invertIf.registerIfElseProvider(provider, documentFilter);
invertIf.registerGuardClauseProvider(provider, documentFilter);
}