Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

vscode multi level folder file creation

{
  "version": "2.0.0",

  "tasks": [
    {
      "label": "new react folder and files",

      "command": "mkdir ${input:dirName} && touch '${input:dirName}/${input:dirName}.component.jsx' '${input:dirName}/${input:dirName}.styles.jsx'",

      "type": "shell",
      "problemMatcher": [],
      "presentation": {
        "echo": false,
        "reveal": "silent",
        "focus": false,
        "panel": "shared",
        "showReuseMessage": false,
        "clear": true
      },
   }
],  

// ........................................................................................
  
  "inputs": [

    {
      "type": "promptString",
      "id": "dirName",
      "description": "Complete my folder name",
      "default": "jsx folder to create"
    }
  ]
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: replicate component did update hooks 
Javascript :: correctly type checking objects in javascript 
Javascript :: node --trace-deprecation in webpack 
Javascript :: Set initial state on react-native-router-flex 
Javascript :: key being passed as prop react 
Javascript :: style react native alert text 
Javascript :: v4 history for react action or api calls 
Javascript :: hello-world.js 
Javascript :: append dynamica html in jsx react 
Javascript :: facebook graph X-Hub-Signature 
Javascript :: signin with google widget floating automatically 
Javascript :: what in the world 
Javascript :: javascript debugging methods 
Javascript :: hoe to add variable to object in GDscribt 
Javascript :: currency comma separator javascript 
Javascript :: how to change text in paragraph javascript 
Javascript :: export data from iredmail 
Javascript :: global keyboard shortcuts react 
Javascript :: 1493449952 
Javascript :: CSS overflow table row positioning 
Javascript :: npm generate package-lock.json 
Javascript :: javascript to python converter online 
Javascript :: addingbackground image in nodejs 
Javascript :: how to detect clicks using javascript addeventlistener 
Javascript :: how to use cookiestore javascript console 
Javascript :: nuxt two props 
Javascript :: flatpicker js init 
Javascript :: js log without newline 
Javascript :: vue router accept params null 
Javascript :: react-router-dom npm 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =