TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: For VSCode, code snippets in Node.js instead of static code snippets

1 pointsby sktguhaover 4 years ago

1 comment

sktguhaover 4 years ago
The idea is similar to code snippets in vscode, but here the difference is you can specify any arbitrary node.js script to run.<p>So if you select some text in vscode and press a shortcut key , your script is given the selected text as first argument(and other options in second argument like absolutePath etc) and whatever is returned from your script , the selected text will be changed to that value