MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleEditorClick

Function handleEditorClick

web/src/components/ui/install-dialog.tsx:38–46  ·  view source on GitHub ↗
(editorName: string, href: string)

Source from the content-addressed store, hash-verified

36 ]
37
38 const handleEditorClick = (editorName: string, href: string) => {
39 window.open(
40 href +
41 encodeURIComponent(
42 typeof window !== 'undefined' ? window.location.pathname : '',
43 ),
44 '_blank',
45 )
46 }
47
48 const handleCdCommandCopy = () => {
49 navigator.clipboard.writeText('cd /path/to/your-repo')

Callers 1

InstallDialogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected