MCPcopy Create free account

hub / github.com/carloslfu/cursor-old / functions

Functions1,103 in github.com/carloslfu/cursor-old

↓ 71 callersMethodon
(type: string, f: Function)
src/components/codemirror-vim/cm_adapter.ts:322
↓ 51 callersMethodgetCursor
(p?: 'head' | 'anchor' | 'start' | 'end')
src/components/codemirror-vim/cm_adapter.ts:375
↓ 44 callersMethodgetLine
(row: number)
src/components/codemirror-vim/cm_adapter.ts:428
↓ 40 callersMethodfind
()
src/components/codemirror-vim/cm_adapter.ts:1249
↓ 29 callersMethodsetCursor
(line: Pos | number, ch: number)
src/components/codemirror-vim/cm_adapter.ts:363
↓ 26 callersFunctionshowConfirm
(cm, template)
src/components/codemirror-vim/vim.js:6018
↓ 25 callersFunctioncopyCursor
(cur)
src/components/codemirror-vim/vim.js:4400
↓ 22 callersFunctioncursorIsBefore
(cur1, cur2)
src/components/codemirror-vim/vim.js:4406
↓ 21 callersMethodfirstLine
()
src/components/codemirror-vim/cm_adapter.ts:354
↓ 21 callersFunctiongetPathForFileId
( state: State, fileid: number, includeRoot = true )
src/features/window/fileUtils.ts:143
↓ 21 callersMethodlastLine
()
src/components/codemirror-vim/cm_adapter.ts:357
↓ 20 callersMethodrequest
( method: K, params: LSPRequestMap[K][0] )
src/features/lsp/stdioClient.ts:526
↓ 20 callersMethodthen
(func: any)
src/features/lsp/lspPlugin.ts:350
↓ 18 callersMethodfocus
()
src/components/codemirror-vim/cm_adapter.ts:507
↓ 18 callersFunctionoffsetCursor
(cur, offsetLine, offsetCh)
src/components/codemirror-vim/vim.js:4320
↓ 18 callersMethodsignal
(type: string, e: any, handlers?: any)
src/components/codemirror-vim/cm_adapter.ts:328
↓ 17 callersFunctionlineLength
(cm, lineNum)
src/components/codemirror-vim/vim.js:4439
↓ 17 callersMethodrunCommandPromise
(command: string)
src/main/fileSystem.ts:111
↓ 16 callersFunctionclearInputState
(cm, reason)
src/components/codemirror-vim/vim.js:1900
↓ 16 callersMethodreplaceRange
(text: string, s: Pos, e: Pos)
src/components/codemirror-vim/cm_adapter.ts:446
↓ 15 callersFunctionclipCursorToContent
* Clips cursor to ensure that line is within the buffer's range * and is not inside surrogate pair * If includeLineBreak is true, then allow
src/components/codemirror-vim/vim.js:4292
↓ 15 callersFunctionindexFromPos
(doc: Text, pos: Pos)
src/components/codemirror-vim/cm_adapter.ts:34
↓ 15 callersFunctionisMatch
(exts: string[])
src/components/filetree.tsx:134
↓ 14 callersMethodcreate
(activeIndentIndex?: number)
src/features/extensions/indentLines.ts:169
↓ 14 callersFunctionfindFileIdFromPath
(state: State, path: string)
src/features/window/fileUtils.ts:229
↓ 14 callersMethodsetOption
(name: string, val: any)
src/components/codemirror-vim/cm_adapter.ts:896
↓ 13 callersMethodcharCoords
(pos: Pos, mode: 'div' | 'local')
src/components/codemirror-vim/cm_adapter.ts:725
↓ 13 callersFunctionisWhiteSpaceString
(k)
src/components/codemirror-vim/vim.js:1167
↓ 13 callersMethodscrollIntoView
(pos?: Pos, margin?: number)
src/components/codemirror-vim/cm_adapter.ts:762
↓ 12 callersFunctioncursorEqual
(cur1, cur2)
src/components/codemirror-vim/vim.js:4403
↓ 12 callersFunctioncursorMin
(cur1, cur2)
src/components/codemirror-vim/vim.js:4415
↓ 12 callersFunctiongetActiveTabId
(state: State)
src/features/window/paneUtils.ts:105
↓ 12 callersFunctiongetConnections
()
src/features/lsp/languageServerSlice.ts:225
↓ 12 callersFunctionposFromIndex
(doc: Text, offset: number)
src/components/codemirror-vim/cm_adapter.ts:48
↓ 11 callersMethodexec
(command: string, cwd: string)
src/main/fileSystem.ts:316
↓ 11 callersFunctiongetContentsIfNeeded
(state: State, fileid: number)
src/features/window/fileUtils.ts:373
↓ 11 callersFunctiongetLastBotMessage
( state: ChatState, conversationId: string | null = null )
src/features/chat/chatSlice.ts:55
↓ 11 callersFunctiongetPathForFolderId
( state: State, folderid: number, includeRoot = true )
src/features/window/fileUtils.ts:122
↓ 11 callersFunctionsetActiveTab
(state: State, tabid: number)
src/features/window/paneUtils.ts:53
↓ 10 callersFunctioncheckSend
()
src/features/chat/chatThunks.ts:365
↓ 10 callersFunctionclose
()
src/components/codemirror-vim/cm_adapter.ts:1013
↓ 10 callersFunctioncloseError
(state: State)
src/features/globalSlice.ts:1395
↓ 10 callersFunctionfindFirstNonWhiteSpaceCharacter
(text)
src/components/codemirror-vim/vim.js:4776
↓ 10 callersMethodgetOption
(name: string)
src/components/codemirror-vim/cm_adapter.ts:907
↓ 10 callersFunctiongetSearchState
(cm)
src/components/codemirror-vim/vim.js:5790
↓ 10 callersFunctionnextChar
(curr)
src/components/codemirror-vim/vim.js:5328
↓ 9 callersMethodclear
()
src/components/codemirror-vim/cm_adapter.ts:1246
↓ 9 callersFunctionexitVisualMode
* If moveHead is set to false, the CodeMirror selection will not be * touched. The caller assumes the responsibility of putting the cursor *
src/components/codemirror-vim/vim.js:4720
↓ 9 callersFunctiongetCodeMirrorView
(editorId: number)
src/features/codemirror/codemirrorSlice.ts:58
↓ 9 callersFunctiongetFilePath
(fid: number, includeRoot = true)
src/features/selectors.ts:486
↓ 9 callersMethodindexFromPos
(pos: Pos)
src/components/codemirror-vim/cm_adapter.ts:332
↓ 9 callersMethodlistSelections
()
src/components/codemirror-vim/cm_adapter.ts:392
↓ 9 callersMethodscrollTo
(x?: number, y?: number)
src/components/codemirror-vim/cm_adapter.ts:758
↓ 9 callersFunctionupdateMark
(cm, vim, markName, pos)
src/components/codemirror-vim/vim.js:5210
↓ 8 callersFunctioncopilotChangeSignin
( state: LanguageServerState, action: PayloadAction<boolean> )
src/features/lsp/languageServerSlice.ts:329
↓ 8 callersFunctiondom
* dom - Document Object Manipulator * Usage: * dom('<tag>'|<node>[, ...{<attributes>|<$styles>}|<child-node>|'<text>']) * Examples:
src/components/codemirror-vim/vim.js:6002
↓ 8 callersMethodexistsSync
(path: string)
src/main/fileSystem.ts:177
↓ 8 callersFunctionfindFolderIdFromPath
(state: State, path: string)
src/features/window/fileUtils.ts:183
↓ 8 callersMethodgetDocPath
(view = this.view)
src/features/lsp/lspPlugin.ts:198
↓ 8 callersFunctiongetTab
(tid: number)
src/features/selectors.ts:127
↓ 8 callersFunctioninterruptGeneration
( chatState: ChatState, action: PayloadAction<string | null> )
src/features/chat/chatSlice.ts:261
↓ 8 callersFunctionopenError
( state: State, action: PayloadAction<{ error?: ExpectedError }> )
src/features/globalSlice.ts:1399
↓ 8 callersMethodoperation
(fn: Function)
src/components/codemirror-vim/cm_adapter.ts:860
↓ 8 callersMethodreplaceSelections
(replacements: string[])
src/components/codemirror-vim/cm_adapter.ts:456
↓ 8 callersFunctionuntriggerAll
(state: ToolState)
src/features/tools/toolSlice.ts:13
↓ 8 callersMethodupdate
(update: ViewUpdate)
src/features/extensions/minimap.ts:121
↓ 7 callersFunctioncursorMax
(cur1, cur2)
src/components/codemirror-vim/vim.js:4424
↓ 7 callersMethodexecCommand
(name: string)
src/components/codemirror-vim/cm_adapter.ts:547
↓ 7 callersFunctiongetActivePaneID
(state: State)
src/features/window/paneUtils.ts:89
↓ 7 callersFunctiongetDiagnostics
( value: LintState, state: EditorState )
src/features/linter/lint.ts:174
↓ 7 callersFunctiongetLanguageFromFilename
(filename: string)
src/features/extensions/utils.ts:145
↓ 7 callersFunctiongetNextToken
()
src/features/chat/chatThunks.ts:427
↓ 7 callersMethodgetRange
(s: Pos, e: Pos)
src/components/codemirror-vim/cm_adapter.ts:439
↓ 7 callersMethodgetScrollInfo
()
src/components/codemirror-vim/cm_adapter.ts:747
↓ 7 callersMethodgetSelection
()
src/components/codemirror-vim/cm_adapter.ts:463
↓ 7 callersFunctiongetViewId
(tabId: number | null)
src/features/codemirror/codemirrorSelectors.ts:11
↓ 7 callersMethodhandleKey
(e: KeyboardEvent, view: EditorView)
src/components/codemirror-vim/index.ts:294
↓ 7 callersFunctionisEmpty
(i)
src/components/codemirror-vim/vim.js:5248
↓ 7 callersMethodmkdirSync
(path: string, options?: fs.MakeDirectoryOptions)
src/main/fileSystem.ts:160
↓ 7 callersMethodposFromIndex
(offset: number)
src/components/codemirror-vim/cm_adapter.ts:335
↓ 7 callersFunctionposToOffset
( doc: Text, pos: { line: number; character: number } )
src/features/lsp/lspPlugin.ts:1127
↓ 7 callersMethodto
()
src/components/codemirror-vim/cm_adapter.ts:803
↓ 6 callersFunctionconvertRange
(doc: Text, cm6Range: { from: number; to: number })
src/components/codemirror-vim/cm_adapter.ts:1209
↓ 6 callersFunctionfindDiagnostic
( diagnostics: DecorationSet, diagnostic: Diagnostic | null = null, after = 0 )
src/features/linter/lint.ts:251
↓ 6 callersFunctiongetCurrentTab
(paneId: number)
src/features/selectors.ts:44
↓ 6 callersFunctiongetFullState
()
src/features/chat/chatThunks.ts:350
↓ 6 callersFunctiongetIconElement
(fname: string)
src/components/filetree.tsx:133
↓ 6 callersFunctiongetOption
(name, cm, cfg)
src/components/codemirror-vim/vim.js:1237
↓ 6 callersFunctionisEndOfSentenceSymbol
(k)
src/components/codemirror-vim/vim.js:1170
↓ 6 callersMethodisInBadDir
(itemPath: string)
src/main/indexer.ts:140
↓ 6 callersFunctionnextId
(byIds: object)
src/features/window/state.ts:477
↓ 6 callersFunctionsetGenerating
(chatState: ChatState, action: PayloadAction<boolean>)
src/features/chat/chatSlice.ts:317
↓ 6 callersFunctionstreamSource
(response: Response)
src/utils.ts:109
↓ 6 callersFunctionupdateCmSelection
* Updates the CodeMirror selection to match the provided vim selection. * If no arguments are given, it uses the current vim selection state.
src/components/codemirror-vim/vim.js:4642
↓ 6 callersFunctionupdateSelectionForSurrogateCharacters
(cm, curStart, curEnd)
src/components/codemirror-vim/vim.js:59
↓ 6 callersMethodupdateStatus
()
src/components/codemirror-vim/index.ts:234
↓ 5 callersFunctionappendResponse
( chatState: ChatState, action: PayloadAction<{ text: string; token: string }>
src/features/chat/chatSlice.ts:142
↓ 5 callersFunctioncreateCachedTabIfNotExists
(state: State, tabId: number)
src/features/window/paneUtils.ts:21
↓ 5 callersFunctioncustomDebounce
(func: any, wait = 0)
src/main/search.ts:79
↓ 5 callersFunctiondispatchChange
(cm: CodeMirror, transaction: any)
src/components/codemirror-vim/cm_adapter.ts:140
next →1–100 of 1,103, ranked by callers