Henning Dieterichs

Results 602 comments of Henning Dieterichs

Another code example where it would have saved me some seconds: ![image](https://user-images.githubusercontent.com/2931520/174308279-8cbb9999-8959-4634-8fcf-69fb82b2ad17.png) This feature could find all three missing arguments from the context.

My prototype works nicely: ![](https://i.stack.imgur.com/QUCMs.gif) It is a ts server plugin and heavily uses type checking.

For example in this case: ```ts const result1 = await writeFile(ancestorUri, 'some content'); const result2 = await writeFile(ancestorUri, 'some content'); await writeFile(input1Uri, result1 + result2); ```

It is the opposite direction: I want to replace all duplicate expressions with the const at the cursor.

> Just realized that one variant of the refactoring already exists, you should be able to go over `top + height - checkboxHeight - margin` and use "Replace with existing...

Yes, they are still specific to VS Code and need to be adapted to IntelliJ shortcuts!

> Most devs can read english. I'm not so sure of that :D I think there a lot of asian devs who cannot understand english. A lot of asian devs...

Interesting. However, [they do seem to work on it](https://blog.jetbrains.com/idea/2020/01/intellij-based-ide-features-roadmap-for-2020/). In this case, I think localization may not be that important. VS Code was localized from the beginning.

I'd love to revive this discussion! I think this is not that far out of reach. JS Debug could provide a typescript language server plugin that exposes a command `getNumberDisplay`:...

Thanks for your quick response on a Saturday ;) Variable mapping would be awesome too, but this issue is about closure variables. As you can see, vscode_1 is in the...