Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Intellisense in VSCode

I checked several post before asking but didn't find a simple answer. I am adding a new language extension in VSCode. This language is a proprietary which is quite basic. Colorization and snippets are done already. But now I am stuck with intellisense.

I did it already for Sublime and it was pretty simple: add a file mylanguage.sublime-completions I didn't find the equivalent with VSCode.

Is it an easy way? I saw some answers related to Typings and installed on VSCode the extension Typing Installer but I dont know how to use it. I installed Typings also by doing this: npm install -g typings but again i don't know how to use it :(

Would be glad if somebody could unstuck me !

Kaniass

like image 386
Kaniass Avatar asked Oct 25 '25 05:10

Kaniass


1 Answers

You may want to have a look at CompletionItemProvider, i.e. implement that interface and register it with your extensions via registerCompletionItemProvider

An extension which provides IntelliSense based on gtags and is not that huge so that you can see how it works could be C++ Intellisense

like image 188
DAXaholic Avatar answered Oct 26 '25 18:10

DAXaholic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!