Sarcasm / irony-mode

A C/C++ minor mode for Emacs powered by libclang
GNU General Public License v3.0
911 stars 99 forks source link

autocomplete on windows10 #477

Open nelder-san opened 6 years ago

nelder-san commented 6 years ago

Try to use irony, which was compiled with visual studio as mentioned link on part "Building using Visual studio".

So works only autocompletion headers, autocompletion other file parts as class members or any other not works.

#include <string> // autocomplete works fine

class A {
  public:
    A();
    int a;
};

string::  // no autocomplete

int main(int argc, char *argv[])
{
    A a;
    a. // no autocomplete

    return 0;
}

there is my company-backends:

((company-irony company-irony-c-headers)
 (company-files company-keywords company-capf company-yasnippet)
 (company-abbrev company-dabbrev))

What the reason of unpossibility autocompletion can be?

3246251196 commented 6 years ago

Are you still having issues with this?

Have you tried loading vsvarsall.bat so that emacs can get hold of all the environment variables? Can you ensure that irony-server.exe starts when you type "::" after string?