MCPcopy Create free account

hub / github.com/jupyterlab/jupyterlab / functions

Functions8,286 in github.com/jupyterlab/jupyterlab

↓ 440 callersMethodconnect
* Initialize a connection over a web socket that speaks the LSP protocol
packages/lsp/src/ws-connection/types.ts:54
↓ 435 callersMethodemit
* Post an event request to be emitted by the event bus.
packages/services/src/event/index.ts:188
↓ 416 callersMethodpush
* Add a new item to the bottom of history. * * @param item The item being added to the bottom of history. * * #### Notes * If the item
packages/console/src/history.ts:61
↓ 391 callersMethod__
* Shorthand for gettext. * * @param msgid - The singular string to translate. * @param args - Any additional values to use with interpolation
packages/translation/src/gettext.ts:315
↓ 356 callersMethoddispose
* Dispose of the resources held by the database.
packages/observables/src/modeldb.ts:246
↓ 344 callersMethodresolve
* Given an incomplete (unresolved) completion item, resolve it by adding * all missing details, such as lazy-fetched documentation. * * @para
packages/completer/src/tokens.ts:121
↓ 318 callersMethodget
* Editor getter
packages/debugger/src/tokens.ts:785
↓ 292 callersMethodload
* Load the theme. * * @returns A promise that resolves when the theme has loaded.
packages/apputils/src/tokens.ts:237
↓ 253 callersMethodforEach
* Iterate through each object in the pool. * * @param fn - The function to call on each object.
packages/statedb/src/interfaces.ts:145
↓ 231 callersMethodaddClass
()
galata/test/jupyterlab/notebook-toolbar.test.ts:37
↓ 191 callersMethoderror
* Helper function for a toast with error style
packages/apputils-extension/src/notificationplugin.tsx:871
↓ 176 callersMethodadd
* Add a command item to the launcher, and trigger re-render event for parent * widget. * * @param options - The specification options for a l
packages/launcher/src/tokens.ts:37
↓ 156 callersMethodset
* Set a single setting. * * @param key - The name of the setting being set. * * @param value - The value of the setting. *
packages/settingregistry/src/tokens.ts:598
↓ 148 callersMethoddisconnect
* Disconnect the connection to the language server of the requested * language.
packages/lsp/src/tokens.ts:468
↓ 147 callersMethodfilter
(item: IRunningSessions.IRunningItem)
packages/running/src/index.tsx:347
↓ 145 callersMethodkeys
* Get a list of the keys in the map. * * @returns - a list of keys.
packages/observables/src/observablemap.ts:63
↓ 143 callersMethodwarn
* Helper function for a toast with warning style
packages/apputils-extension/src/notificationplugin.tsx:883
↓ 125 callersMethodevaluate
* Evaluate an expression.
packages/debugger/src/tokens.ts:95
↓ 109 callersMethodexecute
* Execute the current prompt. * * @param force - Whether to force execution without checking code * completeness. * * @param timeout -
packages/console/src/widget.ts:391
↓ 109 callersMethodwaitFor
* Wait for a condition to fulfill or for a certain time * * @param condition Condition or timeout to wait for * @param timeout Timeout
galata/extension/src/global.ts:261
↓ 104 callersMethodupdate
* Update a debug handler for the given widget, and * handle kernel changed events. * * @param widget The widget to update. * @para
packages/debugger/src/handler.ts:688
↓ 98 callersFunctiontest
(node: HTMLElement)
packages/running-extension/src/kernels.tsx:205
↓ 97 callersMethodremove
* Remove a single setting. * * @param key - The name of the setting being removed. * * @returns A promise that resolves when the s
packages/settingregistry/src/tokens.ts:579
↓ 93 callersMethodparse
( text: string, parseOptions?: ParseOptions | undefined )
packages/mermaid/test/utils.ts:77
↓ 91 callersMethodcreate
* Create an empty workspace.
packages/workspaces/src/tokens.ts:55
↓ 86 callersMethodgetSource
* Retrieve the content of a source file. * * @param source The source object containing the path to the file.
packages/debugger/src/tokens.ts:109
↓ 83 callersMethodaddWidget
* Add a widget to the panel. * * If the widget is already added, it will be moved.
packages/application/src/shell.ts:2136
↓ 80 callersMethodtoString
* Serialize the model to a string.
packages/docregistry/src/registry.ts:866
↓ 76 callersMethoddelete
* Delete a file. * * @param localPath - The path to the file. * * @returns A promise which resolves when the file is deleted.
packages/services/src/contents/index.ts:602
↓ 76 callersMethodfocus
* Brings browser focus to this editor text.
packages/codeeditor/src/editor.ts:444
↓ 75 callersMethodhas
* Whether the `IModelDB` has an object at this path. * * @param path the path for the object. * * @returns a boolean for whether an object
packages/observables/src/modeldb.ts:169
↓ 73 callersMethodclearData
()
packages/testing/src/jest-data-transfer-mock.ts:144
↓ 72 callersMethodreject
* Reject the current dialog with a default reject value. * * #### Notes * Will be a no-op if the dialog is not shown.
packages/apputils/src/dialog.tsx:224
↓ 71 callersMethodaddItem
(options: NotebookTools.IAddOptions)
packages/notebook/src/tokens.ts:45
↓ 71 callersMethodfind
* Returns an array of editors for a source matching the current debug * session by iterating through all the widgets in each of the supported
packages/debugger/src/tokens.ts:456
↓ 69 callersMethodshutdown
* Shut down a kernel by id. * * @param id - The id of the target kernel. * * @returns A promise that resolves when the operation is comple
packages/services/src/kernel/kernel.ts:815
↓ 67 callersMethodattach
()
packages/apputils/src/commandpalette.ts:54
↓ 67 callersMethodstart
* Start a new debug session.
packages/debugger/src/tokens.ts:437
↓ 65 callersMethodsave
* Save the document contents to disk.
packages/docregistry/src/registry.ts:985
↓ 65 callersMethodsort
(a: T, b: T)
packages/ui-components/src/components/table.tsx:46
↓ 64 callersMethodlog
* Log an output to logger. * * @param log - The output to be logged.
packages/logconsole/src/tokens.ts:182
↓ 64 callersFunctionshowDialog
( options: Partial<Dialog.IOptions<T>> = {} )
packages/apputils/src/dialog.tsx:29
↓ 63 callersMethodactivate
* Activate the command palette for user input.
packages/apputils/src/tokens.ts:40
↓ 63 callersMethodvalues
* Get a list of the values in the map. * * @returns - a list of values.
packages/observables/src/observablemap.ts:70
↓ 55 callersFunctionfunc
()
packages/docregistry/test/context.spec.ts:274
↓ 54 callersMethodsendMessage
* Send a kernel message with sensible defaults.
packages/services/test/utils.ts:453
↓ 53 callersMethodopen
* Open a read-only editor in the main area. * * @param params - The editor open parameters.
packages/debugger/src/tokens.ts:463
↓ 52 callersFunctionpjoin
Join paths to create a real path.
jupyterlab/commands.py:136
↓ 50 callersMethodclose
* Close the comm. * * @param data - The data to send to the server on opening. * * @param metadata - Additional metadata for the message.
packages/services/src/kernel/kernel.ts:1029
↓ 48 callersMethodcount
* Total number of notifications.
packages/apputils/src/notification.ts:32
↓ 48 callersMethodfetch
* Retrieve an item from the data connector. * * @param id - The identifier used to retrieve an item. * * @returns A promise that bears a d
packages/statedb/src/interfaces.ts:41
↓ 46 callersMethodget
* Get an item for the specified key.
packages/attachments/src/model.ts:51
↓ 45 callersMethodinitialize
* Initialize the session context. * * @returns A promise that resolves with whether to ask the user to select a kernel. * * #### Notes
packages/apputils/src/sessioncontext.tsx:52
↓ 43 callersMethodgetOption
* Get a config option for the terminal.
packages/terminal/src/tokens.ts:41
↓ 43 callersMethodgetState
* Get the state of the text editor at the given position.
packages/completer/src/handler.ts:188
↓ 42 callersMethoditems
* Return an iterator of launcher items.
packages/launcher/src/tokens.ts:51
↓ 42 callersMethoduploadFile
* Upload a file to JupyterLab. * * Note: the destinationPath is the filepath on the server. * * @param sourcePath Filepath to upload *
galata/src/contents.ts:212
↓ 41 callersMethodcreateNew
* Create a new `IModelDB` instance.
packages/observables/src/modeldb.ts:596
↓ 41 callersMethodwaitForTimeout
* Waits for the given `timeout` in milliseconds. * * @param timeout A timeout to wait for
galata/extension/src/tokens.ts:276
↓ 39 callersMethodclickMenuItem
* Click on a menu item from its path * * @param path Menu item path
galata/src/helpers/menu.ts:290
↓ 39 callersMethodinvoke
* Invoke a tooltip.
packages/tooltip/src/tokens.ts:25
↓ 38 callersMethodclear
* Clear the model.
packages/debugger/src/tokens.ts:1001
↓ 38 callersMethodopenByPath
* Open a notebook from its path * * The notebook do not need to exist in the current folder * * @param filePath Notebook path * @return
galata/src/helpers/notebook.ts:106
↓ 38 callersMethodshow
* Show the application splash screen. * * @param light - Whether to show the light splash screen or the dark one. * * @returns A disposabl
packages/apputils/src/tokens.ts:293
↓ 37 callersMethodgetCellLocator
* Get a cell locator * * @param cellIndex Cell index * @param name Notebook name * @returns Handle to the cell
galata/src/helpers/notebook.ts:627
↓ 36 callersMethodforEach
* Iterate through each instance in the tracker. * * @param fn - The function to call on each instance.
packages/apputils/src/widgettracker.ts:79
↓ 36 callersFunctionresolve
(...parts: string[])
packages/coreutils/src/path.ts:101
↓ 35 callersMethodrun
* Run all cells of the currently active notebook * * @returns Action success status
galata/src/helpers/notebook.ts:378
↓ 34 callersMethodhide
* Hide the side bar even if it contains widgets
packages/application/src/shell.ts:2534
↓ 34 callersMethodload
* Load a plugin's settings into the setting registry. * * @param plugin - The name of the plugin whose settings are being loaded. * * @par
packages/settingregistry/src/tokens.ts:105
↓ 34 callersMethodrefresh
* Refresh the terminal session.
packages/terminal/src/tokens.ts:51
↓ 34 callersMethodset
* Set the value of the specified key.
packages/attachments/src/model.ts:56
↓ 33 callersMethodadd
* Add a widget to the application shell. * * @param widget - The widget being added. * * @param area - Optional region in the shel
packages/application/src/frontend.ts:272
↓ 33 callersMethoddeselectAll
* Deselect all of the cells.
packages/notebook/src/widget.ts:2188
↓ 33 callersMethodsetCell
* Set the input source of a cell * * @param cellIndex Cell index * @param cellType Cell type * @param source Source * @returns Action s
galata/src/helpers/notebook.ts:1294
↓ 32 callersMethodactivateById
* Activates a widget inside the application shell. * * @param id - The ID of the widget being activated.
packages/application/src/frontend.ts:259
↓ 32 callersMethodaddCell
* Add a newly created cell.
packages/console/src/foreign.ts:183
↓ 32 callersMethodgoto
* Returns the main resource response. In case of multiple redirects, the navigation will resolve with the response of the * last redirect. *
galata/src/jupyterlabpage.ts:165
↓ 31 callersMethodinfo
* Helper function for a toast with info style
packages/apputils-extension/src/notificationplugin.tsx:867
↓ 31 callersFunctionshowErrorMessage
( title: string, error: string | Dialog.IError, buttons?: ReadonlyArray<Dialog.IButton> )
packages/apputils/src/dialog.tsx:44
↓ 30 callersMethodlocalPath
* Given a path of the form `drive:local/portion/of/it.txt` * get the local part of it. * * @param path the path. * * @returns
packages/services/src/contents/index.ts:348
↓ 30 callersMethodmove
* Move a value from one index to another. * * @param fromIndex - The index of the element to move. * * @param toIndex - The index to move
packages/observables/src/observablelist.ts:113
↓ 30 callersFunctionsimulate
(element: EventTarget, type: string, options?: any)
packages/testing/src/common.ts:41
↓ 29 callersMethodfilter
* Filter the instances in the tracker based on a predicate. * * @param fn - The function by which to filter.
packages/apputils/src/widgettracker.ts:86
↓ 29 callersMethodisSelectedOrActive
* Whether a cell is selected or is the active cell.
packages/notebook/src/widget.ts:2178
↓ 29 callersMethodsetTimeout
* Set provider timeout. * * @param {number} timeout - value of timeout in millisecond.
packages/completer/src/manager.ts:68
↓ 29 callersFunctionsignalToPromise
(signal: ISignal<T, U>)
packages/testing/src/common.ts:173
↓ 28 callersFunctioninstall_extension
Install an extension package into JupyterLab. The extension is first validated. Returns `True` if a rebuild is recommended, `False` otherwis
jupyterlab/commands.py:441
↓ 27 callersMethodwaitForCondition
* Wait for a condition to be fulfilled * * @param condition Condition to fulfill * @param timeout Maximal time to wait for the condition to b
galata/src/jupyterlabpage.ts:219
↓ 26 callersFunctionclasses
( ...classes: ( | string | false | undefined | null | { [className: string]: any } )[]
packages/ui-components/src/utils.ts:32
↓ 26 callersMethodgetMetadata
* Get a metadata * * ### Notes * This returns a copy of the key value. * * @param key Metadata key
packages/cells/src/model.ts:111
↓ 26 callersMethodsendRequest
* Send a debug request to the kernel.
packages/debugger/src/tokens.ts:429
↓ 26 callersFunctionsleep
(timeout: number)
packages/lsp/src/utils.ts:13
↓ 26 callersMethodstartNew
* Start a new kernel. * * @param createOptions - The kernel creation options * * @param connectOptions - The kernel connection options
packages/services/src/kernel/kernel.ts:781
↓ 26 callersMethodwarning
* Helper function for a toast with warning style
packages/apputils-extension/src/notificationplugin.tsx:875
↓ 25 callersMethodinsert
* Insert a value into the list at a specific index. * * @param index - The index at which to insert the value. * * @param value - The valu
packages/observables/src/observablelist.ts:73
↓ 25 callersMethodrunning
* Create an iterator over the known running kernels. * * @returns A new iterator over the running kernels.
packages/services/src/kernel/kernel.ts:736
↓ 24 callersMethodgetCursorPosition
* Returns the primary position of the cursor, never `null`.
packages/codeeditor/src/editor.ts:261
↓ 24 callersMethodtoJSON
* Serialize the model to JSON.
packages/cells/src/model.ts:124
↓ 24 callersMethodwidgets
* Returns an iterator for the widgets inside the application shell. * * @param area - Optional regions in the shell whose widgets are iterat
packages/application/src/frontend.ts:309
next →1–100 of 8,286, ranked by callers