vscode-postfix-ts
vscode-postfix-ts copied to clipboard
Postfix notation for TypeScript/Javascript - extension for VS Code
Hi! I found it useful to write equality expression first and then using your `binary-expression` when case. However I doesn't seem to work if right side of the expression is....
It works perfectly in normal way of method definitions for objects, like `obj.fn1` and `obj.fn2` , but can't work in shorter syntax for method definitions on objects, like `obj.fn3`. ```js...
fixes #63 You can look at [tests](https://github.com/zardoy/const-name/blob/HEAD/src/index.spec.ts) to see what I got for you. You can also look for published files [here](https://cdn.jsdelivr.net/npm/const-name/). I'm really really happy with that, but I'm...
Hey! I have awesome idea to derive variable names for builtin `const` and `forEach` snippets. ### `const` Improve variable name for `const`, `let` (and `var`?) snippets. I simply [use](https://github.com/zardoy/vscode-experiments/blob/688e521840951bf3b3cbdf2177f2c92dd30b905f/src/features/tweakTsSuggestions.ts#L108) regexs...
I have `.t` snippet that I use to wrap types into generics e.g. `SomeType.t -> Partial`, its really handy. However, I usually use it in combination with `Extract` so I...
This is a fantastic extension! I'd love to see it a bit more generalized with the ability to have language-dependent postfixes. For example, during ETL development, I'm often writing code...
sorry, this is not an issue but I want to share this idea with you. It would be interesting to implement this idea as a typescript language service plugin so...
I added failing tests to illustrate the problem. I tried different approaches, and it seems only `insertText` of completion and `editor.insertText` does whitespace adjusting in VSCode. First one causes [editor...
Example: ```ts const test = ({}: A) => { } const test = ([]: A) => { } // works fine if you name arg or change const to function...
Example: `if (a && a && b{not})` it would invert last identifier instead and it seems there is no way to invert whole condition in this case. As a workaround...