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
↓ 23 callers
Method
render
* Render a markdown source into unsanitized HTML. * * @param source - The string to render. * @returns - A promise of the string contai
packages/rendermime-interfaces/src/index.ts:599
↓ 23 callers
Method
select
* Activate `select` command in the widget with provided id. * * @param {string} id - the id of notebook panel, console panel or code editor.
packages/completer/src/tokens.ts:377
↓ 23 callers
Method
url
* The url of the IFrame.
packages/ui-components/src/components/iframe.ts:88
↓ 22 callers
Method
copy
* Copy a file into a given directory. * * @param localPath - The original file path. * * @param toLocalDir - The destination direc
packages/services/src/contents/index.ts:641
↓ 22 callers
Method
enterCellEditingMode
* Enter the editing mode on a given cell * * @param cellIndex Cell index * @returns Action success status
galata/src/helpers/notebook.ts:1052
↓ 22 callers
Method
forEach
* Iterate through each instance in the tracker. * * @param fn - The function to call on each instance.
packages/lsp/src/tokens.ts:637
↓ 22 callers
Method
runCell
* Execute a cell. * * @param options Cell execution options
packages/console/src/tokens.ts:63
↓ 21 callers
Method
filter
* Filter the objects in the pool based on a predicate. * * @param fn - The function by which to filter.
packages/statedb/src/interfaces.ts:152
↓ 21 callers
Function
framePromise
()
packages/testing/src/common.ts:202
↓ 21 callers
Method
hasClass
(name)
galata/test/jupyterlab/notebook-toolbar.test.ts:40
↓ 21 callers
Method
insertWidget
* Insert a widget at the given position in the content panel. * * @param index Position * @param widget Widget to insert
packages/ui-components/src/components/sidepanel.ts:98
↓ 21 callers
Method
normalize
* Normalize a global path. Reduces '..' and '.' parts, and removes * leading slashes from the local part of the path, while retaining * the
packages/services/src/contents/index.ts:359
↓ 21 callers
Method
restore
* Restore the objects in a given restorable collection. * * @param restorable - The restorable collection being restored. * * @param optio
packages/statedb/src/interfaces.ts:186
↓ 21 callers
Method
route
* Route a specific path to an action. * * @param url - The URL string that will be routed. * * #### Notes * If a pattern is matched, it
packages/application/src/tokens.ts:156
↓ 20 callers
Function
check_extension
Check if a JupyterLab extension is enabled or disabled.
jupyterlab/commands.py:564
↓ 20 callers
Method
get
* Get a file or directory. * * @param localPath The path to the file. * * @param options The options used to fetch the file.
packages/services/src/contents/index.ts:572
↓ 20 callers
Method
getNotebookInPanelLocator
* Get the locator to a notebook panel * * @param name Notebook name * @returns Locator to the Notebook panel
galata/src/helpers/notebook.ts:134
↓ 20 callers
Function
get_app_info
Get a dictionary of information about the app.
jupyterlab/commands.py:539
↓ 20 callers
Method
has
* Check if this tracker has the specified instance. * * @param obj - The object whose existence is being checked.
packages/lsp/src/tokens.ts:651
↓ 20 callers
Method
has
* Check if this pool has the specified object. * * @param obj - The object whose existence is being checked.
packages/statedb/src/interfaces.ts:159
↓ 20 callers
Method
observe
(_target: Element, _options?: ResizeObserverOptions)
packages/testing/src/jest-shim.ts:84
↓ 20 callers
Method
on
* Connect a listener to new Jupyter dialog events. * * @param event Event type * @param listener Event listener
galata/extension/src/tokens.ts:191
↓ 20 callers
Method
setCursorPosition
* Set the primary position of the cursor. * * @param position - The new primary position. * @param options - Adjustment options allowin
packages/codeeditor/src/editor.ts:272
↓ 19 callers
Method
detach
()
packages/apputils/src/commandpalette.ts:58
↓ 19 callers
Method
getMetadata
* Get a metadata * * ### Notes * This returns a copy of the key value. * * @param key Metadata key
packages/notebook/src/model.ts:86
↓ 19 callers
Method
getOffsetAt
* Find an offset for the given position. * * @param position - The position of interest. * * @returns The offset at the position,
packages/codeeditor/src/editor.ts:414
↓ 19 callers
Method
requestExecute
* Send an `execute_request` message. * * @param content - The content of the request. * * @param disposeOnDone - Whether to dispose of the
packages/services/src/kernel/kernel.ts:309
↓ 19 callers
Method
setData
* Set the data for a given mime type. * * @param mime - The mime type to set. * @param data - The data to set.
packages/apputils/src/clipboard.ts:163
↓ 19 callers
Method
setOption
* Set a config option for the terminal.
packages/terminal/src/tokens.ts:46
↓ 19 callers
Method
stop
* Stop a running debug session.
packages/debugger/src/tokens.ts:442
↓ 19 callers
Method
uploadContent
* Upload content as file to JupyterLab. * * Note: the destinationPath is the filepath on the server. * * @param content Content file to up
galata/src/contents.ts:161
↓ 18 callers
Method
_onLayoutModified
* Handle a change to the layout.
packages/application/src/shell.ts:1972
↓ 18 callers
Method
addWidgetFactory
* Add a widget factory to the registry. * * @param factory - The factory instance to register. * * @returns A disposable which will unregi
packages/docregistry/src/registry.ts:124
↓ 18 callers
Method
element
* Create an icon as a DOM element * * @param className - a string that will be used as the class * of the container element. Overrides any ex
packages/ui-components/src/icon/labicon.tsx:318
↓ 18 callers
Method
openDirectory
* Open a given directory in the file browser * * @param dirPath Directory path * @returns Action success status
galata/src/helpers/filebrowser.ts:172
↓ 18 callers
Method
selectCells
* Select cells * * @param startIndex Start cell index * @param endIndex End cell index * @returns Action success status
galata/src/helpers/notebook.ts:1212
↓ 18 callers
Method
update
* Trigger a rendering update on the receiver.
packages/console/src/foreign.ts:188
↓ 18 callers
Method
update
* Modify the stored config values. * * #### Notes * Updates the local data immediately, sends the change to the server, * and updates the
packages/services/src/config/index.ts:32
↓ 17 callers
Method
_p
* Shorthand for pgettext. * * @param msgctxt - The message context. * @param msgid - The singular string to translate. * @param args - Any
packages/translation/src/gettext.ts:350
↓ 17 callers
Method
fulfill
(sender: this, status: Kernel.ConnectionStatus)
packages/services/src/kernel/default.ts:582
↓ 17 callers
Method
get
* Get an item at the specified index.
packages/outputarea/src/model.ts:52
↓ 17 callers
Method
getBaseUrl
* Getter for JupyterLab base URL
galata/src/jupyterlabpage.ts:114
↓ 17 callers
Method
getData
* Retrieve the data for a given mime type. * Returns `null` if the data does not exist. * * @param mime - The mime type to retrieve.
packages/apputils/src/clipboard.ts:143
↓ 17 callers
Method
scrollToItem
* Scroll to the specified item. * * By default, the list will scroll as little as possible to ensure the item is fully visible (`auto`). * Yo
packages/ui-components/src/components/windowedlist.ts:1114
↓ 16 callers
Method
cd
* Change directory. * * @param path The path to the file or directory. * * @returns A promise with the contents of the directory.
packages/filebrowser/src/model.ts:255
↓ 16 callers
Function
dismissDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:266
↓ 16 callers
Method
getLogger
* Get the logger for the specified source. * * @param source - The name of the log source. * * @returns The logger for the specified sourc
packages/logconsole/src/tokens.ts:34
↓ 16 callers
Method
getSelection
* Get selected text from terminal.
packages/terminal/src/tokens.ts:66
↓ 16 callers
Function
list
* Retrieve the list of items available from the data connector. * * @param query - The optional query filter to apply to the connector request.
packages/statedb/src/dataconnector.ts:58
↓ 16 callers
Method
next
* Makes the current thread run again for one step.
packages/debugger/src/tokens.ts:166
↓ 16 callers
Method
reload
* Cause a hard reload of the document.
packages/application/src/tokens.ts:145
↓ 16 callers
Method
renderModel
* Render a mime model. * * @param model - The mime model to render. * * @returns A promise which resolves when rendering is comple
packages/rendermime-interfaces/src/index.ts:310
↓ 16 callers
Function
testEmission
( signal: ISignal<T, U>, options: { find?: (a: T, b: U) => boolean; test?: (a: T, b: U) => void;
packages/testing/src/common.ts:75
↓ 16 callers
Method
type
* The type of the cell.
packages/cells/src/model.ts:578
↓ 15 callers
Method
add
* Add a provider to the registry. * * @param key - The provider key. * @returns A disposable delegate that, when disposed, deregisters the gi
packages/documentsearch/src/tokens.ts:227
↓ 15 callers
Method
continue
* Continues the execution of the current thread.
packages/debugger/src/tokens.ts:90
↓ 15 callers
Method
endQuery
* Stop a search and clear any internal state of the provider
packages/documentsearch/src/tokens.ts:270
↓ 15 callers
Function
filter
(item: string)
packages/settingeditor/test/pluginlist.spec.tsx:252
↓ 15 callers
Method
hasFocus
* Test whether the editor has keyboard focus.
packages/codeeditor/src/editor.ts:449
↓ 15 callers
Method
push
* Add a value to the back of the list. * * @param value - The value to add to the back of the list. * * @returns The new length of the lis
packages/observables/src/observablelist.ts:128
↓ 15 callers
Function
reject
* Reject the candidate.
packages/apputils/src/windowresolver.ts:165
↓ 14 callers
Method
_n
* Shorthand for ngettext. * * @param msgid - The singular string to translate. * @param msgid_plural - The plural string to translate. * @
packages/translation/src/gettext.ts:333
↓ 14 callers
Function
acceptDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:231
↓ 14 callers
Method
blur
* Explicitly blur the editor.
packages/codeeditor/src/editor.ts:454
↓ 14 callers
Method
contextForWidget
* Get the document context for a widget. * * @param widget - The widget of interest. * * @returns The context associated with the widget,
packages/docmanager/src/tokens.ts:234
↓ 14 callers
Method
has
* Check if this tracker has the specified instance. * * @param obj - The object whose existence is being checked.
packages/apputils/src/widgettracker.ts:93
↓ 14 callers
Method
highlightNext
* Highlight the next match * * @param loop Whether to loop within the matches list. * * @returns The next match if it exists
packages/documentsearch/src/tokens.ts:284
↓ 14 callers
Method
initializeState
* Initialize view state from model. * * #### Notes * Should be called after construction. For convenience, returns this, so it * can be ch
packages/cells/src/widget.ts:219
↓ 14 callers
Method
isEnabled
* Whether this command is enabled for a given widget * @param widget Widget
packages/apputils/src/semanticCommand.ts:20
↓ 14 callers
Method
isVisible
* Whether the status bar is visible or not * * @returns Visibility status
galata/src/helpers/statusbar.ts:21
↓ 14 callers
Method
register
* Register a rule that maps a path pattern to a command. * * @param options - The route registration options. * * @returns A disposable th
packages/application/src/tokens.ts:140
↓ 14 callers
Method
selectedItems
* Create an iterator over the listing's selected items. * * @returns A new iterator over the listing's selected items.
packages/filebrowser/src/listing.ts:345
↓ 14 callers
Method
send
* Send a `comm_msg` message to the kernel. * * @param data - The data to send to the server on opening. * * @param metadata - Additional m
packages/services/src/kernel/kernel.ts:1007
↓ 14 callers
Method
setMetadata
* Set a metadata * * @param key Metadata key * @param value Metadata value
packages/cells/src/model.ts:119
↓ 14 callers
Method
setWidth
* Set the sidebar width * * @param width Sidebar width in pixels * @param side Which sidebar to set: 'left' or 'right'
galata/src/helpers/sidebar.ts:323
↓ 13 callers
Method
addFactory
* Add a renderer factory to the rendermime. * * @param factory - The renderer factory of interest. * * @param rank - The rank of the rende
packages/rendermime/src/tokens.ts:127
↓ 13 callers
Method
find
* Find the first instance in the tracker that satisfies a filter function. * * @param fn The filter function to call on each instance. * *
packages/apputils/src/widgettracker.ts:72
↓ 13 callers
Method
fromJSON
* Deserialize the model from JSON. * * #### Notes * Should emit a [contentChanged] signal.
packages/docregistry/src/registry.ts:887
↓ 13 callers
Method
getDownloadUrl
* Get an encoded download url given a file path. * * @returns A promise which resolves with the absolute POSIX * file path on the ser
packages/services/src/contents/index.ts:583
↓ 13 callers
Method
getPanelLocator
* Get a panel locator * * @param name Activity name * @returns Panel locator or null
galata/src/helpers/activity.ts:153
↓ 13 callers
Method
hasData
* Whether the clipboard has data for a given mime type. * Returns `false` if the data does not exist. * * @param mime - The mime type t
packages/apputils/src/clipboard.ts:135
↓ 13 callers
Method
registerStatusItem
* Register a new status item. * * @param id a unique id for the status item. * @param statusItem The options for how to add the status item.
packages/statusbar/src/tokens.ts:28
↓ 13 callers
Method
setMetadata
* Set a metadata * * @param key Metadata key * @param value Metadata value
packages/notebook/src/model.ts:94
↓ 13 callers
Method
startQuery
* Start a search * * @param query Regular expression to test for * @param filters Filters to apply when searching
packages/documentsearch/src/tokens.ts:265
↓ 13 callers
Function
waitForDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:213
↓ 13 callers
Function
ybinding
(options: { ytext: Text; undoManager?: UndoManager; })
packages/codemirror/src/extensions/ybinding.ts:273
↓ 12 callers
Method
_driveForPath
* Given a path, get the `IDrive to which it refers, * where the path satisfies the pattern * `'driveName:path/to/file'`. If there is no `driveNa
packages/services/src/contents/index.ts:1128
↓ 12 callers
Method
context
* The CSV widget's context.
packages/csvviewer/src/widget.ts:299
↓ 12 callers
Function
createToolbarFactory
( toolbarRegistry: IToolbarWidgetRegistry, settingsRegistry: ISettingRegistry, factoryName: string, pl
packages/apputils/src/toolbar/factory.ts:260
↓ 12 callers
Method
deleteMetadata
* Delete a metadata. * * @param key Metadata key
packages/cells/src/model.ts:101
↓ 12 callers
Method
getFileType
* Get a file type by name.
packages/docregistry/src/registry.ts:615
↓ 12 callers
Method
getTabLocator
* Get the locator on a given tab * * @param id Tab id * @returns Tab locator
galata/src/helpers/sidebar.ts:204
↓ 12 callers
Method
isOpen
* Whether a menu is opened or not * * @param path Menu path * @returns Opened menu status
galata/src/helpers/menu.ts:195
↓ 12 callers
Method
launch
* Launch the dialog as a modal window. * * @returns a promise that resolves with the result of the dialog.
packages/apputils/src/dialog.tsx:176
↓ 12 callers
Method
load
* Load translation bundles for a given domain. * * @param domain The translation domain to use for translations. * * @returns The
packages/rendermime-interfaces/src/index.ts:757
↓ 12 callers
Method
rename
* Rename the document.
packages/docregistry/src/registry.ts:980
↓ 12 callers
Method
text
* The text displayed in the placeholder.
packages/cells/src/placeholder.ts:108
↓ 11 callers
Method
addItem
* Add a command item to the command palette. * * @param options - The options for creating the command item. * * @returns A disposable tha
packages/apputils/src/tokens.ts:49
↓ 11 callers
Method
bindprops
* Get a view of this icon that is bound to the specified icon/style props * * @param optional icon/style props (same as args for .element * a
packages/ui-components/src/icon/labicon.tsx:275
↓ 11 callers
Method
clear
* Clear all outputs logged.
packages/logconsole/src/tokens.ts:190
← previous
next →
101–200 of 8,286, ranked by callers