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.
Added Initial preparation for future updates.
No changes yet.
No fixes yet.
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).
- Immediately Invoked Functions (
- Workspace IntelliSense for automatic naming and modern syntax consistency.
- Quick Pick feature (
Ctrl+Shift+Lon Windows,Cmd+Shift+Lon 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.
- Initial implementation of snippet replacement logic to handle dynamic naming in
extension.ts.
- Snippets source directory
- More Categories for better look up
- Better comments on them provider context
- Provide arrow function options for theme providers
- Better workspace IntelliSense quality for next and react components
- Fix Casing on page naming
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)
- To camel case utility function (
- Added support for older vscode versions (1.6.0) to support cursor IDE