MCPcopy Create free account

hub / github.com/codespin-ai/codespin-chrome-extension / functions

Functions135 in github.com/codespin-ai/codespin-chrome-extension

↓ 10 callersMethodclear
()
src/components/FileContentViewer.tsx:136
↓ 7 callersMethodrender
()
src/components/FileTree.tsx:274
↓ 5 callersFunctiongetDirectoryHandle
()
src/api/fs/getDirectoryHandle.ts:32
↓ 4 callersMethodfetchFiles
()
src/components/FileTree.tsx:29
↓ 4 callersFunctiongetFileContent
( path: string )
src/api/fs/files.ts:26
↓ 4 callersMethodnotifySelectionChange
(prevSelection?: Set<string>)
src/components/FileTree.tsx:177
↓ 4 callersMethodrender
()
src/components/FileWriter.tsx:123
↓ 4 callersMethodrender
()
src/components/FileEdits.tsx:162
↓ 4 callersMethodsetContent
(content: string, filename: string)
src/components/FileEdits.tsx:134
↓ 3 callersMethod#updateContent
()
src/components/FileWriter.tsx:85
↓ 3 callersMethodgetSelectedFiles
()
src/components/FileTree.tsx:64
↓ 3 callersMethodhandleCancel
()
src/components/FileImporter.tsx:217
↓ 3 callersMethodloadSelectedFile
(filepath: string, viewer: FileContentViewer)
src/components/FileImporter.tsx:189
↓ 3 callersMethodrender
()
src/components/ChangeTree.tsx:232
↓ 3 callersMethodrender
()
src/components/FileContentViewer.tsx:151
↓ 3 callersMethodrender
()
src/components/FileImporter.tsx:227
↓ 3 callersMethodsetFiles
(files: FileChange[], initialSelectedFile: string)
src/components/FileWriter.tsx:77
↓ 3 callersFunctionverifyDirectoryHandle
( handle: FileSystemDirectoryHandle )
src/api/fs/getDirectoryHandle.ts:12
↓ 2 callersMethod#handleViewModeChange
(mode: ViewMode)
src/components/FileEdits.tsx:157
↓ 2 callersFunctionattachInboundButton
()
src/chatGPT/index.tsx:52
↓ 2 callersFunctionattachInboundButton
()
src/claude/index.tsx:43
↓ 2 callersFunctionattachSyncButton
* Attaches CodeSpin links to all <pre> elements on the page. * This function should be called periodically to handle dynamically added code blocks.
src/chatGPT/index.tsx:40
↓ 2 callersFunctionattachSyncButton
()
src/claude/index.tsx:32
↓ 2 callersFunctioncreateFilesSection
(filesContent: string)
src/api/prompt.ts:16
↓ 2 callersFunctionfromFileSelection
(selectedFiles: string[])
src/api/prompt.ts:42
↓ 2 callersMethodgetExpandedNodes
()
src/components/FileTree.tsx:68
↓ 2 callersFunctiongetRootDirectoryName
()
src/api/fs/getDirectoryHandle.ts:8
↓ 2 callersFunctioninsertHTML
(element: Element, text: string)
src/api/contentEditable.ts:35
↓ 2 callersFunctiononAppLoad
()
src/main.ts:30
↓ 2 callersMethodrestoreState
(selectedFiles: string[], expandedNodes: string[])
src/components/FileTree.tsx:72
↓ 2 callersMethodsetSelectedFiles
(files: string[], currentFile?: string)
src/components/FileContentViewer.tsx:126
↓ 2 callersMethodshow
()
src/components/FileImporter.tsx:40
↓ 2 callersMethodtoggleDirExpansion
(path: string)
src/components/FileTree.tsx:116
↓ 2 callersMethodtoggleSelection
(path: string)
src/components/FileTree.tsx:149
↓ 2 callersFunctiontrimWhitespace
(input: string)
src/api/templating.ts:1
↓ 1 callersMethod#buildFileTree
(files: { path: string; content: string }[])
src/components/ChangeTree.tsx:48
↓ 1 callersMethod#buildFileTreeMap
( node: FileSystemNode, path: string, isRoot: boolean = false )
src/components/FileImporter.tsx:110
↓ 1 callersMethod#collectDirectoryPaths
(node: FileNode, currentPath: string = "")
src/components/ChangeTree.tsx:33
↓ 1 callersMethod#getAllFilesInDirectory
(dirPath: string)
src/components/FileImporter.tsx:124
↓ 1 callersMethod#loadOriginalContent
(filename: string)
src/components/FileEdits.tsx:33
↓ 1 callersMethod#normalizePath
(path: string)
src/components/ChangeTree.tsx:28
↓ 1 callersMethod#setupDragListeners
()
src/components/FileWriter.tsx:61
↓ 1 callersMethod#setupDragListeners
()
src/components/FileImporter.tsx:96
↓ 1 callersMethod#updateDiffView
()
src/components/FileEdits.tsx:52
↓ 1 callersFunctionaddSyncButtonToDOM
* Attaches a sync button (<codespin-chatgpt-sync-button>) to a specific <pre> element. * @param preElement The <pre> element to which the sync button
src/chatGPT/index.tsx:17
↓ 1 callersFunctionaddSyncButtonToDOM
(preElement: HTMLElement)
src/claude/index.tsx:13
↓ 1 callersFunctionclearFileSystemCache
()
src/api/fs/getDirectoryHandle.ts:78
↓ 1 callersMethodcollectSyncButtonFiles
()
src/chatGPT/components/ChatGPTSyncButton.tsx:73
↓ 1 callersMethodcollectSyncButtonFiles
()
src/claude/components/ClaudeSyncButton.tsx:73
↓ 1 callersMethodcreateChildHandler
( dirHandle: FileSystemDirectoryHandle, path: string )
src/api/fs/GitIgnoreHandler.ts:29
↓ 1 callersMethoddetectLanguage
(filename: string)
src/components/FileContentViewer.tsx:20
↓ 1 callersMethoddetectLanguage
(filename: string)
src/components/FileEdits.tsx:104
↓ 1 callersFunctionexception
(message: string)
src/exception.ts:1
↓ 1 callersMethodgetClickedFilePath
()
src/chatGPT/components/ChatGPTSyncButton.tsx:56
↓ 1 callersMethodgetClickedFilePath
()
src/claude/components/ClaudeSyncButton.tsx:56
↓ 1 callersFunctiongetDefaultConvention
()
src/api/prompt.ts:5
↓ 1 callersFunctiongetDirContents
( handle: FileSystemHandle, gitIgnoreHandler: GitIgnoreHandler | null, path = "" )
src/api/fs/getDirContents.ts:4
↓ 1 callersFunctiongetDomain
()
src/main.ts:4
↓ 1 callersFunctiongetFiles
( processGitIgnore: boolean )
src/api/fs/files.ts:10
↓ 1 callersMethodhandleCancel
()
src/components/FileWriter.tsx:104
↓ 1 callersMethodhandleCaretClick
(e: MouseEvent, path: string)
src/components/FileTree.tsx:125
↓ 1 callersMethodhandleDirClick
(e: MouseEvent, path: string)
src/components/ChangeTree.tsx:149
↓ 1 callersMethodhandleDirNameClick
(e: MouseEvent, path: string, _: FileSystemNode)
src/components/FileTree.tsx:135
↓ 1 callersMethodhandleDisconnect
()
src/components/FileImporter.tsx:203
↓ 1 callersMethodhandleFileChange
(e: Event)
src/components/FileContentViewer.tsx:143
↓ 1 callersMethodhandleFileSelect
(e: CustomEvent)
src/components/FileImporter.tsx:140
↓ 1 callersMethodhandleFileSelect
(e: MouseEvent, path: string)
src/components/FileTree.tsx:160
↓ 1 callersMethodhandleFileSelection
(selectedFiles: string[])
src/chatGPT/components/ChatGPTInboundButton.tsx:48
↓ 1 callersMethodhandleFileSelection
(selectedFiles: string[])
src/claude/components/ClaudeInboundButton.tsx:49
↓ 1 callersMethodhandleSelect
(e: CustomEvent<string[]>)
src/components/FileWriter.tsx:94
↓ 1 callersMethodhandleSelect
(e: MouseEvent, node: FileNode)
src/components/ChangeTree.tsx:159
↓ 1 callersMethodhandleSelect
()
src/components/FileImporter.tsx:221
↓ 1 callersMethodhandleWrite
()
src/components/FileWriter.tsx:108
↓ 1 callersMethodinitializeDialog
()
src/chatGPT/components/ChatGPTSyncButton.tsx:39
↓ 1 callersMethodinitializeDialog
()
src/chatGPT/components/ChatGPTInboundButton.tsx:30
↓ 1 callersMethodinitializeDialog
()
src/claude/components/ClaudeSyncButton.tsx:39
↓ 1 callersMethodinitializeDialog
()
src/claude/components/ClaudeInboundButton.tsx:31
↓ 1 callersFunctionisFileSystemApiSupported
()
src/api/fs/getDirectoryHandle.ts:4
↓ 1 callersMethodparseIgnoreRules
(content: string, source: string)
src/api/fs/GitIgnoreHandler.ts:52
↓ 1 callersMethodpatternToRegex
(pattern: string, source: string)
src/api/fs/GitIgnoreHandler.ts:65
↓ 1 callersMethodrender
()
src/components/icons/SyncIcon.tsx:10
↓ 1 callersMethodrender
()
src/components/icons/CodeSpinIcon.tsx:10
↓ 1 callersMethodrender
()
src/chatGPT/components/ChatGPTSyncButton.tsx:100
↓ 1 callersMethodrender
()
src/chatGPT/components/ChatGPTInboundButton.tsx:62
↓ 1 callersMethodrender
()
src/claude/components/ClaudeSyncButton.tsx:100
↓ 1 callersMethodrender
()
src/claude/components/ClaudeInboundButton.tsx:63
↓ 1 callersMethodrenderNode
(node: FileNode, path: string, isRoot: boolean = false)
src/components/ChangeTree.tsx:196
↓ 1 callersMethodrenderNode
(node: FileSystemNode, path: string, isRoot: boolean = false)
src/components/FileTree.tsx:208
↓ 1 callersMethodshouldIgnorePath
(path: string)
src/api/fs/GitIgnoreHandler.ts:113
↓ 1 callersMethodsortContents
(contents: FileSystemNode[])
src/components/FileTree.tsx:198
↓ 1 callersFunctionstart
()
src/main.ts:1
↓ 1 callersFunctionwriteFileContent
( path: string, content: string )
src/api/fs/files.ts:90
MethodconnectedCallback
()
src/components/FileWriter.tsx:29
MethodconnectedCallback
()
src/components/FileImporter.tsx:30
MethodconnectedCallback
()
src/components/FileTree.tsx:24
MethodconnectedCallback
()
src/chatGPT/components/ChatGPTSyncButton.tsx:22
MethodconnectedCallback
()
src/chatGPT/components/ChatGPTInboundButton.tsx:18
MethodconnectedCallback
()
src/claude/components/ClaudeSyncButton.tsx:22
MethodconnectedCallback
()
src/claude/components/ClaudeInboundButton.tsx:19
Methodconstructor
()
src/components/FileWriter.tsx:23
next →1–100 of 135, ranked by callers