Actions

EmSys

Difference between revisions of "LSP Completion Symbols in CoC"

From EdWiki

(Created page with "__NOTOC__ === LSP Completion Symbols === If you are familiar with VS Code then you have probably noticed all of the symbols you see in the completion menu. You can find an exa...")
 
(No difference)

Latest revision as of 08:16, 24 February 2021

LSP Completion Symbols

If you are familiar with VS Code then you have probably noticed all of the symbols you see in the completion menu. You can find an example of all of the symbols provided here: VSCode Intellisense Overview

Adding to CoC

To add them to the CoC compeletion menu add the following to your coc-settings.json: <pre. "suggest.completionItemKindLabels": {

   "method": "  ",
   "function": "  ",
   "variable": "[]",
   "field": "  ",
   "typeParameter": "<>",
   "constant": "  ",
   "class": " פּ ",
   "interface": " 蘒",
   "struct": "  ",
   "event": "  ",
   "operator": "  ",
   "module": "  ",
   "property": "  ",
   "enum": " 練",
   "reference": "  ",
   "keyword": "  ",
   "file": "  ",
   "folder": " ﱮ ",
   "color": "  ",
   "unit": " 塞 ",
   "snippet": "  ",
   "text": "  ",
   "constructor": "  ",
   "value": "  ",
   "enumMember": "  "
 },

</pre>

This was as close as I could get with the symbols provided by Nerdfont Icons.

Feel free to explore the above link and change the symbols to whatever you like.