Parameter Hints

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

Parameter Hints

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

Usage

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

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

Hover Popover

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

Go to line142
of 386

Goto Line

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

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

Inlay Hints

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

function greet(name: string)

Code Lens

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

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

IntelliSense

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

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

Inline Suggestion

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