Commit graph

23 commits

Author SHA1 Message Date
syl20bnr 769d54da02 New layer auto-completion
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00
syl20bnr 5e993d8e4c c-c++ layer: Fix append of company-cmake 2015-03-31 22:37:53 -04:00
syl20bnr 46248b1e73 New local company backends 2015-03-31 22:24:01 -04:00
syl20bnr 0fa0409523 Restore reset of local company-backends and add with-yas param 2015-03-30 00:48:41 -04:00
Tristan Hume cb43a91a15 Add company backend add macro and use it everywhere 2015-03-30 00:01:33 -04:00
Diego Berrocal 78f8c6aae0 Change condition for company-mode detection
changed configuration-layer/package-declaredp for
configuration-layer/layer-declaredp in company-mode
2015-03-29 23:49:37 -04:00
syl20bnr 131fd3cce8 Remove empty file funcs.el in c-c++ layer 2015-03-24 21:53:37 -04:00
Michael Hauser-Raspe 43c9e14d16 Add projectile-find-other-file key bindings 2015-03-23 21:52:55 -04:00
syl20bnr b1adef0626 Heavy refactoring of company-mode layer
- Enable lazy-loading of company.
- The company layer is now agnostic of any packages which use company
- company-backends is now buffer local and contains only the backends
which are relevant for the current modes
- New macro `spacemacs|reset-local-company-backends`
2015-03-22 02:23:12 -04:00
syl20bnr ff7960fe5d Lazy-loading for c-c++ layer 2015-03-15 21:44:10 -04:00
Diego Berrocal 6e348c0a54 Fix compatibility with use-package 2.0 2015-03-15 18:51:18 -04:00
Tu Do 3e277409ea [Fix #738] Display all parameters in the top line
This change allows semantic-sticky-func-mode to display parameters that
are scattered in many lines by using stickyfunc-enhance package. It also
specifically handles Python to also display assigned values if
available.

Also update documentation.
2015-03-14 22:56:20 -04:00
syl20bnr a1732a8098 Remove unneeded code in C++ layer packages.el file
Use variable spacemacs-cache-directory
2015-03-10 20:33:49 -04:00
syl20bnr fe6cbe790a C++ layer README srefactor is not available in previous version of emacs 2015-03-10 20:33:47 -04:00
Tu Do 67e5f2733b Change Semantic cache location and update documentation
Also make it compatible with Emacs 24.3
2015-03-10 20:33:45 -04:00
Tu Do 30dac136bb Enable Semantic support for C/C++; add Srefator
With Semantic mode enabled, it enables IDE features such as:

- Enable helm-semantic-or-imenu to jump with Semantic instead of Imenu.

- Show function signature of current function point is inside at the
top (with global-semantic-stickyfunc-mode)

- Show function signature of current function at point at the
bottom (with global-semantic-idle-summary-mode).

- Add Srefactor for refactoring using Semantic parser framework. Bind it
  to "SPC m r".

- Load 'compile package, otherwise compilation-mode-map won't exists and
  Semantic fails to bind some key to the map and throw error.
2015-02-27 20:36:00 -05:00
syl20bnr 96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
syl20bnr ceefe88b75 Update CONTRIBUTE.md and add file headers
Also add default file header to layer templates.
2015-01-13 23:12:56 -05:00
syl20bnr fd0e9abbe7 Move layer images into img directories 2014-12-24 01:03:49 -05:00
syl20bnr f770404255 Dispatch flycheck hooks in relevant layers 2014-12-22 22:51:44 -05:00
syl20bnr 9f21172540 Fix bad format and typos in layer READMEs 2014-12-14 00:32:25 -05:00
syl20bnr 95a1795873 Move Scala packages to scala layer 2014-12-13 23:29:23 -05:00
syl20bnr 61a9481e96 Move C/C++ and CMake to c-c++ layer
Although CMake can support different compilers it is mainly
used for C++ projects. So it makes sense to add it here.
2014-12-13 23:08:55 -05:00