Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stackblitz/bolt.new
/ functions
Functions
200 in github.com/stackblitz/bolt.new
⨍
Functions
200
◇
Types & classes
86
↓ 1 callers
Method
saveAllFiles
()
app/lib/stores/workbench.ts:199
↓ 1 callers
Method
saveCurrentDocument
()
app/lib/stores/workbench.ts:172
↓ 1 callers
Function
scheduleBufferTick
()
app/utils/buffer.ts:8
↓ 1 callers
Function
scrollTextArea
()
app/components/chat/Chat.client.tsx:107
↓ 1 callers
Method
setCurrentDocumentScrollPosition
(position: ScrollPosition)
app/lib/stores/workbench.ts:140
↓ 1 callers
Method
setDocuments
(files: FileMap)
app/lib/stores/editor.ts:32
↓ 1 callers
Function
setEditorDocument
( view: EditorView, theme: Theme, editable: boolean, languageCompartment: Compartment, autoFocus: bo
app/components/editor/codemirror/CodeMirrorEditor.tsx:376
↓ 1 callers
Function
setMessages
( db: IDBDatabase, id: string, messages: Message[], urlId?: string, description?: string, )
app/lib/persistence/db.ts:44
↓ 1 callers
Function
setNoDocument
(view: EditorView)
app/components/editor/codemirror/CodeMirrorEditor.tsx:363
↓ 1 callers
Method
setSelectedFile
(filePath: string | undefined)
app/lib/stores/editor.ts:59
↓ 1 callers
Method
setSelectedFile
(filePath: string | undefined)
app/lib/stores/workbench.ts:152
↓ 1 callers
Function
setSelectedView
(view: WorkbenchViewType)
app/components/workbench/Workbench.client.tsx:66
↓ 1 callers
Function
sortFileList
* Sorts the given list of nodes into a tree structure (still a flat list). * * This function organizes the nodes into a hierarchical structure based
app/components/workbench/FileTree.tsx:344
↓ 1 callers
Function
toggleCollapseState
(fullPath: string)
app/components/workbench/FileTree.tsx:99
↓ 1 callers
Method
updateArtifact
({ messageId }: ArtifactCallbackData, state: Partial<ArtifactUpdateState>)
app/lib/stores/workbench.ts:236
↓ 1 callers
Method
updateFile
(filePath: string, newContent: string)
app/lib/stores/editor.ts:77
↓ 1 callers
Method
updateScrollPosition
(filePath: string, position: ScrollPosition)
app/lib/stores/editor.ts:63
↓ 1 callers
Function
useChatHistory
()
app/lib/persistence/useChatHistory.ts:24
↓ 1 callers
Function
useMessageParser
()
app/lib/hooks/useMessageParser.ts:42
↓ 1 callers
Function
usePromptEnhancer
()
app/lib/hooks/usePromptEnhancer.ts:6
↓ 1 callers
Function
useShortcuts
()
app/lib/hooks/useShortcuts.ts:23
↓ 1 callers
Function
useSnapScroll
()
app/lib/hooks/useSnapScroll.ts:3
↓ 1 callers
Function
withResolvers
()
app/utils/promises.ts:1
Method
#processEventBuffer
(events: Array<[events: PathWatcherEvent[]]>)
app/lib/stores/files.ts:125
Function
App
()
app/root.tsx:81
Function
BinaryContent
()
app/components/editor/codemirror/BinaryContent.tsx:1
Function
Button
({ active = false, disabled = false, children, onClick }: ButtonProps)
app/components/header/HeaderActionButtons.client.tsx:53
Function
Chat
()
app/components/chat/Chat.client.tsx:23
Function
ChatDescription
()
app/lib/persistence/ChatDescription.client.tsx:4
Function
File
({ file: { depth, name }, onClick, selected, unsavedChanges = false }: FileProps)
app/components/workbench/FileTree.tsx:189
Function
Folder
({ folder: { depth, name }, collapsed, selected = false, onClick }: FolderProps)
app/components/workbench/FileTree.tsx:162
Function
Header
()
app/components/header/Header.tsx:8
Function
HeaderActionButtons
({}: HeaderActionButtonsProps)
app/components/header/HeaderActionButtons.client.tsx:8
Function
HistoryItem
({ item, onDelete }: HistoryItemProps)
app/components/sidebar/HistoryItem.tsx:10
Function
Index
()
app/routes/_index.tsx:13
Function
Layout
({ children }: { children: React.ReactNode })
app/root.tsx:65
Function
Menu
()
app/components/sidebar/Menu.client.tsx:36
Function
NodeButton
({ depth, iconClasses, onClick, className, children }: ButtonProps)
app/components/workbench/FileTree.tsx:222
Function
SendButton
({ show, isStreaming, onClick }: SendButtonProps)
app/components/chat/SendButton.client.tsx:11
Function
ShellCodeBlock
({ classsName, code }: ShellCodeBlockProps)
app/components/chat/Artifact.tsx:109
Function
UserMessage
({ content }: UserMessageProps)
app/components/chat/UserMessage.tsx:8
Function
abort
()
app/components/chat/Chat.client.tsx:115
Function
action
(args: ActionFunctionArgs)
app/routes/api.chat.ts:7
Function
action
(args: ActionFunctionArgs)
app/routes/api.enhancer.ts:9
Method
addAction
(data: ActionCallbackData)
app/lib/runtime/action-runner.ts:46
Function
addTerminal
()
app/components/workbench/EditorPanel.tsx:118
Method
attachTerminal
(terminal: ITerminal)
app/lib/stores/workbench.ts:81
Function
cancel
()
app/entry.server.tsx:60
Function
configureServer
(server: ViteDevServer)
vite.config.ts:36
Method
constructor
(webcontainerPromise: Promise<WebContainer>)
app/lib/stores/terminal.ts:13
Method
constructor
(webcontainerPromise: Promise<WebContainer>)
app/lib/stores/files.ts:54
Method
constructor
(webcontainerPromise: Promise<WebContainer>)
app/lib/stores/previews.ts:16
Method
constructor
(filesStore: FilesStore)
app/lib/stores/editor.ts:23
Method
constructor
()
app/lib/stores/workbench.ts:40
Method
constructor
(webcontainerPromise: Promise<WebContainer>)
app/lib/runtime/action-runner.ts:42
Method
constructor
(private _options: StreamingMessageParserOptions = {})
app/lib/runtime/message-parser.ts:57
Function
create
()
app/components/editor/codemirror/CodeMirrorEditor.tsx:104
Function
createArtifactElement
(props)
app/lib/runtime/message-parser.ts:272
Method
currentDocument
()
app/lib/stores/workbench.ts:57
Function
decrypt
(key: string, payload: string)
app/lib/crypto.ts:26
Function
dispatchTransactions
(transactions)
app/components/editor/codemirror/CodeMirrorEditor.tsx:165
Function
encrypt
(key: string, data: string)
app/lib/crypto.ts:5
Method
files
()
app/lib/stores/workbench.ts:53
Method
filesCount
()
app/lib/stores/files.ts:50
Method
filesCount
()
app/lib/stores/workbench.ts:69
Method
firstArtifact
()
app/lib/stores/workbench.ts:65
Function
handleClickOutside
(event: MouseEvent)
app/components/workbench/PortDropdown.tsx:32
Function
handleKeyDown
(event: KeyboardEvent)
app/lib/hooks/useShortcuts.ts:27
Function
handleOutsideClick
(event: MouseEvent)
app/components/workbench/FileBreadcrumb.tsx:51
Function
handleRequest
( request: Request, responseStatusCode: number, responseHeaders: Headers, remixContext: EntryContext,
app/entry.server.tsx:9
Function
indentMore
({ state, dispatch }: EditorView)
app/components/editor/codemirror/indent.ts:12
Function
limitedMarkdownPlugin
()
app/utils/markdown.ts:89
Function
links
()
app/root.tsx:16
Function
load
()
app/components/editor/codemirror/languages.ts:7
Function
loader
(args: LoaderFunctionArgs)
app/routes/chat.$id.tsx:4
Function
loader
()
app/routes/_index.tsx:11
Function
meta
()
app/routes/_index.tsx:7
Function
mouseEnter
()
app/components/sidebar/HistoryItem.tsx:17
Function
mouseLeave
()
app/components/sidebar/HistoryItem.tsx:25
Function
onError
(error: unknown)
app/entry.server.tsx:18
Function
onMouseMove
(event: MouseEvent)
app/components/sidebar/Menu.client.tsx:85
Method
onTerminalResize
(cols: number, rows: number)
app/lib/stores/workbench.ts:85
Method
previews
()
app/lib/stores/workbench.ts:49
Function
reloadPreview
()
app/components/workbench/Preview.tsx:68
Function
request
(url: string, init?: CommonRequest)
app/lib/fetch.ts:3
Method
runAction
(data: ActionCallbackData)
app/lib/runtime/action-runner.ts:75
Method
saveFile
(filePath: string, content: string)
app/lib/stores/files.ts:83
Method
selectedFile
()
app/lib/stores/workbench.ts:61
Method
setDocuments
(files: FileMap)
app/lib/stores/workbench.ts:89
Function
setLevel
(level: DebugLevel)
app/utils/logger.ts:39
Method
setShowWorkbench
(show: boolean)
app/lib/stores/workbench.ts:103
Method
showTerminal
()
app/lib/stores/workbench.ts:73
Function
start
(controller)
app/entry.server.tsx:25
Function
themeIsDark
()
app/lib/stores/theme.ts:7
Function
toggleActions
()
app/components/chat/Artifact.tsx:40
Method
toggleTerminal
(value?: boolean)
app/lib/stores/workbench.ts:77
Function
toggleTheme
()
app/lib/stores/theme.ts:26
Function
transform
(chunk, controller)
app/routes/api.enhancer.ts:36
Function
update
(_tooltips, transaction)
app/components/editor/codemirror/CodeMirrorEditor.tsx:83
Function
write
(data)
app/utils/shell.ts:25
← previous
101–200 of 200, ranked by callers