Is there an analogue of GhostDoc in Visual Studio Code? - visual-studio-code

I'm looking for something like GhostDoc for VS Code (C#), but to no avail. Anyone knows anything?
I've only found an "old" VS-like extension which makes XML comments available when you type '///', but it's not what I am looking for.

DocumentThis is available with similar features.

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

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.

Is there any way to see the dataset and its content in Visual studio code?

In Visual studio we have option to see the dataset using Dataset Visualizer as below image.
But in VS code, do we have anything like this? Any plug-in I can install to get this in VS code?
Currently in VS code I am getting as like this below image. Please help.
Although C# support is not great yet, but the Debug Visualizer extension for VS Code might be exactly thing you are looking for.
There is no proper table visualizer yet and you would need to return JSON in your C# code, but feel free to contribute or to get in contact and share ideas!

VS Code Extension - Best approach for extending JSON

I'm looking into what would be the best option to extend VS code with an extension which add some more features to the JSON Format such as additional keyword highlighting.
What would be the best approach ?
Taking over the tmlanguage file for JSON and add additional options for eg syntax highlighting connected to a new language ?
"Extending" the JSON fomat ?
Custom linter ?
This looks my best bet I could find till now: Can a language in Visual Studio Code be extended?
Tnx in advance for giving advice what would be the best approach.
It depends on what features do you want and how much time you would like to spend on it.
If the syntax highlighting is the main purpose, just get a tmLanguage file for the programming language and use the official generator yocode to create an extension from it.
Visual Studio Code and Microsoft behind it are promoting the Language Server Protocol which may be the ultimate solution. And of course, it requires much more work.

How to change all occurrences of variable name in Visual Studio Code for PHP?

I have tried Ctrl + F12 but it does not really work. It does not select $this-> for some reasons. Does anyone here know, how to do it?
Thanks in advance
Currently, Visual Studio Code's support for PHP is limited (see here), and I was unable to locate a PHP language service extension for Visual Studio Code (you're welcome to look, too).
Visual Studio Code currently only comes bundled with language services for JavaScript and TypeScript.
According to Visual Studio Code's documentation, a language service is defined as follows:
Language services provide the code understanding necessary for features like IntelliSense (suggestions) and smart code navigation (Go to Definition, Find All References, Rename Symbol).
You can try the regular search and replace CTRL+SHIFT+H. VS Code provides preview for all planned replacements so it is done not that bad as you would expect.
This question is a bit old but, for anyone who stumbled upon here,
You could use PHP Refactor Tool extension: https://marketplace.visualstudio.com/items?itemName=st-pham.php-refactor-tool
note that this extension dependent on PHP intelephense: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client