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
↓ 3 callers
Method
annotatedDefaults
* Return the defaults in a commented JSON format.
packages/settingregistry/src/tokens.ts:546
↓ 3 callers
Method
appendCodeBlock
* Append a code block to the end of the virtual document. * * @param block - block to be appended * @param editorShift - position shift in
packages/lsp/src/virtual/document.ts:619
↓ 3 callers
Method
appendStreamOutput
(text: string)
packages/outputarea/src/model.ts:56
↓ 3 callers
Method
attachNotebook
* Attach a notebook with session context to model in order to keep * track of multiple notebooks. If a session context is already * attached
packages/notebook/src/executionindicator.tsx:360
↓ 3 callers
Method
buildTabSelector
* Get the selector for a given tab * * @param id Tab id * @returns Selector
galata/src/helpers/sidebar.ts:362
↓ 3 callers
Method
build_check
Determine whether JupyterLab should be built. Returns a list of messages.
jupyterlab/commands.py:863
↓ 3 callers
Method
callback
( tracker: IWidgetTracker<Dialog<any>>, dialog: Dialog<any> | null
galata/extension/src/global.ts:145
↓ 3 callers
Method
canUndo
* Whether the object can undo changes.
packages/observables/src/undoablelist.ts:93
↓ 3 callers
Method
changeKernel
* Change the kernel. * * @param options - The name or id of the new kernel. * * @returns A promise that resolves with the new kernel model
packages/services/src/session/session.ts:169
↓ 3 callers
Method
cleanup
()
packages/services/src/kernel/default.ts:314
↓ 3 callers
Method
clear
* Clear the code cells.
packages/console/src/widget.ts:331
↓ 3 callers
Method
clone
* Clone the current kernel with a new clientId.
packages/services/src/kernel/kernel.ts:607
↓ 3 callers
Method
close
* Close the connection
packages/lsp/src/ws-connection/types.ts:59
↓ 3 callers
Method
closeAllForeignDocuments
* Close all foreign documents.
packages/lsp/src/virtual/document.ts:804
↓ 3 callers
Method
closeFile
* Close the widgets associated with a given path. * * @param path - The target path. * * @returns A promise resolving when the widgets are
packages/docmanager/src/tokens.ts:224
↓ 3 callers
Method
columnCount
* Get the column count for a region in the data model. * * @param region - The column region of interest. * * @returns - The column count
packages/csvviewer/src/model.ts:183
↓ 3 callers
Function
compareVersions
( a: [number, number, number], b: [number, number, number] )
packages/coreutils/src/pageconfig.ts:337
↓ 3 callers
Function
createCellSearchProvider
( cell: Cell<ICellModel> )
packages/cells/src/searchprovider.ts:517
↓ 3 callers
Method
createCheckboxWrapperNode
* Creates a node containing a checkbox. * * We wrap the checkbox in a label element in order to increase its hit * area. This is becaus
packages/filebrowser/src/listing.ts:3456
↓ 3 callers
Method
createCheckpoint
* Create a checkpoint for a file. * * @param localPath - The path of the file. * * @returns A promise which resolves with the new
packages/services/src/contents/index.ts:651
↓ 3 callers
Method
createCodeCell
* Create a new code cell. * * @param options - The options used to create the cell. * * @returns A new code cell. If a source cell
packages/console/src/widget.ts:1432
↓ 3 callers
Method
createComm
* Create a new comm. * * @param targetName - The name of the comm target. * * @param commId - The comm id. * * @returns A comm insta
packages/services/src/kernel/kernel.ts:455
↓ 3 callers
Method
createCompletionItemNode
* Create an item node (an `li` element) from a ICompletionItem * for a text completer menu. * * #### Notes * The item provided to
packages/completer/src/widget.ts:1163
↓ 3 callers
Method
createConsole
* Create a new console panel.
packages/console/src/panel.ts:280
↓ 3 callers
Method
createEditor
()
packages/notebook/src/notebooktools.ts:545
↓ 3 callers
Function
createHandler
(config?: Record<string, any>)
packages/codemirror/test/extension.spec.ts:208
↓ 3 callers
Method
createHeader
* Create the header of the dialog. * * @param title - The title of the dialog. * * @returns A widget for the dialog header.
packages/apputils/src/dialog.tsx:753
↓ 3 callers
Method
createInputPrompt
* Create an input prompt.
packages/cells/src/inputarea.ts:209
↓ 3 callers
Function
createMethodMap
* Create a map between the request method and its handler
packages/lsp/src/connection.ts:161
↓ 3 callers
Method
createNew
* Create a new extensions handler for an editor * * @param options Extensions options and initial editor configuration
packages/codemirror/src/token.ts:225
↓ 3 callers
Method
createNewDirectory
* Create a new directory
packages/filebrowser/src/browser.ts:543
↓ 3 callers
Method
createPatch
* Create a resolved patch between the original state and a patch string.
packages/completer/src/widget.ts:1099
↓ 3 callers
Function
customizeForLab
( options: ILabCustomizerOptions<P> )
packages/ui-components/src/components/form.tsx:242
↓ 3 callers
Method
data
* Get the data value for a cell in the data model. * * @param region - The cell region of interest. * * @param row - The row index of the
packages/csvviewer/src/model.ts:201
↓ 3 callers
Function
dedupe_yarn
`yarn-deduplicate` with the `fewer` strategy to minimize total packages installed in a given staging directory This means a extension (or dep
jupyterlab/commands.py:201
↓ 3 callers
Method
deleteCheckpoint
* Delete a checkpoint for a file. * * @param localPath - The path of the file. * * @param checkpointID - The id of the checkpoint
packages/services/src/contents/index.ts:683
↓ 3 callers
Method
deprecation_warning
(self, msg)
jupyterlab/labextensions.py:188
↓ 3 callers
Function
deserialize
( data: ArrayBuffer, protocol: string = '' )
packages/services/src/kernel/serialize.ts:26
↓ 3 callers
Method
displayDefinedVariables
* Requests all the defined variables and display them in the * table view.
packages/debugger/src/tokens.ts:148
↓ 3 callers
Method
displayModules
* Requests all the loaded modules and display them. * Does nothing unless the debugger is started.
packages/debugger/src/tokens.ts:154
↓ 3 callers
Method
dispose
* Dispose the handler.
packages/debugger/src/handlers/editor.ts:202
↓ 3 callers
Function
enable_extension
Enable a JupyterLab extension/plugin. Returns `True` if a rebuild is recommended, `False` otherwise.
jupyterlab/commands.py:546
↓ 3 callers
Method
enterEditMode
* Enter edit mode: show the path input and hide the breadcrumb content.
packages/filebrowser/src/crumbs.ts:858
↓ 3 callers
Method
factory
(options: IInlineCompleterFactory.IOptions)
packages/completer/src/tokens.ts:309
↓ 3 callers
Function
federated_extensions
Serve the given prebuilt extensions as the installed ones.
jupyterlab/tests/test_extensions.py:127
↓ 3 callers
Method
fetch
* Fetch language list or given language.
packages/translation/src/tokens.ts:106
↓ 3 callers
Method
findBest
* Find a codemirror mode by name or CodeMirror spec. * * @param language The CodeMirror mode * @param fallback Whether to fallback to default
packages/codemirror/src/language.ts:198
↓ 3 callers
Method
fromJSON
* Deserialize the model from JSON. * * #### Notes * Should emit a [contentChanged] signal.
packages/notebook/src/model.ts:333
↓ 3 callers
Method
fromJSON
* Deserialize the object from JSON.
packages/observables/src/undoablelist.ts:21
↓ 3 callers
Method
get
* Get a value for a given key. * * @param key - the key. * * @returns the value for that key.
packages/observables/src/observablemap.ts:47
↓ 3 callers
Method
getActiveCommandId
* Get the command id of the enabled command from this group * for the given widget. * * @param widget Widget * @returns Command id
packages/apputils/src/semanticCommand.ts:76
↓ 3 callers
Method
getBreakPointsPanelLocator
* Returns locator to breakpoints panel content
galata/src/helpers/debuggerpanel.ts:163
↓ 3 callers
Method
getCallStackPanelLocator
* Returns locator to callstack panel content
galata/src/helpers/debuggerpanel.ts:137
↓ 3 callers
Method
getCellHeadings
* Get the headings of a given cell. * * @param cell Cell * @returns The associated headings
packages/notebook/src/toc.ts:166
↓ 3 callers
Method
getCellInputExpanderLocator
* Get the locator to the input expander of a cell * * @param cellIndex Cell index * @returns Locator to the cell input expander
galata/src/helpers/notebook.ts:788
↓ 3 callers
Method
getCellOutputLocator
* Get the locator on a given output cell * * @param cellIndex Cell index * @returns Locator cell handle
galata/src/helpers/notebook.ts:933
↓ 3 callers
Method
getContentMetadata
* Return the model for a path. * * @param path Path * @param type Path type * @returns Element metadata
galata/src/contents.ts:51
↓ 3 callers
Method
getContiguousSelection
* Get the head and anchor of a contiguous cell selection. * * The head of a contiguous selection is always the active cell. * * If there a
packages/notebook/src/widget.ts:2310
↓ 3 callers
Function
getCoreData
* Get the core data for the given core paths.
buildutils/src/ensure-repo.ts:435
↓ 3 callers
Method
getDownloadUrl
* Get the download url for a given absolute url path. * * #### Notes * This URL may include a query parameter.
packages/rendermime-interfaces/src/index.ts:517
↓ 3 callers
Function
getFileTypeDefaults
(translator?: ITranslator)
packages/docregistry/src/registry.ts:1328
↓ 3 callers
Method
getFilteredPackages
* Get filtered packages from current bundle where at least one token of each * key is present.
packages/apputils/src/licenses.tsx:546
↓ 3 callers
Method
getFilters
* Get the filters definition for the given provider. * * @returns The filters definition. * * ### Notes * TODO For now it only supports
packages/documentsearch/src/tokens.ts:370
↓ 3 callers
Method
getLanguages
* Get the raw list of available languages specs. * * @returns The available languages
packages/codemirror/src/token.ts:374
↓ 3 callers
Method
getMatchingServers
* @alpha * * An ordered list of matching >running< sessions, with servers of higher rank higher in the list
packages/lsp/src/tokens.ts:148
↓ 3 callers
Method
getMenuBarItemLocator
* Get the locator on a menu from its label. * * @param label Menu label * @returns Locator to the menu
galata/src/helpers/menu.ts:47
↓ 3 callers
Method
getMenuItemLocator
* Get the locator on a menu item from its path. * * The separator used is '>'; e.g. to look for the new Notebook item 'File>New>Notebook'. *
galata/src/helpers/menu.ts:102
↓ 3 callers
Method
getMetadata
* Get a metadata * * ### Notes * This returns a copy of the key value. * * @param key Metadata key
packages/notebook/src/model.ts:284
↓ 3 callers
Method
getMimeTypeByLanguage
* Get a mime type for the given language info. * * @param info - The language information. * * @returns A valid mimetype. * * #### N
packages/codeeditor/src/mimetype.ts:22
↓ 3 callers
Method
getModelFactory
* Get a model factory by name. * * @param name - The name of the model factory. * * @returns A model factory instance.
packages/docregistry/src/registry.ts:608
↓ 3 callers
Method
getOutputPlaceholderText
()
packages/cells/src/widget.ts:1259
↓ 3 callers
Method
getProvider
* Get a content provider matching provided identifier. * * If no identifier is provided or the provider is not found, returns null. * * @p
packages/services/src/contents/index.ts:1957
↓ 3 callers
Method
getRangeToRender
* Compute the items range to display. * * It returns ``null`` if the range does not need to be updated. * * @param options - Contr
packages/ui-components/src/components/windowedlist.ts:2234
↓ 3 callers
Function
getSessionUrl
(baseUrl: string, id: string)
packages/services/src/session/restapi.ts:45
↓ 3 callers
Method
getSources
* Return all registered source sidebars keyed by their `id`.
packages/apputils/src/tokens.ts:601
↓ 3 callers
Method
getTmpFileParams
* Gets the parameters used for the temp files (e.e. cells) for a kernel. * * @param kernel - The kernel name from current session.
packages/debugger/src/tokens.ts:337
↓ 3 callers
Method
getToken
* Getter for JupyterLab token
galata/src/jupyterlabpage.ts:132
↓ 3 callers
Method
getToolbarItemLocator
* Get the locator to a notebook toolbar item from its id * * @param itemId Toolbar item id * @param notebookName Notebook name * @returns
galata/src/helpers/notebook.ts:246
↓ 3 callers
Method
getVariablesPanelLocator
* Returns locator to the variables panel content
galata/src/helpers/debuggerpanel.ts:100
↓ 3 callers
Method
getXTermTheme
* Return terminal theme. * Public as needed by TerminalSearchProvider
packages/terminal/src/widget.ts:315
↓ 3 callers
Method
goToLine
* Go to line
packages/csvviewer/src/widget.ts:362
↓ 3 callers
Method
handleEvent
(event: Event)
packages/filebrowser/test/crumbs.spec.ts:69
↓ 3 callers
Method
hasSelection
* Check if terminal has any text selected.
packages/terminal/src/tokens.ts:56
↓ 3 callers
Method
iconClass
* The icon class for the menu item.
packages/ui-components/src/components/menu.ts:356
↓ 3 callers
Method
initialize
* Initialize the context. * * @param isNew - Whether it is a new file. * * @returns a promise that resolves upon initialization.
packages/docregistry/src/context.ts:257
↓ 3 callers
Method
initializeDOM
* Create children widgets.
packages/cells/src/widget.ts:597
↓ 3 callers
Method
injectExtension
* Inject an extension into the editor * * @alpha * @experimental * @param ext Editor extension
packages/codeeditor/src/editor.ts:391
↓ 3 callers
Method
insertAfter
* Insert an item into the toolbar at the after a target item. * * @param at - The target item to insert after. * * @param name - The name
packages/ui-components/src/components/toolbar.tsx:275
↓ 3 callers
Method
insertItem
* Insert an item into the toolbar at the specified index. * * @param index - The index at which to insert the item. * * @param name - The
packages/ui-components/src/components/toolbar.tsx:518
↓ 3 callers
Method
insertLinebreak
* Insert a line break in the prompt cell.
packages/console/src/widget.ts:457
↓ 3 callers
Method
install
Install the required extension. Note: If the user must be notified with a message (like asking to restart the server)
jupyterlab/extensions/pypi.py:540
↓ 3 callers
Method
install_extension
Install an extension package into JupyterLab. The extension is first validated. Returns `True` if a rebuild is recommended, `False`
jupyterlab/commands.py:675
↓ 3 callers
Method
isActive
* Check if the inline compelter is active (showing ghost text) * @experimental * * @param id - the id of notebook panel, console panel or cod
packages/completer/src/tokens.ts:446
↓ 3 callers
Function
isCodeCellModel
(model: ICellModel)
packages/cells/src/model.ts:215
↓ 3 callers
Function
isEnabled
()
packages/docmanager-extension/src/index.tsx:497
↓ 3 callers
Function
isFulfilled
( p: PromiseLike<T>, delay = 0 )
packages/testing/src/common.ts:184
↓ 3 callers
Function
isHintableMimeType
(mimeType: string)
packages/completer/src/utils.ts:32
↓ 3 callers
Function
isInspectorOpen
()
packages/inspector-extension/src/index.ts:70
↓ 3 callers
Method
isLight
* Test whether a given theme is light.
packages/apputils/src/tokens.ts:187
↓ 3 callers
Method
isOn
* Returns true if debugger toolbar item is enabled, false otherwise * * @param name Notebook name
galata/src/helpers/debuggerpanel.ts:26
← previous
next →
701–800 of 8,286, ranked by callers