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