Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jupyterlab/jupyterlab
/ functions
Functions
8,286 in github.com/jupyterlab/jupyterlab
⨍
Functions
8,286
◇
Types & classes
2,630
↳
Endpoints
19
↓ 5 callers
Method
dcnpgettext
* Translate a singular string with extra interpolation values. * * @param domain - The translations domain. * @param msgctxt - The message co
packages/translation/src/gettext.ts:458
↓ 5 callers
Method
duplicate
* Duplicate a file. * * @param path - The full path to the file to be duplicated. * * @returns A promise which resolves when the file is d
packages/docmanager/src/tokens.ts:289
↓ 5 callers
Method
expand
* Expand the sidebar. * * #### Notes * This will open the most recently used tab, or the first tab * if there is no most recently
packages/application/src/shell.ts:2341
↓ 5 callers
Method
findBest
* Find a codemirror language by name or CodeMirror spec. * * @param language The CodeMirror language * @param fallback Whether to fallback to
packages/codemirror/src/token.ts:320
↓ 5 callers
Function
getBaseUrl
()
packages/coreutils/src/pageconfig.ts:106
↓ 5 callers
Method
getCurrentDirectory
* Get the full path of the currently opened directory * * @returns Directory full path
galata/src/helpers/filebrowser.ts:79
↓ 5 callers
Method
getCurrentMatch
()
packages/cells/src/searchprovider.ts:126
↓ 5 callers
Method
getDisplayName
* Function to get a display name for a frame. * * @param frame The frame object. * @returns The display name.
packages/debugger/src/tokens.ts:1055
↓ 5 callers
Function
getHeadingInfo
(cell: Cell)
packages/notebook/src/actions.tsx:2470
↓ 5 callers
Method
getLanguage
* Load a CodeMirror language specified by name or Codemirror spec. * * @param language - The language to ensure. If it is a string, uses {@link
packages/codemirror/src/token.ts:365
↓ 5 callers
Method
getOption
* Get a config option for the editor.
packages/codemirror/src/token.ts:68
↓ 5 callers
Function
getRequestHandler
( status: number, body: any )
packages/services/test/utils.ts:91
↓ 5 callers
Method
getSelection
* Returns the primary selection, never `null`.
packages/codeeditor/src/editor.ts:280
↓ 5 callers
Method
getSelections
* Gets the selections for all the cursors, never `null` or empty.
packages/codeeditor/src/editor.ts:295
↓ 5 callers
Function
get_workspaces_dir
Get the configured JupyterLab workspaces directory.
jupyterlab/commands.py:148
↓ 5 callers
Method
handleTextChange
* Handle a source change.
packages/completer/src/inline.ts:715
↓ 5 callers
Method
hideAndReset
* Hide the modal command palette and reset its search.
packages/apputils/src/commandpalette.ts:65
↓ 5 callers
Method
invoke
* Invoke inline completer. * @experimental * * @param id - the id of notebook panel, console panel or code editor.
packages/completer/src/tokens.ts:421
↓ 5 callers
Method
isAnyOpen
* Whether any menus are opened or not * * @returns Opened menus status
galata/src/helpers/menu.ts:185
↓ 5 callers
Method
isAvailable
* Whether the terminal service is available.
packages/services/src/terminal/terminal.ts:157
↓ 5 callers
Method
isInSimpleMode
* Whether JupyterLab is in simple mode or not
galata/src/jupyterlabpage.ts:198
↓ 5 callers
Method
isTabActive
* Whether a tab is active or not * * @param name Activity name * @returns Active status
galata/src/helpers/activity.ts:45
↓ 5 callers
Method
loadCollapseState
* Revert view collapse state from model.
packages/cells/src/widget.ts:489
↓ 5 callers
Function
lock_extension
Lock a JupyterLab extension/plugin.
jupyterlab/commands.py:570
↓ 5 callers
Method
off
* Disconnect a listener to new Jupyter dialog events. * * @param event Event type * @param listener Event listener
galata/extension/src/tokens.ts:173
↓ 5 callers
Method
onChange
* Track changes. The callback get the number of toast displayed
packages/apputils-extension/src/notificationplugin.tsx:907
↓ 5 callers
Method
once
* Connect a listener to the next new Jupyter dialog event. * * @param event Event type * @param listener Event listener
galata/extension/src/tokens.ts:210
↓ 5 callers
Method
openLocator
* Open a menu from its path * * @param path Menu path * @returns Locator to the opened menu
galata/src/helpers/menu.ts:217
↓ 5 callers
Method
openOrReveal
* Open a file and return the widget used to view it. * Reveals an already existing editor. * * @param path - The file path to open. * *
packages/docmanager/src/tokens.ts:357
↓ 5 callers
Method
reconnect
* Reconnect to a disconnected kernel. * * @returns A promise that resolves when the kernel has reconnected. * * #### Notes * This just
packages/services/src/kernel/kernel.ts:188
↓ 5 callers
Method
refresh
* Refresh the listing of workspaces.
packages/workspaces/src/tokens.ts:65
↓ 5 callers
Method
refresh
* Force a refresh of the workspaces list.
packages/workspaces/src/model.ts:72
↓ 5 callers
Method
refreshInstalled
* Refresh installed packages * * @param force Force refreshing the list of installed packages
packages/extensionmanager/src/model.ts:420
↓ 5 callers
Method
refreshRunning
* Force a refresh of the running terminals. * * @returns A promise that with the list of running terminals. * * #### Notes * This is in
packages/services/src/terminal/manager.ts:158
↓ 5 callers
Method
register
* Register the new feature (frontend capability) * for one or more code editor implementations.
packages/lsp/src/tokens.ts:528
↓ 5 callers
Method
registerMessageHook
* Register hook for IOPub messages. * * @param hook - The callback invoked for an IOPub message. * * #### Notes * The IOPub hook system
packages/services/src/kernel/kernel.ts:899
↓ 5 callers
Method
remove
* Remove a workspace.
packages/workspaces/src/tokens.ts:80
↓ 5 callers
Method
remove
* Remove and return the value at a specific index. * * @param index - The index of the value of interest. * * @returns The value at the sp
packages/observables/src/observablelist.ts:162
↓ 5 callers
Method
remove
* Remove a value using the data connector. * * @param id - The identifier for the data being removed. * * @returns A promise that is rejec
packages/statedb/src/interfaces.ts:71
↓ 5 callers
Method
removeMessageHook
* Remove a hook for IOPub messages. * * @param hook - The hook to remove. * * #### Notes * If a hook is removed during the hook process
packages/services/src/kernel/kernel.ts:911
↓ 5 callers
Method
removeRecent
* Remove the document from recents list.
packages/docmanager/src/tokens.ts:440
↓ 5 callers
Function
removeSlash
(path: string)
packages/coreutils/src/path.ts:142
↓ 5 callers
Function
renameFile
( manager: IDocumentManager, oldPath: string, newPath: string )
packages/docmanager/src/dialogs.ts:205
↓ 5 callers
Method
renderCollapseButtons
* Render the collapse button for heading cells, * and for collapsed heading cells render the "expand hidden cells" * button.
packages/cells/src/widget.ts:2476
↓ 5 callers
Method
requestHistory
* Send a `history_request` message. * * @param content - The content of the request. * * @returns A promise that resolves with the respons
packages/services/src/kernel/kernel.ts:284
↓ 5 callers
Method
requestInspect
* Send an `inspect_request` message. * * @param content - The content of the request. * * @returns A promise that resolves with the respon
packages/services/src/kernel/kernel.ts:267
↓ 5 callers
Function
resolve
(potential: string)
packages/apputils/src/windowresolver.ts:174
↓ 5 callers
Method
resolveUrl
* Resolve a relative url to an absolute url path.
packages/rendermime-interfaces/src/index.ts:509
↓ 5 callers
Method
sanitize
* Sanitize an HTML string. * * @param dirty - The dirty text. * @param options - The optional sanitization options. * * @retu
packages/rendermime-interfaces/src/index.ts:429
↓ 5 callers
Method
selectItemByName
* Select an item by name. * * @param name - The name of the item to select. * @param focus - Whether to move focus to the selected item. *
packages/filebrowser/src/listing.ts:875
↓ 5 callers
Method
sendShellMessage
* Send a shell message to the kernel. * * @param msg - The fully-formed shell message to send. * * @param expectReply - Whether to expect
packages/services/src/kernel/kernel.ts:167
↓ 5 callers
Method
setColumnVisibility
( name: DirListing.ToggleableColumn, visible: boolean )
packages/filebrowser/src/listing.ts:1372
↓ 5 callers
Method
setMode
* Set the notebook mode. * * @param newValue Notebook mode * @param options Control mode side-effect * @param options.focus Whether to ens
packages/notebook/src/widget.ts:1927
↓ 5 callers
Function
showPopup
(options: Popup.IOptions)
packages/statusbar/src/components/hover.tsx:15
↓ 5 callers
Method
strfmt
* `sprintf` equivalent, takes a string and some arguments to make a * computed string. * * @param fmt - The string to interpolate. * @para
packages/translation/src/gettext.ts:258
↓ 5 callers
Method
switchOn
* Enables the debugger toolbar item * * @param name Notebook name
galata/src/helpers/debuggerpanel.ts:40
↓ 5 callers
Function
test
(name: string, spec: string)
packages/codemirror/test/mathparser.spec.ts:161
↓ 5 callers
Method
toJSON
* Serialize the model to JSON.
packages/attachments/src/model.ts:80
↓ 5 callers
Method
trust
* Trust the active notebook * * @returns Whether the action succeeded or not.
galata/src/helpers/notebook.ts:471
↓ 5 callers
Function
unlink_package
Unlink a package from JupyterLab by path or name. Returns `True` if a rebuild is recommended, `False` otherwise.
jupyterlab/commands.py:608
↓ 5 callers
Method
unmarkTrusted
* Remove a trusted DOM boundary previously set by `markTrusted`.
packages/rendermime-interfaces/src/index.ts:488
↓ 5 callers
Method
unobserve
(_target: Element)
packages/testing/src/jest-shim.ts:87
↓ 5 callers
Method
updateDocuments
* Update all the virtual documents, emit documents updated with root document if succeeded, * and resolve a void promise. The promise does not cont
packages/lsp/src/virtual/document.ts:1250
↓ 5 callers
Function
updateLegacySessionModel
(data: any)
packages/services/src/session/validate.ts:26
↓ 5 callers
Method
updateMetadata
* Update the metadata of the current cell or notebook. * * @param formData the cell metadata set in the form. * @param reload whether t
packages/metadataform/src/token.ts:192
↓ 5 callers
Method
updateRunningStatus
(headings: INotebookHeading[])
packages/notebook/src/toc.ts:471
↓ 5 callers
Function
update_extension
Update an extension by name, or all extensions. Either `name` must be given as a string, or `all_` must be `True`. If `all_` is `True`, the va
jupyterlab/commands.py:467
↓ 5 callers
Function
validateModel
(data: any)
packages/services/src/session/validate.ts:14
↓ 4 callers
Method
_adjacentBar
(direction: 'next' | 'previous')
packages/application/src/shell.ts:1884
↓ 4 callers
Method
_assertCurrentMessage
* Check to make sure it is okay to proceed to handle a message. * * #### Notes * Because we handle messages asynchronously, before a message
packages/services/src/kernel/default.ts:1340
↓ 4 callers
Function
_compare_ranges
Test whether two version specs overlap. Returns `None` if we cannot determine compatibility, otherwise return 0 if there is an overlap, 1 if
jupyterlab/commands.py:2316
↓ 4 callers
Method
_computeContentWidth
(width: number | null = null)
packages/filebrowser/src/listing.ts:1052
↓ 4 callers
Method
_currentTabBar
()
packages/application/src/shell.ts:1909
↓ 4 callers
Method
_getCellEditor
* Get the cell editor and add new ones to the mappings. * * @param cell Cell widget * @returns Cell editor accessor
packages/notebook/src/notebooklspadapter.ts:444
↓ 4 callers
Method
_getCodeId
* Get the code id for a given source and kernel, * and handle the case of a kernel without parameters. * * @param code The source code. *
packages/debugger/src/sources.ts:280
↓ 4 callers
Method
_getFocusableCrumbElements
* Return breadcrumb segments in DOM order that participate in arrow-key focus.
packages/filebrowser/src/crumbs.ts:313
↓ 4 callers
Method
_getPanel
(selector: string)
galata/src/helpers/debuggerpanel.ts:203
↓ 4 callers
Method
_get_extension_compat
Get the extension compatibility info.
jupyterlab/commands.py:1658
↓ 4 callers
Method
_get_installed_extensions
Get the installed extensions. Args: get_latest_version: Whether to fetch the latest extension version or not. Returns:
jupyterlab/extensions/manager.py:559
↓ 4 callers
Method
_insertOutput
* Render and insert a single output into the layout. * * @param index - The index of the output to be inserted. * @param model - The model of
packages/outputarea/src/widget.ts:667
↓ 4 callers
Method
_load
* Load a plugin into the registry.
packages/settingregistry/src/settingregistry.ts:586
↓ 4 callers
Method
_markProgrammaticScrollingDone
* Mark the current promise for programmatic scrolling as completed.
packages/ui-components/src/components/windowedlist.ts:1780
↓ 4 callers
Method
_patch
* Send a PATCH to the server, updating the session path or the kernel.
packages/services/src/session/default.ts:393
↓ 4 callers
Method
_run
Run the command using our logger and abort callback. Returns the exit code.
jupyterlab/commands.py:2085
↓ 4 callers
Method
_setRecents
* Set the recent list * @param recents The new recent list
packages/docmanager/src/recents.ts:187
↓ 4 callers
Method
_setValue
* Set the value given the owner contents.
packages/codeeditor/src/jsoneditor.ts:299
↓ 4 callers
Method
_showDownPanel
(size: number = this._lastDownAreaSize)
packages/application/src/shell.ts:1863
↓ 4 callers
Method
_syncCellTrust
(cell?: Cell)
packages/notebook/src/widget.ts:855
↓ 4 callers
Method
_toGlobalPath
* Given a drive and a local path, construct a fully qualified * path. The inverse of `_driveForPath`. * * @param drive an `IDrive`. * *
packages/services/src/contents/index.ts:1109
↓ 4 callers
Method
_updateActive
* Set and mark active item relative to the current. * * Returns whether an active item was set.
packages/running/src/index.tsx:1111
↓ 4 callers
Method
_updateContentsModel
* Update our contents model, without the content.
packages/docregistry/src/context.ts:524
↓ 4 callers
Method
_updateSuggestions
* Fetch and display directory suggestions for the given input value.
packages/filebrowser/src/pathnavigator.ts:193
↓ 4 callers
Method
_updateTotalSize
* Update the total size * * @param force - Update also while the user scrolls.
packages/ui-components/src/components/windowedlist.ts:1912
↓ 4 callers
Function
_validate_compatibility
Validate the compatibility of an extension.
jupyterlab/commands.py:2283
↓ 4 callers
Function
_validate_extension
Detect if a package is an extension using its metadata. Returns any problems it finds.
jupyterlab/commands.py:2199
↓ 4 callers
Method
activatePlugin
(id: string)
packages/coreutils/src/pluginregistry.ts:24
↓ 4 callers
Method
add
* Add a widget to the JupyterLab shell * * @param widget - Widget * @param area - Area * @param options - Options
packages/application/src/shell.ts:1014
↓ 4 callers
Method
addItem
* Add a menu item to the end of the menu. * * @param options - The options for creating the menu item. * * @returns The disposable menu it
packages/ui-components/src/components/menu.ts:49
↓ 4 callers
Method
addKeybinding
* Add a new keybinding.
packages/shortcuts-extension/src/types.ts:228
↓ 4 callers
Method
addModelFactory
* Add a model factory to the registry. * * @param factory - The factory instance. * * @returns A disposable which will unregister the fact
packages/docregistry/src/registry.ts:208
← previous
next →
401–500 of 8,286, ranked by callers