Autocomplete for Next.js <Link> href attributes based on your project routes.
- Autocompletes
<Link href="">and<Link href={}>in Next.js projects. - Supports both
app/andsrc/app/directories. - Handles dynamic routes like
/blog/[id]. - Works with:
href="/"href={""}href={/}- Partial typing inside quotes or braces.
- Clone the repository.
- Open the project in VS Code.
- Press
F5to launch the extension in a new Extension Host window. - Open a
.tsxor.jsxfile and start typing<Link href="or<Link href={.
import Link from "next/link"
export default function Example() {
return (
<div>
<Link href="/">Home</Link>
<Link href="/about">About</Link>
<Link href={`/blog/[id]`}>Blog</Link>
</div>
)
}