xabikos / vscode-javascript

Contains the code snippets for JavaScript (ES6) development in VS Code editor
MIT License
328 stars 136 forks source link

> Added snippet for async function because I need it a lot for what I'm doing (I have more async functions than sync). For shortcut, I have it as "asnfn", which is consistent with other functions where "fn" keyword is a suffix. If I could have, I'd have changed all function-based snippets to have "fn" as prefix instead of suffix, but can't change that now. Or can we? ;) #129

Open MarivateBasani opened 2 months ago

MarivateBasani commented 2 months ago
          > Added snippet for async function because I need it a lot for what I'm doing (I have more async functions than sync). For shortcut, I have it as "asnfn", which is consistent with other functions where "fn" keyword is a suffix. If I could have, I'd have changed all function-based snippets to have "fn" as prefix instead of suffix, but can't change that now. Or can we? ;)

https://github.com/xabikos/vscode-javascript/pull/88#issuecomment-1560664011

Originally posted by @MarivateBasani in https://github.com/xabikos/vscode-javascript/issues/88#issuecomment-2184273984