End to end testing implementation for Visual Studio Code extension - visual-studio-code

I have developed a Visual Studio code extension. i want to implement end to end testing for each Command we configure in package.json. these commands have Quickpicks etc
i am not sure how to implement tests

I'm also looking for a concrete solution to do the same. While googling, I came across this. I haven't tried it yet but looks promising to me. Please share your experience in case you use it. Also, don't forget to share if you find a better working solution for the same.

Related

Visual Studio IDE's ToolBox alternative for VSCode

Visual Studio IDE has a nice feature: ToolBox, witch gives ability to save and use pieces of boilerplate code:
Can't find a similar extension for VSCode. There many extensions with the similar name but they serve different job and are a bit complicated for me.
Can you suggest me something similar to ToolBox please?
P.S. I' not asking about snippets, this is different.
Almost find it but it does not have foldering option and is no longer updated: Code Fragments

How do I output simple code in Visual Studio Code?

I have been using freecodecamp and I just want to have a place I can test things and save code. I been googling for a while and it seems so complicated I wonder why they don't just have a simple button or tab perhaps this is not something experienced coders want. Perhaps I should use a more beginner friendly app?
So far the best thing I have found is this:
Visual Studio Code is not showing the ouput of Python
I am learning JS btw.
Thank you for any help.
If it's purely JavaScript, you could run it with Node through the console tab in VSC.

Is there a ReSharper or similar extension to Visual Studio Code?

I would like to know if there is some extension to VS Code that helps with cleaning code and suggesting more concise code (i.e., hinting for coding best practices).
There are a large number of ways to lint or provide code suggestions or refactoring tips in VSCode, some baked-in or improved with the C# extension.
But if I understand your question right, for something akin to an extension to suggest code simplification, like ReSharper, I would point you to the Roslynator extension. I have used Roslynator2022 (the Visual Studio 2022 version) and like how it links you out to see detailed reasons about the suggestions it makes.
For formatting your code the VSCode Marketplace has multiple good options such as the CSharpier extension.

Can you run a version of vscode inside the browser without a server?

Is there any way to run a version of VS Code inside a browser without a server? (inside a React or Angular app). Something like an enhanced version of the monaco editor.
Of course that means it will have some missing functionalities.
If not, are there any other options?
Try this https://securingsincity.github.io/react-ace/
its something of the same king what you want
As far as I could find, it is possible to run VSCode in the browser (since we have vscode.dev), but there doesn't seem to be anyway to deploy it yourself yet?
This Github issue is probably what you want, but there isn't any information there (or on the repo) yet.
It does strongly suggest that https://github.com/microsoft/vscode is the version used for vscode.dev, so there might be things to be found there, until official instructions/embedding is possible.
I think it depends on how you treat vscode.
if it is just a editor software, there'll be a lot of .
For you customerization purpose, it sounds something like 'https://github.com/cdr/code-server'
Not sure if it helps, but you can try looking up gitpod.io. It opens up a visual studio code instance on your browser with options of installing extensions as well.
Use the link like gitpod.io/#https://github.com/username/repo-name
You can possibly use Gitpod self-host, https://github.com/gitpod-io/gitpod or https://github.com/gitpod-io/openvscode-server they both have documentation on how to create your own version of VSCode for the web, however, as I've never tried to create one myself, I don't know if it accomplishes your specific use case.

Is there a way to compare usage of VS Code extensions similar to npmtrends.com?

Often when researching an npm package, I view it on npmtrends. This gives me a decent idea as to how widely-used the package is. More importantly, it also lists other similar packages and shows a chart comparing their use. Here's an example comparing Angular/React/Vue.
I'm wondering if a similar tool exists for Visual Studio Code extensions. The Marketplace give download count but doesn't show similar extensions. Is there another tool/site that offers this?
Thanks in advance.