Parameter Hints

Function call line with a caret plus a signature popover underneath. The current parameter underlines in primary.

greet()
greet(name: string, locale: Locale): string
Greet the user with a localized message.

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Editor17 } from "@/components/beste/piece/editor17";

<Editor17
  fn="greet"
  params={[
    {
      "name": "name",
      "type": "string",
      "active": true
    },
    {
      "name": "locale",
      "type": "Locale"
    }
  ]}
  returnType="string"
  description="Greet the user with a localized message."
/>

More Editor pieces

View all Editor
const msg = greet("Beste");
function greet(name: string): string

Returns a localized greeting for the given name.

@/lib/greet.ts

Wavy-underlined symbol above a type-hover card showing signature, one-line description, and source path.

1const user = createUser(name: "Ayşe", role: "admin");
nameinlay parameter hints

Inlay Hints

editor29

Function call with muted parameter-name chips inlaid before each argument.

Go to line142
of 386

Goto Line

editor36

Compact jump-to-line input with a typed value, a blinking caret, and the total line count.

user.
  • idstring
  • namestring
  • emailstring
  • isAdminboolean
  • save(): Promise<void>

Autocomplete popup with a blinking caret up top and a dropdown listing kind-colored tiles, names, and type signatures.

function greet(name: string)

Code Lens

editor22

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

AI Suggestion
const greet = (name: string) => `Hello, ${name}!`;

AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.