ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CComplete

by ibensw Linux ST2/ST3

A code completion plugin for sublime text 3

Labels auto-complete

Details

Installs

  • Total 1K
  • Win 4
  • OS X 0
  • Linux 1K
Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 4 2 2 2 5 1 2 1 2 5 3 1 6 1 2 0 1 3 2 3 1 0 2 3 2 5 3 1 4 2 1 0 2 5 2 2 0 3 2 1 1 0 2 4 3

Readme

Source
raw.​githubusercontent.​com

CComplete

A sublime plugin providing code completion for C and C++.

CComplete

This plugin was created after testing other plugins for sublime. The plugin is simple, requires no background deamon or and is designed to be used with very large projects in mind. However, this plugin is only an alpha version and should be considered as such. This means it can still be optimized for both speed and memory footprint, it will error or stop working and basic functionality might still not work.

What it does

  • Provide code completion in c and c++ files
  • Deduct members of structs/unions
  • Provide type information for word under cursor
  • Jump to definitions
  • The plugin caches information in memory and on disk to speedup information lookups

What it does not do

  • References: ctags does not support references, this can be solved using other plugins such as SublimeGtags
  • Whole project search, indexing a whole project takes tens of minutes (depending on the project size ofcourse) and since this plugin tries to do all indexing live thats out of the question.

CTags

This plugin requires ctags to be installed on the system, however no tag files must be created. This plugin will automatically detect which files to scan and parse the output straight into memory.

Todo / Future work

  • Improve ctags flags, it might be doing more than what is required by the plugin
  • Improve the filter that handles symbol collision
  • Settings, provide settings to optimize this plugin or to customize the behavior
  • Add menuitems to access the settings/commands

Contributing

  • If you have an issue or a great idea, feel free to fork and create a pull request
  • No special coding rules, just make it readable and test it a bit
  • Issues will be handled at a best effort basis