VSCode: documentation on hover doesn't show complete function documentation - visual-studio-code

I'm learning a new API by writing some sample code in Visual Studio Code but documentation on hover cuts text abruptly and I don't want to use F12 ("go to function definition") each time to see the full documentation of a method in the header file; I suspect that VSCode doesn't like the #ref tag for some reason.
This is what the hover looks like:
This is the actual documentation in the header file of the method (MUCH longer):
Note: I installed an extension to show docs in the sidebar but the problem persists, so it must be something with VSCode itself I think

Related

VS Code hover shows irrelevant information

My vscode hover shows Typescript information even on my vanila JS project. Can I change that?
screenshot

Where can tooltips be enabled in VS Code

I use VS Code to read C# code and it always showed me tooltips (hints or whatever they're called). I could just hover the mouse cursor over the fragment of code and it told me if that's a class or method or anything else.
I'm not a programmer so that was helpful.
It also allowed me to click on the code fragment with the CTRL button pressed. It opened the related file to the code in an adjacent tab.
But then something happened and I can't do anything of the above. It makes work very uncomfortable.
Can you please give any advice as to how to return these functions?

How to add a list of custom bad/forbidden words to Visual Studio Code

There is a list of words/phrases that I would like Visual Studio Code to underline when they occur in the project. The list is custom. How to accomplish it?
You can use the extension Highlight to give particular text a different color.
I like the extension Highlight mentioned by #rioV8, but what it misses is:
1) You can not provide a message when code part triggers RegEx
2) It highlights with different colors (it's nice). But it does not use Lenses in Visual Studio Code.
So i wrote an extension that does that. Shows message when code triggers RegEx in realtime. You can think of it like as an Uber Linter.
https://marketplace.visualstudio.com/items?itemName=tomasz-smykowski.assistant
You can find it above and install. Also there is source code available on GitHub

VSCode not showing function parameter list in Dart code

When I edit JavaScript code, VSCode immediately show me a popup with a list of parameters as soon as I have typed a function name followed by (.
When editing Dart code this is not the case. Here I have to use the mouse to hover over the function name to show a popup with information about the function.
Is this normal behaviour? Are there any way to change this behaviour? Does anyone know a shortcut to show the popup?
This is controlled by a VS Code user setting in the Dart extension (dart.triggerSignatureHelpAutomatically). It's not on by default because there are some quirks (that I don't remember exactly off the top of my head).
There's work in progress to move the extension to using the LSP protocol which will push some of this functionality into the Dart analysis server, which may make it easier to make some functionality like this more reliable (since more info is available in the language server than is currently exposed to the VS Code extension).

Creating Code Blocks <code> or <pre> in CKEditor

Is there a plugin to allow users to create <code/> or <pre/> blocks?
If I pass in some html that includes <code> </code> blocks the contents shows up, but with no visual indication that it is different from any other text. Thats inconvenient, but I can't seem to find a way that a user could select a block of code they typed that they want to appear literally and click a button to indicate that.
I'm still pretty new to the CKEditor, but I know Telerik has a pretty graceful implementation of this. (just click the upper right toolbar button titled "Format Code Block").
Does this editor support that? Are their any plugins that add this functionality?
As for pre-elements, there is this plugin by wwalc: http://ckeditor.com/addon/insertpre
It is also available in GitHub: https://github.com/wwalc/insertpre
The only issue is that it hasn't been updated in a while - It officially only supports CKE up to version 4.1 - so there might be some ACF problems at least. You can search for alternatives at http://ckeditor.com/addons/plugins/all using keywords like code and pre, this will always show the most up to date results.
For code blocks you can also use the Text Formats feature - by default it is available in the Standard and Full presets, though you can also add it to your custom build.
When the Format plugin is enabled, it adds the Format drop-down list to your toolbar. Check the Formatted text format - it wraps the active text block with <pre> tags. Note that it works on block-level, so you don't even need to perform any text selection. However, this also means it's not appropriate for inline formatting.
You can also add some custom styling to the Formatted format by adjusting the config.format_pre definition. See the Applying Block-Level Text Formats sample for demos of both the default implementation and custom format definition (scroll down the sample page to get the complete source code for both solutions).
As for inline code formatting, the Styles drop-down list contains the inline Computer Code style that wraps a text selection with <code> tags. Likewise, you can (and actually should) customize the styling that is applied with this feature.
Additionally, for some really fancy code formatting, see the optional Code Snippet plugin. It lets you insert code snippets with syntax highlighting into the editor. These snippets look great (you can also choose a theme that you like) and since they are implemented as widgets, they have all advantages of CKEditor widgets: a code snippet is treated as a single entity inside the editor, you can select it as a whole, delete, change its position with drag&drop etc. See the documentation and sample for more information and examples.