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
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
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 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 0
Linux 1 0 0 0 1 0 0 0 2 0 1 2 0 2 2 0 0 1 0 0 1 2 0 0 1 0 0 1 1 0 0 2 0 1 1 1 1 1 1 1 1 0 2 0 1 1

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