MCPcopy Create free account

hub / github.com/BeforeCutieAfterDoggo/spaghettify / functions

Functions27 in github.com/BeforeCutieAfterDoggo/spaghettify

↓ 6 callersMethodshowErrorMessage
(message: string)
src/Editor.ts:55
↓ 6 callersFunctionspaghettiCommand
( editor: IEditor, openAiApi: OpenAIWrapper, prompt: (input: string) => string )
src/commands.ts:17
↓ 2 callersFunctioncheckForApiKey
(editor: IEditor)
src/commands.ts:6
↓ 2 callersMethodgetFileLanguage
()
src/Editor.ts:113
↓ 2 callersMethodgetHighlightedText
()
src/Editor.ts:71
↓ 2 callersMethodgetSecret
(key: string)
src/Editor.ts:100
↓ 2 callersMethodgetUserInput
( prompt: string, placeHolder: string, errorText: string, password: boolean = false )
src/Editor.ts:35
↓ 2 callersMethodmakeRequestWithLoadingIndicator
( text: string, editor: IEditor )
src/OpenAIWrapper.ts:14
↓ 2 callersMethodreplaceSelection
(text: string, selectionCache?: vscode.Selection)
src/Editor.ts:88
↓ 1 callersFunctionfancyDocstring
( editor: IEditor, openAiApi: OpenAIWrapper )
src/commands.ts:42
↓ 1 callersFunctionfancyDocstringPrompt
(input: string, style: string)
src/prompts.ts:73
↓ 1 callersMethodmakeRequest
( text: string, editor: IEditor )
src/OpenAIWrapper.ts:34
↓ 1 callersMethodsetSecret
(key: string, value: string)
src/Editor.ts:104
↓ 1 callersFunctionsetup
(editor: IEditor)
src/commands.ts:93
↓ 1 callersFunctionvalidateInput
(value: string | undefined)
src/commands.ts:83
Functionactivate
(context: vscode.ExtensionContext)
src/index.ts:14
FunctionaddSillyCommentsPrompt
(input: string)
src/prompts.ts:25
Methodconstructor
(context: vscode.ExtensionContext)
src/Editor.ts:25
Functiondeactivate
()
src/index.ts:59
FunctiondocumentWithEmojiPrompt
(input: string)
src/prompts.ts:37
MethodgetConfigValue
(key: string)
src/Editor.ts:109
MethodgetCurrentFileExtension
()
src/Editor.ts:59
FunctionintroduceBugPrompt
(input: string)
src/prompts.ts:1
FunctionobscureCodePrompt
(input: string)
src/prompts.ts:13
FunctionoverlyDescriptiveNamesPrompt
(input: string)
src/prompts.ts:49
FunctionrandomWhitespacePrompt
(input: string)
src/prompts.ts:61
MethodwriteToConsole
(text: string)
src/Editor.ts:30