Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atom-ide-base

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-ide-base - npm Package Compare versions

Comparing version 2.1.1 to 2.1.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [2.1.4](https://github.com/atom-ide-community/atom-ide-base/compare/v2.1.3...v2.1.4)
### Bug fixes:
- Updated atom-package-deps #47
- Updated devDependencies #44
- Improved documentation #46 #45 #43
## [1.4.1](https://github.com/atom-ide-community/atom-ide-base/compare/v1.4.0...v1.4.1) (2020-10-01)

@@ -2,0 +9,0 @@

2

commons-ui/float-pane/SnippetView.js

@@ -87,2 +87,2 @@ "use strict";

exports.getSnippetHtml = getSnippetHtml;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU25pcHBldFZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMtY29tbW9ucy11aS9mbG9hdC1wYW5lL1NuaXBwZXRWaWV3LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNkNBQThCO0FBQzlCLDBEQUFpQztBQUVqQywwREFBeUQ7QUFpQnpELE1BQWEsV0FBWSxTQUFRLEtBQUssQ0FBQyxTQUF1QjtJQUE5RDs7UUFDRSxVQUFLLEdBQUcsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLENBQUE7SUE0QnpCLENBQUM7SUExQkMsTUFBTTtRQUNKLE9BQU8sQ0FDTCw2QkFBSyxTQUFTLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxrQkFBa0IsRUFBRSxPQUFPLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMs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B7XG4gICAgICAgIHNuaXBwZXQgPSBzbmlwcGV0XG4gICAgICAgICAgLnJlcGxhY2UocmVnZXhQcmVtZWFibGUsIFwiXCIpIC8vIHJlbW92ZSBhbnkgcHJlYW1ibGUgZnJvbSB0aGUgbGluZVxuICAgICAgICAgIC5yZXBsYWNlKHJlZ2V4TFNQUHJlZml4LCBcIlwiKSAvLyByZW1vdmUgTFNQIHByZWZpeFxuICAgICAgICByZXR1cm4gYFxcYFxcYFxcYFxcbiR7c25pcHBldH1cXG5cXGBcXGBcXGBgXG4gICAgICB9KVxuICAgICAgLmpvaW4oXCJcXG5cIilcblxuICAgIGlmIChyZW5kZXJlcikge1xuICAgICAgcmV0dXJuIERPTVB1cmlmeS5zYW5pdGl6ZShhd2FpdCByZW5kZXJlci5yZW5kZXIobWFya2Rvd24sIGdyYW1tYXJOYW1lKSlcbiAgICB9IGVsc2Uge1xuICAgICAgLy8gVXNlIGJ1aWx0LWluIG1hcmtkb3duIHJlbmRlcmVyIChpdCBhbHJlYWR5IGRvZXMgc2FuaXRpemF0aW9uKVxuICAgICAgY29uc3QgcmVuZGVyID0gYXdhaXQgZ2V0TWFya2Rvd25SZW5kZXJlcigpXG4gICAgICByZXR1cm4gYXdhaXQgcmVuZGVyKG1hcmtkb3duLCBncmFtbWFyTmFtZSlcbiAgICB9XG4gIH0gZWxzZSB7XG4gICAgcmV0dXJuIG51bGxcbiAgfVxufVxuIl19
{
"name": "atom-ide-base",
"version": "2.1.1",
"version": "2.1.4",
"main": "package/main.js",

@@ -17,3 +17,3 @@ "types": "./types-packages/main.d.ts",

],
"author": "atom-ide-community",
"author": "atom-community",
"description": "Atom IDE packages for Atom",

@@ -23,5 +23,5 @@ "keywords": [

"ide",
"atom-ide-community"
"atom-community"
],
"repository": "https://github.com/atom-ide-community/atom-ide-base",
"repository": "https://github.com/atom-community/atom-ide-base",
"license": "MIT",

@@ -43,5 +43,27 @@ "scripts": {

"build": "npm run build.package && npm run build.commons-atom && npm run build.commons-ui",
"prepare.base": "npm run build",
"build-commit": "build-commit -o dist",
"bump": "ncu -u -x coffeescript",
"prepare": "npm run build && shx rm -r **/tsconfig.tsbuildinfo"
"apm.prepublishOnly": "git checkout apm.publish && git reset --hard master && shx rm -rf nuclide && git commit -m 'clean'",
"prepublishOnly": "shx rm -rf **/tsconfig.tsbuildinfo",
"build.nuclide-adb": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-adb --out-dir dist-nuclide/nuclide-adb --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-analytics": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-analytics --out-dir dist-nuclide/nuclide-analytics --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-commons": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-commons --out-dir dist-nuclide/nuclide-commons --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start && npm run copy.ignored",
"build.nuclide-commons-atom": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-commons-atom --out-dir dist-nuclide/nuclide-commons-atom --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-commons-ui": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-commons-ui --out-dir dist-nuclide/nuclide-commons-ui --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-debugger-cli": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-debugger-cli --out-dir dist-nuclide/nuclide-debugger-cli --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-debugger-common": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-debugger-common --out-dir dist-nuclide/nuclide-debugger-common --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-fuzzy-native": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-fuzzy-native --out-dir dist-nuclide/nuclide-fuzzy-native --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-watchman-helpers": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-watchman-helpers --out-dir dist-nuclide/nuclide-watchman-helpers --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"build.nuclide-node-transpiler": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-node-transpiler --out-dir dist-nuclide/nuclide-node-transpiler --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
"copy.ignored": "shx cp nuclide/nuclide-commons/__mocks__/fixtures/symbol-definition-preview-sample.js dist-nuclide/nuclide-commons/__mocks__/fixtures/symbol-definition-preview-sample.js",
"clean.nuclide": "shx rm -rf dist-nuclide",
"build.nuclide": "shx rm -rf nuclide/**/node_modules && cross-env BABEL_KEEP_MODULES=false babel nuclide --out-dir dist-nuclide --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start && npm run copy.ignored",
"install.nuclide": "pnpm install -r --filter ./nuclide",
"install.dist-nuclide": "pnpm install -r --filter ./dist-nuclide",
"prepare.nuclide": "pnpm clean.nuclide && pnpm build.nuclide && pnpm install.dist-nuclide && pnpm install.nuclide",
"prepublish.nuclide": "pnpm clean.nuclide && pnpm pub -r && pnpm prepare.nuclide && git commit -m 'publish' -- .",
"publish.nuclide": "pnpm publish --filter ./dist-nuclide",
"test.nuclide.atom": "jest dist-nuclide --config=dist-nuclide/atom-test-runners/jest-atom-runner/configs/jest.config.atom.js --detectOpenHandles",
"test.nuclide.node": "jest dist-nuclide --config=dist-nuclide/atom-test-runners/jest-atom-runner/configs/jest.config.node.js --detectOpenHandles"
},

@@ -56,4 +78,5 @@ "atomTestRunner": "./spec/runner",

"dependencies": {
"atom-package-deps": "^6.0.0",
"atom-ide-markdown-service": "^1.6.0",
"atom-package-deps": "^7.1.0",
"classnames": "^2.2.6",
"dompurify": "^2.1.1",

@@ -63,28 +86,38 @@ "etch": "^0.14.1",

"react-dom": "^16.13.1",
"classnames": "^2.2.6",
"rxjs": "^6.6.3"
},
"devDependencies": {
"@types/atom": "1.40.4",
"@types/classnames": "^2.2.10",
"@types/dompurify": "^2.0.4",
"@types/node": "^14.11.7",
"@types/react": "^16.9.51",
"@types/react-dom": "^16.9.8",
"csstype": "^3.0.3",
"typescript": "^4.0.3",
"coffeescript": "^1.12.7",
"tslib": "^2.0.2",
"jasmine": "^3.6.1",
"@types/jasmine": "^3.5.14",
"atom-jasmine3-test-runner": "^5.1.2",
"prettier": "^2.1.2",
"eslint": "7.10.0",
"eslint-config-atomic": "^1.5.0",
"rollup": "2.29.0",
"rollup-plugin-atomic": "^1.2.0",
"shx": "0.3.2",
"cross-env": "7.0.2",
"npm-check-updates": "9.0.4",
"build-commit": "0.1.1"
"@babel/cli": "7.12.10",
"@babel/core": "7.12.10",
"@types/atom": "1.40.7",
"@types/classnames": "^2.2.11",
"@types/dompurify": "^2.2.1",
"@types/jasmine": "^3.6.3",
"@types/node": "^14.14.22",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"atom-jasmine3-test-runner": "^5.1.8",
"babel-preset-atomic": "^3.0.1",
"build-commit": "0.1.4",
"cross-env": "7.0.3",
"eslint": "7.18.0",
"eslint-config-atomic": "^1.5.1",
"npm-check-updates": "11.0.2",
"prettier": "^2.2.1",
"rollup": "2.38.0",
"rollup-plugin-atomic": "^2.0.1",
"shx": "0.3.3",
"typescript": "^4.1.3",
"csstype": "^3.0.6",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest-haste-map": "26.6.2",
"jest-message-util": "26.6.2",
"jest-mock": "26.6.2",
"jest-runner": "26.6.3",
"jest-runtime": "26.6.3",
"@jest-runner/nuclide-e2e": "^2.0",
"babel-jest": "^26.6.3",
"mkdirp": "1.0.4",
"node-ipc": "9.1.3"
},

@@ -94,11 +127,27 @@ "providedServices": {},

"package-deps": [
"atom-ide-markdown-service",
"atom-ide-datatip",
"atom-ide-signature-help",
"atom-ide-hyperclick",
"atom-ide-definitions",
"atom-ide-outline",
"linter",
"linter-ui-default"
{
"name": "atom-ide-markdown-service"
},
{
"name": "atom-ide-datatip"
},
{
"name": "atom-ide-signature-help"
},
{
"name": "atom-ide-hyperclick"
},
{
"name": "atom-ide-definitions"
},
{
"name": "atom-ide-outline"
},
{
"name": "linter"
},
{
"name": "linter-ui-default"
}
]
}

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("atom");let a;exports.activate=function(t){a=new e.CompositeDisposable,async function(){atom.packages.isPackageLoaded("intentions")&&atom.packages.disablePackage("intentions");const e=["atom-ide-markdown-service","atom-ide-datatip","atom-ide-signature-help","atom-ide-hyperclick","atom-ide-definitions","atom-ide-outline","linter","linter-ui-default"];e.some(e=>!atom.packages.isPackageLoaded(e))&&await Promise.resolve().then((function(){return require("./index-cf1ca40b.js")})).then((function(e){return e.index})).then(({install:a})=>{a("atom-ide-base",!1),e.filter(e=>!atom.packages.isPackageLoaded(e)).forEach(e=>{atom.notifications.addInfo(`Enabling package ${e} that is needed for "atom-ide-base"`),atom.packages.enablePackage(e)})})}().then(()=>{})},exports.deactivate=function(){a&&a.dispose(),a=null};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("atom");let a;exports.activate=function(){a=new e.CompositeDisposable,async function(){atom.packages.isPackageLoaded("intentions")&&atom.packages.disablePackage("intentions");const e=["atom-ide-markdown-service","atom-ide-datatip","atom-ide-signature-help","atom-ide-hyperclick","atom-ide-definitions","atom-ide-outline","linter","linter-ui-default"];e.some((e=>!atom.packages.isPackageLoaded(e)))&&(require("atom-package-deps").install("atom-ide-base",!0),e.filter((e=>!atom.packages.isPackageLoaded(e))).forEach((e=>{atom.notifications.addInfo(`Enabling package ${e} that is needed for "atom-ide-base"`),atom.packages.enablePackage(e)})))}().then((()=>{}))},exports.deactivate=function(){a&&a.dispose(),a=null};
//# sourceMappingURL=main.js.map

@@ -5,6 +5,6 @@ # atom-ide-base

![Build Status (Github Actions)](https://github.com/atom-ide-community/atom-ide-base/workflows/CI/badge.svg)
[![Dependency Status](https://david-dm.org/atom-ide-community/atom-ide-base.svg)](https://david-dm.org/atom-ide-community/atom-ide-base)
[![apm](https://img.shields.io/apm/dm/atom-ide-base.svg)](https://github.com/atom-ide-community/atom-ide-base)
[![apm](https://img.shields.io/apm/v/atom-ide-base.svg)](https://github.com/atom-ide-community/atom-ide-base)
![Build Status (Github Actions)](https://github.com/atom-community/atom-ide-base/workflows/CI/badge.svg)
[![Dependency Status](https://david-dm.org/atom-community/atom-ide-base.svg)](https://david-dm.org/atom-community/atom-ide-base)
[![apm](https://img.shields.io/apm/dm/atom-ide-base.svg)](https://github.com/atom-community/atom-ide-base)
[![apm](https://img.shields.io/apm/v/atom-ide-base.svg)](https://github.com/atom-community/atom-ide-base)

@@ -11,0 +11,0 @@ ## Features

@@ -7,5 +7,4 @@ import { CompositeDisposable } from "atom"

* called by Atom when activating an extension
* @param {any} state the current state of atom
*/
export function activate(state: any) {
export function activate() {
// Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable

@@ -40,13 +39,11 @@ subscriptions = new CompositeDisposable()

if (deps.some((p) => !atom.packages.isPackageLoaded(p))) {
await import("atom-package-deps").then(({ install }) => {
// install if not installed
install("atom-ide-base", false)
// enable if disabled
deps
.filter((p) => !atom.packages.isPackageLoaded(p))
.forEach((p) => {
atom.notifications.addInfo(`Enabling package ${p} that is needed for "atom-ide-base"`)
atom.packages.enablePackage(p)
})
})
// install if not installed
require("atom-package-deps").install("atom-ide-base", true)
// enable if disabled
deps
.filter((p) => !atom.packages.isPackageLoaded(p))
.forEach((p) => {
atom.notifications.addInfo(`Enabling package ${p} that is needed for "atom-ide-base"`)
atom.packages.enablePackage(p)
})
}

@@ -53,0 +50,0 @@ }

export interface BusySignalOptions {
// Can say that a busy signal will only appear when a given file is open.
// Default = `null`, meaning the busy signal applies to all files.
/**
* Can say that a busy signal will only appear when a given file is open.
* Default = `null`, meaning the busy signal applies to all files.
*/
onlyForFile?: string
// Is user waiting for computer to finish a task? (traditional busy spinner)
// or is the computer waiting for user to finish a task? (action required)
// Default = spinner.
/**
* Is user waiting for computer to finish a task? (traditional busy spinner)
* or is the computer waiting for user to finish a task? (action required)
* Default = `"computer"`.
*/
waitingFor?: "computer" | "user"
// Debounce it? default = `true` for busy-signal, and false for action-required.
/**
* Debounce it? default = `true` for busy-signal, and false for action-required.
*/
debounce?: boolean
// If `onClick` is set, then the tooltip will be clickable. Default = `null`.
/**
* If `onClick` is set, then the tooltip will be clickable. Default = `null`.
*/
onDidClick?: () => void
// If set to `true`, the busy signal tooltip will be immediately revealed
// when it first becomes visible (without explicit mouse interaction).
/**
* If set to `true`, the busy signal tooltip will be immediately revealed
* when it first becomes visible (without explicit mouse interaction).
*/
revealTooltip?: boolean
}
// atom-ide-busy-signal service
/**
* `atom-ide-busy-signal` service.
*/
export interface BusySignalService {
// Activates the busy signal with the given title and returns the promise
// from the provided callback.
// The busy signal automatically deactivates when the returned promise
// either resolves or rejects.
/**
* Activates the busy signal with the given title and returns the promise
* from the provided callback.
* The busy signal automatically deactivates when the returned promise
* either resolves or rejects.
* @typeParam T return type of the async function
* @param title name of the busy signal to activate
* @param f Async function. When the promise resolves, the signal deactivates.
* @param options options for this signal
* @returns A promise which resolves with the type of `f`
*/
reportBusyWhile<T>(title: string, f: () => Promise<T>, options?: BusySignalOptions): Promise<T>
// Activates the busy signal. Set the title in the returned BusySignal
// object (you can update the title multiple times) and dispose it when done.
/**
* Activates the busy signal. Set the title in the returned BusySignal
* object (you can update the title multiple times) and dispose it when done.
* @param title name of the busy signal to activate
* @param options options for this signal
*/
reportBusy(title: string, options?: BusySignalOptions): BusyMessage
// This is a no-op. When someone consumes the busy service, they get back a
// reference to the single shared instance, so disposing of it would be wrong.
/**
* @summary This is a no-op.
*
* When someone consumes the busy service, they get back a
* reference to the single shared instance, so disposing of it would be wrong.
*/
dispose(): void
}
/**
* @summary Represents a particular busy signal.
*/
export interface BusyMessage {
// You can set/update the title.
/**
* @summary Set or update the title of a signal.
* @param title New title for the signal.
*/
setTitle(title: string): void
// Dispose of the signal when done to make it go away.
/**
* @summary Dispose of the signal when done to make it go away.
*/
dispose(): void
}
// busy-signal service
/**
* @summary `busy-signal` service.
*/
export interface BusySignalRegistry {
/** @summary Creates a `busy-signal` provider and adds it to the registry. */
create(): BusySignalProvider
}
// busy-signal service
/**
* @summary `busy-signal` service.
*/
export interface BusySignalProvider {
/**
* @summary Fires a `did-add` event.
* @param message Name of the signal to notify regarding its addition.
*/
add(message: string): void
/**
* @summary Fires a `did-remove` event.
* @param message Name of the signal to notify regarding its removal.
*/
remove(message: string): void
/** @summary Fires a `did-clear` event. */
clear(): void
/** @summary Fires a `did-dispose` event and disposes of subscriptions. */
dispose(): void
}

@@ -5,10 +5,14 @@ import * as Atom from "atom"

addProvider(provider: DatatipProvider): Atom.DisposableLike
addModifierProvider(provider: ModifierDatatipProvider): Atom.DisposableLike
createPinnedDataTip(datatip: Datatip, editor: Atom.TextEditor, options?: PinnedDatatipOptions): Atom.DisposableLike
addModifierProvider?(provider: ModifierDatatipProvider): Atom.DisposableLike
createPinnedDataTip?(datatip: Datatip, editor: Atom.TextEditor, options?: PinnedDatatipOptions): Atom.DisposableLike
}
export interface PinnedDatatipOptions {
// Defaults to 'end-of-line'.
/**
* Defaults to 'end-of-line'.
*/
position?: PinnedDatatipPosition
// Defaults to true.
/**
* Defaults to true.
*/
showRangeHighlight?: boolean

@@ -22,4 +26,6 @@ }

grammarScopes?: ReadonlyArray<string>
// A unique name for the provider to be used for analytics.
// It is recommended that it be the name of the provider's package.
/**
* A unique name for the provider to be used for analytics.
* It is recommended that it be the name of the provider's package.
*/
providerName: string

@@ -42,3 +48,5 @@ datatip(editor: Atom.TextEditor, bufferPosition: Atom.Point): Promise<Datatip | undefined | null>

// Borrowed from the LSP API.
/**
* Borrowed from the LSP API.
*/
export interface MarkdownMarkedString {

@@ -64,3 +72,6 @@ type: "markdown"

export interface ReactComponentDatatip {
component: () => JSX.Element // React component
/**
* React component
*/
component: () => JSX.Element
range: Atom.Range

@@ -67,0 +78,0 @@ pinnable?: boolean

import * as Atom from "atom"
export interface Definition {
// Path of the file in which the definition is located.
/**
* Path of the file in which the definition is located.
*/
path: string
// First character of the definition's identifier.
// e.g. "F" in `class Foo {}`
/**
* First character of the definition's identifier.
* e.g. "F" in `class Foo {}`
*/
position: Atom.Point
// Optional: the range of the entire definition.
// e.g. "c" to "}" in `class Foo {}`
/**
* Optional: the range of the entire definition.
* e.g. "c" to "}" in `class Foo {}`
*/
range?: Atom.Range
// Optional: `name` and `projectRoot` can be provided to display a more human-readable title
// inside of Hyperclick when there are multiple definitions.
/**
* Optional: `name` and `projectRoot` can be provided to display a more human-readable title
* inside of Hyperclick when there are multiple definitions.
*/
name?: string
// If provided, `projectRoot` will be used to display a relativized version of `path`.
/**
* If provided, `projectRoot` will be used to display a relativized version of `path`.
*/
projectRoot?: string
// `language` may be used by consumers to identify the source of definitions.
/**
* `language` may be used by consumers to identify the source of definitions.
*/
language: string
}
// Definition queries supply a point.
// The returned queryRange is the range within which the returned definition is valid.
// Typically queryRange spans the containing identifier around the query point.
// (If a null queryRange is returned, the range of the word containing the point is used.)
/**
* Definition queries supply a point.
* The returned queryRange is the range within which the returned definition is valid.
* Typically queryRange spans the containing identifier around the query point.
* (If a null queryRange is returned, the range of the word containing the point is used.)
*/
export interface DefinitionQueryResult {
queryRange: ReadonlyArray<Atom.Range> | null | undefined
definitions: ReadonlyArray<Definition> // Must be non-empty.
/**
* Must be non-empty.
*/
definitions: ReadonlyArray<Definition>
}
// Provides definitions for a set of language grammars.
/**
* Provides definitions for a set of language grammars.
*/
export interface DefinitionProvider {
// If there are multiple providers for a given grammar,
// the one with the highest priority will be used.
/**
* If there are multiple providers for a given grammar,
* the one with the highest priority will be used.
*/
priority: number
grammarScopes: ReadonlyArray<string>
wordRegExp: RegExp | null | undefined
// Obtains the definition in an editor at the given point.
// This should return null if no definition is available.
/**
* Obtains the definition in an editor at the given point.
* This should return null if no definition is available.
*/
getDefinition: (editor: Atom.TextEditor, position: Atom.Point) => Promise<DefinitionQueryResult | null | undefined>

@@ -40,0 +63,0 @@ }

import * as Atom from "atom"
export interface FindReferencesProvider {
// Return true if your provider supports finding references for the provided Atom.TextEditor.
/**
* Return true if your provider supports finding references for the provided Atom.TextEditor.
*/
isEditorSupported(editor: Atom.TextEditor): Promise<boolean>
// `findReferences` will only be called if `isEditorSupported` previously returned true
// for the given Atom.TextEditor.
/**
* `findReferences` will only be called if `isEditorSupported` previously returned true
* for the given Atom.TextEditor.
*/
findReferences(editor: Atom.TextEditor, position: Atom.Point): Promise<FindReferencesReturn | undefined | null>

@@ -13,4 +17,10 @@ }

export interface Reference {
uri: string // Nuclide URI of the file path
name: string | undefined | null // name of calling method/function/symbol
/**
* Nuclide URI of the file path
*/
uri: string
/**
* name of calling method/function/symbol
*/
name: string | undefined | null
range: Atom.Range

@@ -24,3 +34,6 @@ }

references: Reference[]
title?: string // defaults to 'Symbol References'
/**
* defaults to 'Symbol References'
*/
title?: string
}

@@ -27,0 +40,0 @@

import * as Atom from "atom"
export interface HyperclickProvider {
// Use this to provide a suggestion for single-word matches.
// Optionally set `wordRegExp` to adjust word-matching.
/**
* Use this to provide a suggestion for single-word matches.
* Optionally set `wordRegExp` to adjust word-matching.
*/
getSuggestionForWord?: (

@@ -14,4 +16,6 @@ textEditor: Atom.TextEditor,

// Use this to provide a suggestion if it can have non-contiguous ranges.
// A primary use-case for this is Objective-C methods.
/**
* Use this to provide a suggestion if it can have non-contiguous ranges.
* A primary use-case for this is Objective-C methods.
*/
getSuggestion?: (

@@ -22,9 +26,15 @@ textEditor: Atom.TextEditor,

// Must be unique. Used for analytics.
/**
* Must be unique. Used for analytics.
*/
providerName?: string
// The higher this is, the more precedence the provider gets.
/**
* The higher this is, the more precedence the provider gets.
*/
priority: number
// Optionally, limit the set of grammar scopes the provider should apply to.
/**
* Optionally, limit the set of grammar scopes the provider should apply to.
*/
grammarScopes?: string[]

@@ -34,7 +44,11 @@ }

export interface HyperclickSuggestion {
// The range(s) to underline to provide as a visual cue for clicking.
/**
* The range(s) to underline to provide as a visual cue for clicking.
*/
range: Atom.Range | Atom.Range[]
// The function to call when the underlined text is clicked.
/**
* The function to call when the underlined text is clicked.
*/
callback: (() => void) | Array<{ rightLabel?: string; title: string; callback: () => void }>
}

@@ -1,3 +0,5 @@

// atom-ide
// https://github.com/atom-ide-community/atom-ide-base
/**
* @file atom-ide
* @see https://github.com/atom-ide-community/atom-ide-base
*/

@@ -26,5 +28,9 @@ export * from "./busy-signal"

export interface ProviderCommon {
// Providers with higher priorities will be preferred over lower ones.
/**
* Providers with higher priorities will be preferred over lower ones.
*/
priority: number
// Omitting grammarScopes implies that the provider applies to all grammars.
/**
* Omitting grammarScopes implies that the provider applies to all grammars.
*/
grammarScopes?: Array<string>

@@ -31,0 +37,0 @@ }

@@ -5,4 +5,9 @@ /**

export interface MarkdownService {
// function to render markdown for the given grammar
/**
* function to render markdown for the given grammar
* @param markdownText markdown string to render
* @param grammar grammar to render the string with
* @return highlighted HTML
*/
render(markdownText: string, grammar: string): Promise<string>
}

@@ -5,4 +5,6 @@ import * as Atom from "atom"

name: string
// If there are multiple providers for a given grammar, the one with the highest priority will be
// used.
/**
* If there are multiple providers for a given grammar, the one with the highest priority will be
* used.
*/
priority: number

@@ -15,10 +17,20 @@ grammarScopes: ReadonlyArray<string>

export interface OutlineTree {
icon?: string // from Atom.Octicon (that type's not allowed over rpc so we use string)
kind?: OutlineTreeKind // kind you can pass to the UI for theming
/**
* from Atom.Octicon (that type's not allowed over rpc so we use string)
*/
icon?: string
/**
* kind you can pass to the UI for theming
*/
kind?: OutlineTreeKind
// Must be one or the other. If both are present, tokenizedText is preferred.
/**
* Must be one or the other. If both are present, tokenizedText is preferred.
*/
plainText?: string
tokenizedText?: TokenizedText
// If user has atom-ide-base-outline-view.nameOnly then representativeName is used instead.
/**
* If user has atom-ide-base-outline-view.nameOnly then representativeName is used instead.
*/
representativeName?: string

@@ -36,3 +48,5 @@

// Kind of outline tree - matches the names from the Language Server Protocol v2.
/**
* Kind of outline tree - matches the names from the Language Server Protocol v2.
*/
export type OutlineTreeKind =

@@ -39,0 +53,0 @@ | "file"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc