Giter Site home page Giter Site logo

Comments (4)

myrgy avatar myrgy commented on June 13, 2024

On Nov 2, 2012, at 4:48 PM, Golevka wrote:

Maybe you want to try std::vector abc; instead


Reply to this email directly or view it on GitHub.

typename completion work
\

no completion for variables.

and methods.

from emacs-clang-complete-async.

myrgy avatar myrgy commented on June 13, 2024

Could you help me to solve my problem with completion?

On Nov 2, 2012, at 4:48 PM, Golevka wrote:

Maybe you want to try std::vector abc; instead


Reply to this email directly or view it on GitHub.

from emacs-clang-complete-async.

Golevka avatar Golevka commented on June 13, 2024

I don't know if I can fix this, maybe this way will help: You can specify the location of your library headers explicitly to guide clang to look for those symbols, this is a code fragment taken from my personal emacs configuration file:
;; ac-source-gtags(setq ac-clang-flags (mapcar (lambda (item)(concat "-I" item)) (split-string " /usr/include/c++/clang/3.0/include /usr/include/c++/4.7.0 /usr/include/c++/4.7.0/i686-pc-linux-gnu /usr/include/c++/4.7.0/backward /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include /usr/local/include /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include-fixed /usr/include" )))
where the argument to split-string should be modified to fit your site, it can be obtained by running echo "" | g++ -v -x c++ -E - , https://github.com/brianjcj/auto-complete-clang explained this command in great detail.
SincerelyGolevka
Date: Mon, 5 Nov 2012 09:54:47 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [emacs-clang-complete-async] no completion (#13)

Could you help me to solve my problem with completion?

On Nov 2, 2012, at 4:48 PM, Golevka wrote:

Maybe you want to try std::vector abc; instead

¡ª

Reply to this email directly or view it on GitHub.

          ¡ª

          Reply to this email directly or view it on GitHub.

from emacs-clang-complete-async.

myrgy avatar myrgy commented on June 13, 2024

For me it works - sinse closed

from emacs-clang-complete-async.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.