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

  • 0.1.7
  • github.​com
  • github.​com
  • 11 months ago
  • 35 minutes ago
  • 2 years ago

Installs

  • Total 1K
  • Win 4
  • OS X 0
  • Linux 1K
Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30
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 0 0 1 0 2 0 2 1 4 1 0 0 2 4 0 0 1 3 1 3 2 0 0 1 3 2 1 1 2 0 0 3 1 1 0 1 2 0 4 1 3 1 2 1 0

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