This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PowerShell script to create fuzzy-finder.js and attach it to index.html | |
# Path variables | |
$htmlFilePath = "$PSScriptRoot\index.html" | |
$jsFilePath = "$PSScriptRoot\fuzzy-finder.js" | |
# Check if the HTML file exists | |
if (-not (Test-Path $htmlFilePath)) { | |
Write-Error "index.html not found at $htmlFilePath" | |
exit 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"#if !defined … #define … #endif": { | |
"prefix": "def", | |
"body": "#if !defined ${1/([A-Za-z0-9_]+).*/$1/}\n\t#define ${1:SYMBOL} ${2:value}\n#endif$0" | |
}, | |
"#include \"…\"": { | |
"prefix": "include", | |
"body": "include \"${1:}\"$0" | |
}, |