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

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