xPro-Snippets
Typescript, Vue, Nuxt, React, Next, Angular, Nest, Express, Java, Spring, SpringBoot snippets (all in one power pack)
Also covers Vue3, Nuxt3
java snippets
Syntax |
Description |
con,log |
Log: System.out.println |
java-main |
Java Class with main method |
java-class-default-constructor |
Java Class with empty constructor |
java-abstract-class |
Java Abstract Class |
java-interface |
Java Interface |
java-enum |
Java Enum |
java-input |
Java Command line input |
java-arrayList |
Java ArrayList |
java-linkedList |
Java LinkedList |
java-hashMap |
Java HashMap |
java-hashSet |
Java HashSet |
java-iterator |
Java Iterator |
java-try-catch |
Java Try Catch |
java-thread |
Java Thread |
java-for-loop |
Java For Loop |
js snippets
Syntax |
Description |
con,log |
Log |
sb-vue2 |
Vue2 Storybook Template |
sb-vue3 |
Vue3 Storybook Template |
nest snippets
Syntax |
Description |
nest-service |
Nest Service |
nest-service-logger |
Nest Service with Logger |
nest-logger |
Nest Logger |
nest-crud-controller |
Nest CRUD controller |
next snippets
Syntax |
Description |
next-document |
Next _document page |
next-getServerSideProps |
Next getServerSideProps |
next-getStaticProps |
Next getStaticProps |
next-dynamic |
Next Dynamic Import |
next-dynamic |
Next Dynamic Import (with loading) |
next-getStaticPaths |
Next getStaticPaths |
next-getSession |
Next getSession Next-Auth |
next-useSession |
Next useSession hook Next-Auth |
next-useRouter |
Next useRouter hook |
next-protect |
Next Protected Route Next-Auth |
next-link-anchor |
Next Link (with anchor) |
next-link |
Next Link |
next-image |
Next Image |
next-api |
Next API endpoint |
next-api-connect |
Next API endpoint for next-connect |
next-auth |
Next Auth |
nuxt snippets
Syntax |
Description |
nuxt |
nuxt tag |
nuxt-child |
nuxt child |
nuxt-link |
nuxt link |
nuxt-prefetch |
nuxt preFetch |
nuxt-no-prefetch |
nuxt no-preFetch |
nuxt-ClientOnly |
nuxt ClientOnly |
nuxt-head |
nuxt head |
react snippets
Syntax |
Description |
react-fc |
React Function Component |
react-fcf |
React Function Component (with return) |
react-rc |
React 18 Function Component |
react-rcf |
React 18 Function Component (with return) |
react-class |
React Class Component |
react-class-pure |
React Class Pure Component |
react-class-with-constructor |
React Class Component (with constructor) |
react-useState |
React useState hook |
react-useEffect |
React useEffect hook |
react-render |
React render function |
sb-react-ts |
React Storybook TS |
spring snippets
Syntax |
Description |
spring-main |
Spring main application |
spring-web-controller |
Spring web controller |
spring-rest-controller |
Spring rest controller |
ts snippets
Syntax |
Description |
con,log |
Log |
ts-type |
Create Type |
ts-interface |
Create Interface |
ts-class |
Create Class |
ts-enum |
Create Enum |
ts-templateString |
Create Template String |
ts-arrow |
Create Arrow Function |
ts-switch |
Create Switch |
vue snippets
Syntax |
Description |
vue-template |
Create Vue Template |
vue-ts-template |
Create TS Template |
vue-ts-setup-template |
Create TS Setup Template |
vue-defineProps |
Create TS Props |
vue-defineProps-with-defaults |
Vue defineProps with defaults |
vue-defineProps-interface |
Vue defineProps with defaults |
vue-ref |
Create Vue Ref |
vue-props |
Create Props |
vue-store-vue2 |
Create Vuex Store for vue2 |
vue-data-function |
Create Data Function |
vue-methods |
Create Methods |
vue-import |
import vue |
vue-reactive |
Create Reactive Object |
vue-readonly |
Create Readonly Object |
vue-Setup |
Create Setup |
vue-on-beforeMount |
Create onBeforeMount |
vue-on-beforeUnmount |
Create onBeforeUnMount |
vue-on-mounted |
Create onMounted |
vue-on-unmounted |
Create onUnMounted |
vue-on-beforeUpdate |
Create onBeforeUpdate |
vue-on-updated |
Create onUpdated |
vue-on-activated |
Create onActivated |
vue-on-deactivated |
Create onDeactivated |
vue-on-errorCaptured |
Create onErrorCaptured |
vue-on-renderTracked |
Create onRenderTracked |
vue-on-renderTriggered |
Create onRenderTriggered |
vue-ComponentIs |
Create ComponentIs |
| |