Code Lens

function greet(name: string)
About this piece

Code Lens

Action row above a function signature showing references, implementations, and inline commands.

Usage

The import and the props worth knowing about, in one place.

import { Editor22 } from "@/components/beste/piece/editor22";

<Editor22
  items={[
    {
      "label": "references",
      "value": 8
    },
    {
      "label": "implementations",
      "value": 2
    },
    {
      "label": "run test"
    }
  ]}
  signature="function greet(name: string)"
  bordered={false}
/>

More Editor pieces

View all Editor
const name = user.prfile.name;Property 'prfile' does not exist on type 'User'.
Keybindings
  • Command palette
    ⌘+K
  • Quick open
    ⌘+P
  • Toggle terminal
    ⌃+`
  • Format document
    ⌥+⇧+F
Dashboardrender()if (isReady)
    // hidden lines…
    const ready = useReady();
    if (!ready) return null;

Launch Checklist

Ship with confidence by running through the five-point review.

  • Verify preview URL
  • Run smoke suite
  • Tag the release
Zen Modemanifesto.md
greet()
greet(name: string, locale: Locale): string