public:computer:vscode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
public:computer:vscode [2023/01/03 11:55] alexpublic:computer:vscode [2023/01/03 14:57] alex
Line 113: Line 113:
 } }
 </sxh> </sxh>
-  * Run with nodemon; <sxh bash>+  * Run with nodemon (live compile environment); <sxh bash>
 $ npm install ts-node --save-dev $ npm install ts-node --save-dev
 $ npm install nodemon --save-dev $ npm install nodemon --save-dev
 </sxh> </sxh>
     * package.json <sxh json>     * package.json <sxh json>
- "scripts": {+
 +  "name": "typescript", 
 +  "version": "1.0.0", 
 +  "description": "", 
 +  "main": "index.js", 
 +  "scripts": {
     "start": "npm run build:live",     "start": "npm run build:live",
     "build": "tsc -p .",     "build": "tsc -p .",
-    "build:live": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts"+    "build:live": "nodemon --watch '*.ts' --exec 'ts-node' hello.ts", 
 +    "test": "echo \"Error: no test specified\" && exit 1" 
 +  }, 
 +  "keywords": [], 
 +  "author": "", 
 +  "license": "ISC", 
 +  "devDependencies":
 +    "nodemon": "^2.0.20", 
 +    "ts-node": "^9.1.1", 
 +    "typescript": "^4.2.4"
   }   }
 +}
 +
   </sxh>   </sxh>
  
Line 167: Line 183:
   * [[https://marketplace.visualstudio.com/items?itemName=twxs.cmake|CMake (twxs)]] CMake For VisualStudio Code   * [[https://marketplace.visualstudio.com/items?itemName=twxs.cmake|CMake (twxs)]] CMake For VisualStudio Code
   * [[https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools|CMake Tools (Microsoft)]] CMake Tools   * [[https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools|CMake Tools (Microsoft)]] CMake Tools
 +
 +
 +
 +
 +==== PHP ====
 +  * [[https://marketplace.visualstudio.com/items?itemName=xdebug.php-pack|PHP Extension Pack (Xdebug)]]
 +    * [[https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug|PHP Debug (Xdebug)]]
 +    * [[https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client|PHP Intelephense (Ben Mewburn)]]
  
  
  • public/computer/vscode.txt
  • Last modified: 2024/04/30 00:33
  • by 3.12.71.237