Skip to content

Releases: niosus/EasyClangComplete

Version 3.2.0

16 Jan 13:31
Compare
Choose a tag to compare

New features

  • added support for environmental variables in settings.

Bug fixes

  • fix plugin_host failing when renaming an opened file. Thanks @simia and @silva6 for reporting and help in fixing this.
  • fix for not finding libclang when using MSYS2 on Windows. Thanks @DJviolin for help.
  • better error handling overall.

Version 3.1.1

17 Dec 09:42
Compare
Choose a tag to compare

Bug fixes

  • fix wrong completion representation for variadic templates when use_libclang is false.

Version 3.1.0

11 Dec 12:26
Compare
Choose a tag to compare

New functionality

  • Use Makefile.cmake file to detect if cmake needs to be rerun.
  • Add quick command to clean cmake build directory for current view:
    • Name of command: EasyClangComplete: Clean current CMake cache
  • Add support for flags passing to cmake:
    • A new subsetting "flags" under cmake entry in "flags_sources".
    • See default settings for info.

Bug fixes

  • fix $project_name variable in settings.
  • completion triggers settings are much better now.
  • fix indentation for example project-specific settings.

Version 3.0.4

09 Dec 15:51
Compare
Choose a tag to compare
  • Fix issue with relative paths in compilation databases. Issue #167

Version 3.0.3

09 Dec 10:04
Compare
Choose a tag to compare
  • Fix regression in completion of class names on ::, issue #164

Version 3.0.2

06 Dec 22:18
Compare
Choose a tag to compare

Bug fixes

  • Fix some flags being split against their will, issue #161.
  • We now handle separable flags and take care of not splitting them.

Version 3.0.1

06 Dec 14:36
Compare
Choose a tag to compare

EasyClangComplete v. 3.0.1

Minor regression fixes.

New functionality

  • Use '~' in every path variable in settings to mark your user home directory.

Bug fixes

  • Fix regression in prefix_paths option for cmake.

Version 3.0.0

06 Dec 09:31
Compare
Choose a tag to compare

This is a new major release. It has new functionality and deprecates/modifies some settings.

Breaking changes!

  • Following settings not used anymore or updated:
    • cmake_flags_priority
    • generate_flags_with_cmake
    • search_clang_complete_file
    • max_tu_age changed to max_cache_age

New functionality

  • New settings introduced:
    • flags_sources to allow specifying where the plugin will try to get flags for compilation from. See default plugin settings for more info and examples.
  • When using libclang the plugin filters private members, destructors, constructors and enums when needed. Thanks @simia for contribution.

Bug fixes

This release contains many bug fixes.

  • Now every view has its own settings, so running multiple projects alongside won't confuse the plugin. All settings are now making sense on project level and not only on global plugin level. You can have one project running with libclang and another using clang binary way alongside it. This will not break the plugin.
  • Flags preserve the exact order they were added in. Before the order would be arbitrarily changed.
  • Multiple minor bug fixes

Contributors

This would not be possible without the help of awesome people: @simia, @rchl, @brupelo, @randy3k

Version 2.0.1

02 Nov 23:26
Compare
Choose a tag to compare

What's new?

This release is nearly fully consisting of the pull requests submitted to the
project. Thanks @rchl and @david9991!

  • add support for -isysroot flag for OSX, fix -isystem flag.
  • allow wider error popup windows
  • open plugin settings side-by-side just like sublime does with its settings
  • flags order is now preserved, so the flags are passed to clang in the same
    order as they appear in settings and/or .clang_complete file
  • fix the completions being shown in a wrong location after a long completion
    request has finished while the cursor was moved

Thanks

Huge thanks go to all the people who contributed their time helping me in
creating this plugin especially for PRs from @rchl, @david9991 that landed in
this release.

It is really important for me that you are using the plugin. If you like it -
tell other people about it and/or support it:
https://github.com/niosus/EasyClangComplete#support-it

If you have problems - submit issues and we will try our best to solve them.

If you are a developer and care to contribute - you are very much welcome!

Version 2.0.0

30 Oct 23:24
Compare
Choose a tag to compare

Breaking change! Change your settings!

  • NO MORE include_dirs, std_flag_c, std_flag_cpp SETTINGS!
    • use common_flags, c_flags and cpp_flags instead
    • to specify include paths, use -I<include_path> in common_flags
    • specify -std=* flags in c_flags and/or cpp_flags
    • see updated default settings for an example

We think this adds flexibility and we didn't want to keep old setting for the
sake of clarity.

Don't forget to restart Sublime Text after changing settings in case something
is not working.

Big update. What's new?

  • libclang way should be working on Windows with clang version >= 3.9
  • override any plugin setting from project-specific settings
  • completions can be triggered from any place (e.g. in the middle of words)
    with default sublime auto completion keyboard shortcut
  • completions will not be shown if you continue on typing for those rare slow
    completion requests.
  • new wildcard for common_flags: $clang_version. Allows for generic include
    folder for any version of clang
  • fixed a bunch of crashes and deadlocks, improved overall concurrency support
  • overall code base improvements and many-many bug fixes

Thanks

Huge thanks go to all the people who contributed their time helping me in
creating this plugin.
@tastytea, @alpo, @randy3k and most of all @rchl, thank you guys for all the
help, valuable discussions and pull requests! You guys rock!