![visual assist x custom colors visual assist x custom colors](https://www.xrite.com/-/media/ppc/images/active-ppc-images/pro-scanning-solutuions-g7-pso-660x400.jpg)
That discovery was a little disappointing but it didn't discourage me to finish my job. However, after trying a couple of methods and as I was getting deeper into the topic I realised I was wrong and that I'd still have to implement all the processing phases, almost same as it is done in NRefactory and Roslyn. So, I did lots of research about the techniques and algorithms needed for implementing such feature before I started working on it, and at that time it looked like I might be able to invent quickly a minimalistic solution that will give good enough results. The second reason was that I wanted to fully understand the mechanics behind the algorithms used in the library so I can easily fix bugs or extend the functionality when needed.
![visual assist x custom colors visual assist x custom colors](https://i.stack.imgur.com/kxrQU.png)
Visual assist x custom colors code#
Both libraries can "understand" only C# code which was the main reason I've decided to go with my own solution since Script Inspector 2 besides C# scripts works also with UnityScript/JavaScript, Boo, and ShaderLab. One of those is NRefactory, an open-source library used in MonoDevelop/Xamarin for example, and another one is Roslyn by Microsoft which is still not finished and available as a preview for now. At first sight the feature may look not too complex, but as it turned out it is complex as hell if you try to do it all from scratch without any help of some of the few ready made libraries. I'm pretty sure you are all familiar with Script Inspector 2, and many of you are already using it for viewing and editing your scripts, shaders, and text files right inside Unity Editor, so I'll skip the introduction and just present what is its current WIP status here.įor the last couple of months I've been working on automatic code completion feature, also known as "Intellisense" as Microsoft likes to call that.