-
Notifications
You must be signed in to change notification settings - Fork 137
Syntax highlighting service #48
Comments
I want to see something like this! So as you cna see on this screenshot all variables of class highlighted with special color. That's look good. So how can I don it with you service ? For that look in vim I've used color_coded plugin. But you plugin working asynchroniously that sounds great, because color_coded doesn't work in such mode. |
Hi @melonaerial, I think that you may not be using
However, under the hood Developing the async processing framework was what I was mostly focused on. This was my prio number one as without this framework implementing and integrating anything into the environment simply does not make any sense. Blocking the main UI thread while running the indexer/syntax highlighter/build/formatter/etc. was simply not an option. |
Hello @JBakamovic , |
Hi @melonaerial, I've tried out your test project on my machine and syntax highlighting seems to be running fine. Did you forget to import the project? You need to create a
So, you can try to create a new |
Hi @melonaerial, With commit You can give it a try if you feel like and let me know how it went :) P.S. Don't forget to update the colorscheme as well by running |
Im having the same problem both in Windows 10 and Lubuntu vm version. |
Did you try out the steps above, i.e. import a project? You will not get any services running until you create a project context. |
I created a test project |
Hm, in the video I can see that the file you're editing is Otherwise, you can attach the log which you can find under |
I'll start writing the instructions for Windows once I get it working in the vm. |
You're missing a Let me know if that fixed the issue for you. |
Have not found the solution. What distro are you running it in? |
Nevermind, I got it to work. I had to edit the cindex.py file in the clang python directory. |
I am running Fedora almost exclusively and I haven't experienced such issues. So, if I understood you well, you had |
OS: Lubuntu and Ubuntu in Windows 10 First I tested this code in the python shell with the different paths until I did not get the error: import clang
import clang.cindex
clang.cindex.set_library_file( {DIRECTORY} )
index = clang.cindex.Index.create() In my case the one that worked was: |
Although it is not autocompleting the algorithms standard library |
Hm, auto-completion is handled via clang_complete. I would expect that it should be working out-of-the-box for STL but if not, you can edit With respect to
If my assumptions are right then you will be able to fix the problem by tweaking the |
Hello.
I've installed yavide and I see that my class variables don't highlighted with special color like on your demo for Syntax hightlighting service. I've attached my test project on which I'm testing your IDE. Service is setted to enable in <yavide_install_dir>/core/.globals.vimrc file. So here is the screenshot.
testproject.zip
The text was updated successfully, but these errors were encountered: