Sublime Text 3 - Headers autocomplete in the directory

Asked

Viewed 266 times

3

After the failure to search for a plugin in sublime text 3, I come to ask for help.

I need to recognize the libs installed on the system, for this I look for a plugin capable of providing an autocomplete at the time of the #include of headers (ex. # include < show include options here>)

Someone knows a plugin in sublime text 3 that provides this Feature, as in the Netbeans IDE below?

operating system using the editor will be linux.

Netbeans

1 answer

2

Easyclangcomplete

Autocomplete plugin for C++ language. You will find what you want in the configuration include_dirs Which will search for external libraries such as Boost, Ros, Eigen, OpenCV, etc..

Where clang you should look for libraries:

    "include_dirs" : [
                        "/usr/include",
                        "$project_base_path/src",
                        "/workspace/$project_name/src",
                        "/usr/lib/clang/3.8/include"  // example for Ubuntu 16.04
],

Here you can configure.

Without further delay go to the plugin page on Github and download to test.

  • The plugin locates for the compilation by sublime own, but does not drop down the libs I have in these directories.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.