EasyClangComplete Versions Save

:boom: Robust C/C++ code completion for Sublime Text 3/4

6.5.2

2 years ago

Improvements and bug fixes:

  • A fix for a missing flag for M1 Apple arm architecture
  • [dev] Rewrite the CI setup to ease further development

6.5.1

3 years ago

Improvements and bug fixes:

  • ECC now plays well with other panels being open and won't force close them in case CMake has failed.

6.5.0

3 years ago

Improvements and bug fixes:

  • New include autocompletion!
    • New setting "autocomplete_includes" defaulted to true, so make sure to reload sublime text!
    • Press < or " after #include to open quick panel with guided completion for your includes. The initial list is populated from the current translation unit (make sure the initial parsing is complete!) while the next layers stem from chosen folders. In the end, the picked file is committed to file.
    • Details here: https://niosus.github.io/EasyClangComplete/settings/#autocomplete_includes
  • Info popup now also shows references from open files.
  • Get rid of a singleton in the thread pool. Use a single instance per plugin.

6.4.5

3 years ago

Improvements and bug fixes:

  • Add -target as a separable flag, thanks @papadokolos
  • Fix a bug in parsing flags with =, thanks @papadokolos
  • Parse non-posix compilation dbs on non-posix systems, thanks @papadokolos
  • Update docs about $project_base_path, thanks @dot4qu
  • Fix missing enum completions

6.4.4

3 years ago

Improvements and bug fixes:

  • Fixed a bug when calling "ECC: clean current cmake cache". It now works as expected.

6.4.3

4 years ago

Version 6.4.3

Improvements and bug fixes:

  • More powerful cmake-related flags parsing. If you ever wanted to use flags like -DCMAKE_PREFIX_PATH=~/some_path/*, now you can! See [1] for details.
  • WARNING: the sub-setting of the CMakeLists.txt entry prefix_paths is now deprecated as all the functionality is covered by the more useful flags sub-setting. You can still use it for now, but I will remove it in the future.
  • Fixed a jump to a wrong location when going to declaration, thanks @berteauxjb
  • Fixed typo in the message below, thanks @berkus

6.4.2

4 years ago

Improvements and bug fixes:

  • Add proper failure detection of CMake run.

6.4.1

4 years ago

Improvements and bug fixes:

  • Fix progress showing a wrong job name.
  • Show console output if CMake generation fails.
  • Fix cmake flags source overwriting CMAKE_PREFIX_PATHS environment variable.
  • Add more suffixes to find libclang, thanks @jeeb.
  • Fix docs generation after updating the theme.

Development announcement:

I decided to move away from using the "dev" branch. Now all the development will be happening in the "master" branch. The releases will be sourced from the "release" branch. See contribution guidelines for details.

6.4.0

4 years ago

Improvements and bug fixes:

  • Show which command is running along with the progress status.

6.3.0

4 years ago

Generate compilation database with Bazel!

There is a new option available for everyone using Bazel on Linux and OSX. It is still experimental, but seems to be working.

If you have a Bazel project, open any file in it and call the command: "ECC: (Bazel) Generate compile_commands.json"

This will use https://github.com/grailbio/bazel-compilation-database It generates a compilation database and if it fails it shows the error in an output panel. The approximate sequence of actions is as follows:

  • Search for a folder with a WORKSPACE file up the tree.
  • Run a script "generate.sh" from the repo in that folder.
  • If the command fails, show the output.