What provider to use for IntelliSense information in VSCode? - visual-studio-code

I am developing a small VSCode Extension to provide documentation functionalities to a specific language. Now I want to integrate the documented information into the VSCode Tooltip and IntelliSense. I already managed the tooltip part using registerHoverProvider.
Now I'm searching for the right one to register a provider for
IntelliSense Information.
Could anyone help me out or give a hint?
Thank you in advance.

Related

Python Intelisense in monaco editor react

We are looking for updated documentation on how we could implement Python intelisense in our integration of monaco editor in our react app.
There is a lot of outdated information and we are not even sure it is possible? Most discussions mention using a python language server, but some even say the microsoft PLS does not even work for this.
Any more up-to-date documentation available please?

Delete a specific Intellisense suggestion in VS Code

Intellisense sometimes comes up with irrelevant suggestions that I will never use in my project. Those can get in the way of the valuable other suggestions.
They also prevent VS Code features like "Add all missing imports" from working.
For example:
The first DocumentType is a low-level module that I will never use.
The second is one that I need in most of my files.
So how can I get rid of the first one?
Related (obsolete and unanswered) questions:
VS Code intellisense remove some suggestions
Disable specific autocomplete suggestion in Visual Studio 2013
You cannot disable specific IntelliSense completion options, however, there are a few other relevant caveats.
Answer to not your question: You can filter whole classes of keywords with the editor setting editor.suggest.filteredTypes. See more about this here.
IntelliSense does not allow you to configure or filter specific keywords. The list of all IntelliSense options is here. It also appears this is impossible with other major options. For example, the language server protocol does not support this(GitHub thread abt this). That being said, there is a plethora of autocomplete extensions and I'm certain this feature exists for some.
Something like intellicode might also be an answer, as it will look through other files you've edited to try to learn your practices.
If you're 100% sold on IntelliSense, and you're willing to sink several hours into this, you could set up a discrete language server, and then use something like this to filter completions as they are sent to the editor. While this would work, I think it's a terrible idea.
After spending several hours with no satisfying result, I created my own IntelliSense snippets. I used another keyword to make sure, it will show on top.
I used the Easy Snippet plugin for this.

Is there a way to automatically create doc for classes and Methods in OpenEdge Developer Studio?

OpenEdge Developer Studio is built on Eclipse where usually the shortcut Ctrl+Alt+J can be used to create JavaDoc for classes and methods.
For Progress however I am unable to figure out how this should work.
Could someone help me out here?
To create an html documentation (like http://help.consultingwerkcloud.com/smartcomponent_library/release/) use this here:
https://github.com/Riverside-Software/pct/wiki/ClassDocumentation
https://github.com/Riverside-Software/pct/wiki/HtmlDocumentation
For documentation comments in PDSOE, I'd suggest you have a look at:
https://www.hh-berlin.de/oedt/features/editor
It's going to be commercial. I'm beta-testing it since a while. And it's working really, really nice.

Visual Studio Code Plugins (Format / Spell Check)

Using the new Visual Studio Code editor vs 1. This is not the full Visual Studio IDE but their atom.io based code editor. I would like to install plugins specifically for spell check and formatting my code. How can I do this?
I've followed instructions here: Is there a command for formatting HTML in the Atom editor?
but realized that I do not have a install plugin command.
It's been a few months since the question was asked (and answered), but thankfully, things have changed!
VSCode now support extensions!
Here's a relevant excerpt from the above blog post:
Extension Marketplace/Gallery
To complement the extensibility mechanism, we have also launched an in product gallery and web based extension marketplace. These allow you to discover and install extensions. To open this up in VSCode, simply hit F1 and select Extensions: Install Extensions.
Alternatively, you can browse the Extension Marketplace at https://marketplace.visualstudio.com/#VSCode.
I gave the marketplace a quick search and easily found multiple extensions for spelling and source formatting, but I'll forego making any specific recommendations since everyone's requirements are different.
For anyone looking to write their own extensions for VSCode, take a look at the documentation for extending VSCode, as it has a lot of the information you'd need to start writing your own extensions.
Lastly, thanks to Daniel for his comment. It helped me find the information I needed, but to save future visitors some time, I thought it was worth sharing my findings.
Plugin support is not currently enabled in the VSCode editor. The development team were not happy with the plugin API, so they have disabled them until further work can be made on this.
For more information, see this post: https://stackoverflow.com/a/30006220/495328
Nowadays you can use Prettier and Code Spell Checker for the purposes.
Here are some use case for spell check:
Load a CSS, JavaScript, Text, etc. file. Words not in the dictionary files will have a squiggly underline below the text.
To see the list of suggestions just click on the 💡 (lightbulb) in the left hand margin. You have the option to add your own words to the workspace dictionary.

Features in CodeRush Xpress for writing plugins

I am using CodeRush Xpress and found that I cannot write a plugin using IssueProvider from this page (end of third paragraph). Now I am using codeProvider to write simple plugins using CodeRush Xpress.
With CodeProvider I can only show the notification with these 3 dots.
I wanted to show the errors by
1.) Underling the code and
2.) Providing a URL in the hint box (So that the user can click this URL to know more about the problem).
Is there a way to underline the code in coderush Xpress. And also any ways to provide links in the hint box.
Some links or some lines of code used to underline would be helpful.
Thanks in Advance.
The high-level Code Issues UI functionality (underlining, issue hints with links(URLs), left and right issue bars) is available in CodeRush Pro, but not CodeRush Xpress. So you won't be able to see code issues with CodeRush Xpress only.