MCPcopy Create free account

hub / github.com/jupyterlab/jupyterlab / functions

Functions8,286 in github.com/jupyterlab/jupyterlab

↓ 23 callersMethodrender
* 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 callersMethodselect
* 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 callersMethodurl
* The url of the IFrame.
packages/ui-components/src/components/iframe.ts:88
↓ 22 callersMethodcopy
* 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 callersMethodenterCellEditingMode
* Enter the editing mode on a given cell * * @param cellIndex Cell index * @returns Action success status
galata/src/helpers/notebook.ts:1052
↓ 22 callersMethodforEach
* Iterate through each instance in the tracker. * * @param fn - The function to call on each instance.
packages/lsp/src/tokens.ts:637
↓ 22 callersMethodrunCell
* Execute a cell. * * @param options Cell execution options
packages/console/src/tokens.ts:63
↓ 21 callersMethodfilter
* 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 callersFunctionframePromise
()
packages/testing/src/common.ts:202
↓ 21 callersMethodhasClass
(name)
galata/test/jupyterlab/notebook-toolbar.test.ts:40
↓ 21 callersMethodinsertWidget
* 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 callersMethodnormalize
* 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 callersMethodrestore
* Restore the objects in a given restorable collection. * * @param restorable - The restorable collection being restored. * * @param optio
packages/statedb/src/interfaces.ts:186
↓ 21 callersMethodroute
* 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 callersFunctioncheck_extension
Check if a JupyterLab extension is enabled or disabled.
jupyterlab/commands.py:564
↓ 20 callersMethodget
* 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 callersMethodgetNotebookInPanelLocator
* Get the locator to a notebook panel * * @param name Notebook name * @returns Locator to the Notebook panel
galata/src/helpers/notebook.ts:134
↓ 20 callersFunctionget_app_info
Get a dictionary of information about the app.
jupyterlab/commands.py:539
↓ 20 callersMethodhas
* Check if this tracker has the specified instance. * * @param obj - The object whose existence is being checked.
packages/lsp/src/tokens.ts:651
↓ 20 callersMethodhas
* Check if this pool has the specified object. * * @param obj - The object whose existence is being checked.
packages/statedb/src/interfaces.ts:159
↓ 20 callersMethodobserve
(_target: Element, _options?: ResizeObserverOptions)
packages/testing/src/jest-shim.ts:84
↓ 20 callersMethodon
* Connect a listener to new Jupyter dialog events. * * @param event Event type * @param listener Event listener
galata/extension/src/tokens.ts:191
↓ 20 callersMethodsetCursorPosition
* 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 callersMethoddetach
()
packages/apputils/src/commandpalette.ts:58
↓ 19 callersMethodgetMetadata
* Get a metadata * * ### Notes * This returns a copy of the key value. * * @param key Metadata key
packages/notebook/src/model.ts:86
↓ 19 callersMethodgetOffsetAt
* 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 callersMethodrequestExecute
* 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 callersMethodsetData
* 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 callersMethodsetOption
* Set a config option for the terminal.
packages/terminal/src/tokens.ts:46
↓ 19 callersMethodstop
* Stop a running debug session.
packages/debugger/src/tokens.ts:442
↓ 19 callersMethoduploadContent
* 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 callersMethod_onLayoutModified
* Handle a change to the layout.
packages/application/src/shell.ts:1972
↓ 18 callersMethodaddWidgetFactory
* 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 callersMethodelement
* 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 callersMethodopenDirectory
* Open a given directory in the file browser * * @param dirPath Directory path * @returns Action success status
galata/src/helpers/filebrowser.ts:172
↓ 18 callersMethodselectCells
* Select cells * * @param startIndex Start cell index * @param endIndex End cell index * @returns Action success status
galata/src/helpers/notebook.ts:1212
↓ 18 callersMethodupdate
* Trigger a rendering update on the receiver.
packages/console/src/foreign.ts:188
↓ 18 callersMethodupdate
* 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 callersMethod_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 callersMethodfulfill
(sender: this, status: Kernel.ConnectionStatus)
packages/services/src/kernel/default.ts:582
↓ 17 callersMethodget
* Get an item at the specified index.
packages/outputarea/src/model.ts:52
↓ 17 callersMethodgetBaseUrl
* Getter for JupyterLab base URL
galata/src/jupyterlabpage.ts:114
↓ 17 callersMethodgetData
* 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 callersMethodscrollToItem
* 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 callersMethodcd
* 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 callersFunctiondismissDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:266
↓ 16 callersMethodgetLogger
* 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 callersMethodgetSelection
* Get selected text from terminal.
packages/terminal/src/tokens.ts:66
↓ 16 callersFunctionlist
* 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 callersMethodnext
* Makes the current thread run again for one step.
packages/debugger/src/tokens.ts:166
↓ 16 callersMethodreload
* Cause a hard reload of the document.
packages/application/src/tokens.ts:145
↓ 16 callersMethodrenderModel
* 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 callersFunctiontestEmission
( signal: ISignal<T, U>, options: { find?: (a: T, b: U) => boolean; test?: (a: T, b: U) => void;
packages/testing/src/common.ts:75
↓ 16 callersMethodtype
* The type of the cell.
packages/cells/src/model.ts:578
↓ 15 callersMethodadd
* 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 callersMethodcontinue
* Continues the execution of the current thread.
packages/debugger/src/tokens.ts:90
↓ 15 callersMethodendQuery
* Stop a search and clear any internal state of the provider
packages/documentsearch/src/tokens.ts:270
↓ 15 callersFunctionfilter
(item: string)
packages/settingeditor/test/pluginlist.spec.tsx:252
↓ 15 callersMethodhasFocus
* Test whether the editor has keyboard focus.
packages/codeeditor/src/editor.ts:449
↓ 15 callersMethodpush
* 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 callersFunctionreject
* Reject the candidate.
packages/apputils/src/windowresolver.ts:165
↓ 14 callersMethod_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 callersFunctionacceptDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:231
↓ 14 callersMethodblur
* Explicitly blur the editor.
packages/codeeditor/src/editor.ts:454
↓ 14 callersMethodcontextForWidget
* 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 callersMethodhas
* Check if this tracker has the specified instance. * * @param obj - The object whose existence is being checked.
packages/apputils/src/widgettracker.ts:93
↓ 14 callersMethodhighlightNext
* 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 callersMethodinitializeState
* 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 callersMethodisEnabled
* Whether this command is enabled for a given widget * @param widget Widget
packages/apputils/src/semanticCommand.ts:20
↓ 14 callersMethodisVisible
* Whether the status bar is visible or not * * @returns Visibility status
galata/src/helpers/statusbar.ts:21
↓ 14 callersMethodregister
* 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 callersMethodselectedItems
* 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 callersMethodsend
* 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 callersMethodsetMetadata
* Set a metadata * * @param key Metadata key * @param value Metadata value
packages/cells/src/model.ts:119
↓ 14 callersMethodsetWidth
* 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 callersMethodaddFactory
* 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 callersMethodfind
* 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 callersMethodfromJSON
* Deserialize the model from JSON. * * #### Notes * Should emit a [contentChanged] signal.
packages/docregistry/src/registry.ts:887
↓ 13 callersMethodgetDownloadUrl
* 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 callersMethodgetPanelLocator
* Get a panel locator * * @param name Activity name * @returns Panel locator or null
galata/src/helpers/activity.ts:153
↓ 13 callersMethodhasData
* 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 callersMethodregisterStatusItem
* 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 callersMethodsetMetadata
* Set a metadata * * @param key Metadata key * @param value Metadata value
packages/notebook/src/model.ts:94
↓ 13 callersMethodstartQuery
* Start a search * * @param query Regular expression to test for * @param filters Filters to apply when searching
packages/documentsearch/src/tokens.ts:265
↓ 13 callersFunctionwaitForDialog
( host: HTMLElement = document.body, timeout: number = 250 )
packages/testing/src/common.ts:213
↓ 13 callersFunctionybinding
(options: { ytext: Text; undoManager?: UndoManager; })
packages/codemirror/src/extensions/ybinding.ts:273
↓ 12 callersMethod_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 callersMethodcontext
* The CSV widget's context.
packages/csvviewer/src/widget.ts:299
↓ 12 callersFunctioncreateToolbarFactory
( toolbarRegistry: IToolbarWidgetRegistry, settingsRegistry: ISettingRegistry, factoryName: string, pl
packages/apputils/src/toolbar/factory.ts:260
↓ 12 callersMethoddeleteMetadata
* Delete a metadata. * * @param key Metadata key
packages/cells/src/model.ts:101
↓ 12 callersMethodgetFileType
* Get a file type by name.
packages/docregistry/src/registry.ts:615
↓ 12 callersMethodgetTabLocator
* Get the locator on a given tab * * @param id Tab id * @returns Tab locator
galata/src/helpers/sidebar.ts:204
↓ 12 callersMethodisOpen
* Whether a menu is opened or not * * @param path Menu path * @returns Opened menu status
galata/src/helpers/menu.ts:195
↓ 12 callersMethodlaunch
* 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 callersMethodload
* 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 callersMethodrename
* Rename the document.
packages/docregistry/src/registry.ts:980
↓ 12 callersMethodtext
* The text displayed in the placeholder.
packages/cells/src/placeholder.ts:108
↓ 11 callersMethodaddItem
* 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 callersMethodbindprops
* 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 callersMethodclear
* Clear all outputs logged.
packages/logconsole/src/tokens.ts:190
← previousnext →101–200 of 8,286, ranked by callers