Skip to content

Pretty self-explanatory. Took a bunch of code from a Clang code completion example ( https://gist.github.com/Rip-Rip/758615 ) and the "Custom Completer" example that comes with Qt. Tried to keep it short and sweet by skipping lots of unnecessary bits in the custom completer example.

License

Notifications You must be signed in to change notification settings

d3fault/Text-Edit-With-Clang-Code-Completion

Repository files navigation

Text Edit with Clang Code Completion

Pretty self-explanatory. Took a bunch of code from a Clang code completion example ( https://gist.github.com/Rip-Rip/758615 ) and the "Custom Completer" example that comes with Qt. Tried to keep it short and sweet by skipping lots of unnecessary bits in the custom completer example.

Qt + Clang = <3


Tested on Debian Jessie

PREREQUISITES

Of course you need Qt dev packages installed.

For libclang:
# apt-get install libclang-dev llvm-dev

BUILD INSTRUCTIONS

Clone this repo and cd into it as normal user, then:

$ qmake
$ make

About

Pretty self-explanatory. Took a bunch of code from a Clang code completion example ( https://gist.github.com/Rip-Rip/758615 ) and the "Custom Completer" example that comes with Qt. Tried to keep it short and sweet by skipping lots of unnecessary bits in the custom completer example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published