Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 2.53 KB

File metadata and controls

88 lines (57 loc) · 2.53 KB

Changelog

All notable changes to the "React Next.js Smart Snippets" VS Code extension will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to semantic versioning.

Unreleased

Added Initial preparation for future updates.

Changed

No changes yet.

Fixed

No fixes yet.

1.0.0 - 2025-08-21

Added

  • Initial release of the React/Next.js Snippets extension.
  • Support for dynamic naming of components, contexts, and hooks based on file paths (e.g., app/user-context.tsx becomes UserContext).
  • Comprehensive snippet library including:
    • Immediately Invoked Functions (iif, iif-async, iif-ar, iif-ar-async).
    • React Functional Components (rfc, rfc-ts, rfc-de, rfc-ts-de).
    • Hooks (us, uef, ucb, ulef, ume, ure, uref).
    • Context Providers (ccp-js, ccp-ts, fcp-js, fcp-ts).
    • Next.js Directives (uclient, userver).
  • Workspace IntelliSense for automatic naming and modern syntax consistency.
  • Quick Pick feature (Ctrl+Shift+L on Windows, Cmd+Shift+L on Mac) to access all snippets.
  • Automatic import organization on snippet insertion using editor.action.organizeImports.
  • Logic to move "use client" and "use server" directives to the top of the file on save.

Changed

  • Initial implementation of snippet replacement logic to handle dynamic naming in extension.ts.

1.0.1 - 2025-08-21

Fixed

  • Snippets source directory
  • More Categories for better look up

1.0.2 - 2025-08-23

Fixed

  • Better comments on them provider context
  • Provide arrow function options for theme providers

1.0.3 - 2025-08-23

Fixed

  • Better workspace IntelliSense quality for next and react components

1.0.4 - 2025-08-23

Fixed

  • Fix Casing on page naming

1.0.5 - 2025-11-7

Added

  • New Extension Icon
  • Custom utility functions
    • To camel case utility function (tcc, tcc-ts, tcc-ar, tcc-ts-ar)
    • To uppercase utility function (tuc, tuc-ts, tuc-ar, tuc-ts-ar)
    • To sentence case utility function (tsc, tsc-ts, tsc-ar, tsc-ts-ar)
    • To pascal case utility function (tpc, tpc-ts, tpc-ar, tpc-ts-ar)
    • Capitalize each word utility function (cew, cew-ts, cew-ar, cew-ts-ar)
    • Slugify text utility function (tst, tst-ts, tst-ar, tst-ts-ar)
    • Truncate text utility function (ttt, ttt-ts, ttt-ar, ttt-ts-ar)
    • Get unique array utility function (una, una-ts, una-ar, una-ts-ar)

1.0.6 - 2025-11-14

Fixed

  • Added support for older vscode versions (1.6.0) to support cursor IDE