x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

YouCompleteMe plugin for (Neo)Vim with UE4

Hi everyone,

I was wondering if anyone configured YouCompleteMe plugin for working with UE4? I am using this plugin for the first time, so I don't know how to configure it. My current .ycm_extra_conf,py is the default one without flags for Mac. With this setup i get errors for UE4 classes, macros, headers...(showed in pictures) I would appreciate if anyone can tell me how to configurate YouCompleteMe or suggest other plugins for (Neo)vim that would do this job insted of ycm.

Regards, Iskustvo

Product Version: UE 4.13
Tags:
more ▼

asked Nov 08 '16 at 10:16 PM in Linux

avatar image

Iskustvo
11 1 2 4

avatar image snadeau Dec 14 '16 at 07:15 AM

Any luck on that? I never been a big fan of vs, so I was hoping to use vim

avatar image Iskustvo Dec 15 '16 at 07:07 PM

TL DR: Not really.

Well, found a way to start (neo)vim from UE4, but I got a job soon after, so didn't really put too much time in ycm. Using find I located directory which contains basic classes so I assume that listing it in .ycm_extra_conf,py would do the job with detecting classes(haven't tested) but don't expect it to solve everything. You will have to test it or find someone who knows what he's doing :D And also, there are other autocompletion plugins which may be better for UE4. I am really new to all of this, and on top of that I postponed learning UE4 because of job, so unless someone offers solution here, this post is useless.

avatar image NuLL3rr0r Jan 28 '17 at 03:19 PM

Do you mind to share how did you get neovim to start from UE4. I couldn't get it to work using SensibleEditorSourceCodeAccess. Thank you!

avatar image NuLL3rr0r Jan 28 '17 at 04:54 PM

Never mind, I found the issue and created a pull request https://github.com/fire/SensibleEditorSourceCodeAccess/pull/15.

Thank you so much.

avatar image Iskustvo Feb 19 '17 at 11:45 AM

Sorry I haven't seen this in time. I'm glad you made it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I hacked this together once: https://gist.github.com/Squareys/fde8c47f4244c00a10443e0b255033d0

Maybe it is useful to you. It parses the Visual Studio Project file to extract include directories and symbols, but made libclang (and YcmServer) crash on certain files. It has been a while since I last tried this though. May be resolved in newer YCM/clang versions.

more ▼

answered Oct 20 '17 at 11:02 AM

avatar image

Squareys
106 2 7 8

avatar image NuLL3rr0r Oct 20 '17 at 12:05 PM

i also found this thread on github https://github.com/Valloric/YouCompleteMe/issues/2669 it seems that it won't work with NeoVim and Ycm; at least it's not easy to setup in order to get auto-completion.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question