Auto-Complete is an intelligent auto-completion extension for Emacs.

Overview

Looking for new maintainer

auto-complete, popup-el and fuzzy-el are looking for new maintainers. If you are interested, then please comment on this issue.

Auto-Complete

Build Status MELPA MELPA Stable

An Intelligent auto-completion extension for Emacs

What is Auto-Complete?

Auto-Complete is an intelligent auto-completion extension for Emacs. It extends the standard Emacs completion interface and provides an environment that allows users to concentrate more on their own work.

Features

  • Visual interface
  • Reduce overhead of completion by using statistic method
  • Extensibility

Screenshots

Install

auto-complete is available on MELPA and MELPA-STABLE

You can install auto-complete with the following command.

M-x package-install [RET] auto-complete [RET]

User Manual

Auto-Complete User Manual

Basic Configuration

(ac-config-default)

Development

Reporting Bugs

Visit Auto-Complete Issue Tracker and create a new issue.

License

This software is distributed under the term of GPLv3.

Comments
  • Broken the menu display (emacs 24.5 only)

    Broken the menu display (emacs 24.5 only)

    Broken the menu display (emacs 24.5 only)

    The menu display breaks when 'auto-complete' is executed in Emacs 24.5.1. I called ac-linum-workaround, but the effect wasn't obtained.

    Emacs 24.5.1でauto-completeを行うとメニュー表示が壊れます メニューが表示される場所に文字列が存在するとおかしくなるようです。 24.4までは正常表示されていました。 最初linum-modeが有効だからなのかと思い、(ac-linum-workaround)を使用しましたが効果がありませんでした。

    environment

    OS:Windows7/Ubuntu14.10 Emacs: 24.4.1/24.5.1

    I tested both version.

    両方をテストしました。

    24.4 ( proper )

    win-24 4 1-1

    24.5 ( broke )

    win-24 5 1-1

    simple test case

    I tested on simple environment. 24.4 & 24.5 launch by $ emacs -Q. You open popup.el auto-complete.el, and execute eval-buffer. Switch buffer to scratch, and evaluate following code.

    よりシンプルな状況でテストしました。 24.4/24.5をそれぞれ $ emacs -Q で起動します。 popup.el auto-complete.el を開き、それぞれ eval-bufferを行います。 scratch へ移動して以下を評価します。

    (let ()
      (ac-linum-workaround)
      (linum-mode)
      (auto-complete-mode))
    font-
    0
    01
    012
    0123
    

    Evaluate let, you execute auto-complete at after font-. 24.5 only broke. popup.el have same symptom.

    letを評価して、font-でauto-completeを実行します。 すると24.5のみ表示が壊れます。 popup.elだけでも同様の状況です。

    (let ((hoge "01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"))
      (linum-mode)
      (popup-tip hoge))
    

    before eval

    24 4-24 5-q0

    afeter eval(1st-figure 24.4, 2nd-figure 24.5)

    24 4-24 5-q

    以上報告でした。

    opened by yaruopooner 25
  • Python: No completions shown after

    Python: No completions shown after "foo.ATTR" if ATTR is a python keyword

    After entering a string like "foo.ATTR" in python-mode (builtin), no completions will be shown if ATTR is a python keyword. E.g. foo.in on a list does not complete to foo.index. The completion is only shown again once the attribute is not a keyword anymore.

    opened by eigengrau 24
  • Make an auto-complete organization?

    Make an auto-complete organization?

    Hey m2ym, what would you think about moving auto-complete/popup/fuzzy to an auto-complete organization, and giving a few others the ability to push/merge pull requests/close tickets? Turn around on issues and pull requests has historically been a bit slow; I'm sure you are really busy, so I think you should let us help you out.

    I know the ac and popup codebases pretty well so I am volunteering to help out a couple of days of the week. One thing I would like to do with the organization is group together all of the various sources (perhaps by mirroring, in some cases) and kill off auto-complete-config.el, which is typically not in sync with many sources of interest (eclim, yasnippet, ropemacs).

    I'm sure others would be willing to help out as well. I'd like to hear your thoughts on the matter.

    opened by monsanto 22
  • Emacs freezed when typing '//'

    Emacs freezed when typing '//'

    My environment:

    • Windows 7, 64 bit
    • cygwin 64bit

    After I enabled ac, and type /, it gives a list of folders in my system, starting from root. But if I type two / continuously, Emacs got frozen. After a long, it will give a list of folders, like / did.

    opened by davidshen84 19
  • Command for symbol docs

    Command for symbol docs

    Aside from the completions themselves, the popup is useful for the accompanying documentation.

    Could we have a command that spawned again the popup in any already complete word?

    Thank you and keep up the good work.

    opened by vemv 15
  • Fix expansion behaviour when point is part-way through a word

    Fix expansion behaviour when point is part-way through a word

    If (point) is part-way through a word which is also a candidate, the old expansion behaviour is unexpected and undesirable.

    Given

    Foo|bar
    

    where '|' indicates the point and the ac-candidates are "Foobar" and "Foobarometer", pressing TAB to expand would result in

    Foobar|bar
    

    With this commit, the result is now more expected:

    Foobar|
    

    Additionally, given

    Foobar|om
    

    then if we expanded the candidate "Foobarometer", the result would previously have been:

    Foobarometer|om
    

    With this commit, the result is now:

    Foobarometer|
    
    opened by purcell 15
  • The architecture of 2.0

    The architecture of 2.0

    I want to discuss here about the architecture of AC 2.0. The main advance of 2.0 is to abolish the property-list style source definition. Instead, I want to adopt the defun style source definition like compay-mode.

    Plus, I want to make source definitions more flexible and extensible with good maintainability. The problem is that I don't have much experience about source development. So it is hard for me to decide how flexible an extensible it should be.

    Any suggestions are welcome.

    opened by m2ym 14
  • Don't exclude sources because of different prefix parsers.

    Don't exclude sources because of different prefix parsers.

    The current policy is too disruptive. Any source could break all other sources because it wants to implement its own prefix parser. But there is no point in excluding, say, words in current or all buffers, yasnippet, etc. Why not letting each source parse with its own prefix?

    PS: here is an example of the problems caused by the current source selection logic.

    opened by memeplex 12
  • auto-complete and org-mode

    auto-complete and org-mode

    I'm tying to use auto-complete (and popup.el) with org-mode. I've the following problem. If a pop-up overlay a folded entry the menu is broken. I obtain some ... instead of the suggested word and sometime the alignment of the entries are wrong. The problem is already described in this post http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00305.html

    opened by guancio 12
  • Menu is distorted and ac-expand doesn't work at the end of the buffer.

    Menu is distorted and ac-expand doesn't work at the end of the buffer.

    When at eob, ac menu is distorted. The cursor and inline overlay are moved beyond the ac-menu. Consequently ac-expand (tab) doesn't work when it is invoked repeatedly. This happens because the point is moved out of the ac-prefix-overlay regio. This is extremely harmful in the shell and comint buffers when editing is always at eob.

    There is already a workaround in auto-complete.el for the case when ac-point == (point-min) == (point-max). This workaround should be also used when point is at eob.

    opened by vspinu 12
  • Can not use ac-source-yasnippet.

    Can not use ac-source-yasnippet.

    when add belowing setting:

    (setq-default ac-sources '(ac-source-words-in-same-mode-buffers
                               ac-source-abbrev
                               ac-source-dictionary
                               ac-source-yasnippet 
                               ))
    
    

    shadow tips feature is not worked !

    if I comment ac-source-yasnippet, It rework for me.

    But in ac pop menu, can not show the yasnippet candidate

    How I can do setting yasnippet-candidate with ac ?

    opened by zw963 11
  • Update ac-css-property-alist with css3 props (from company)

    Update ac-css-property-alist with css3 props (from company)

    In the previous PR (#476) the author deleted the source repository and left us with raw patches only. I made a branch and applied the changeset from that PR. I'm not sure if it should be merged as-is. One thing that seems strange is the inclusion of parens (and commas) in some candidates, like matrix(,,,,,). From the diff it looks like we didn't have candidates like this before. Also, I imagine completing such a function would put the point after the closing paren - you'd then have to jump back to the beginning of the arguments list, which could be more distracting than completing to matrix| and pressing ( from there. Things like matrix(,,,,,) are probably better suited for yasnippet than AC. In any case - we now have a PR that is merge-able, whether we do merge it or not :)

    opened by piotrklibert 7
  • auto-complete does not respect

    auto-complete does not respect "completion-styles"

    Hi, Looks like auto-complete ignores completion-styles when building the candidate list... Problem shows itself on non substring based completion styles, eg. partial-completion.

    To reproduce: (Emacs 27.1, auto-complete #aafd3f5)

    ; <emacs --no-init-file>
    ; <set up path to auto-complete>
    (require 'auto-complete)
    (require 'auto-complete-config)
    (ac-config-default)
    (define-key global-map (kbd "TAB") 'ac-trigger-key-command)
    (setq completion-styles '(basic partial-completion))
    ; switch to new buffer
    ; activate emacs-lisp-mode
    ; type "(ad-to-lis"<TAB>; observe completion failure
    ; call M-x completion-at-point or company completion; observe input expansion to "add-to-list"
    

    From a quick look at ac-candidates, it seems they are assuming that the initial input is the candidates' common substring?

    Thanks

    question good first issue 
    opened by c4eater 2
  • Looking for a new maintainer

    Looking for a new maintainer

    auto-complete, popup-el and fuzzy-el are looking for new maintainers. If you are interested, then please say so.

    Currently I am the "owner" of these repositories but I have only volunteered to do that so that these packages can be handed over smoothly once we have found some volunteers. I am not qualified myself because I have never even just used these packages.

    discussion 
    opened by tarsius 39
  • Why people are turning away from this package?

    Why people are turning away from this package?

    I used to use it a year ago but seeing people switching to company-mode makes me feel uncomfortable. What is it that auto-complete isn't providing because of which people are switching to company-mode?

    discussion 
    opened by Compro-Prasad 16
  • Is there any way to add word databases which should also be looked for a match ?

    Is there any way to add word databases which should also be looked for a match ?

    I have a database of symbols used in a language. I want to have an auto-completion based on those words as well. Is there any way to achieve this using auto-complete?

    question 
    opened by sks4903440 1
  • how can i use tab instead of tab+<CR>

    how can i use tab instead of tab+

    .hmm,i use ycmd with ac, i want to use tab to complete word in popmenu,but now tab is use to select next one in popmenu then i need to to complete select one. i want to use tab to complete at the same time. what i need do? THANKS

    opened by rgb000000 0
Owner
Emacs Auto-Complete
Emacs Auto-Complete
Emacs configuration for Rust

Table of Contents Introduction Installation Melpa Manual installation Feature guide Indentation Code formatting Running / testing / compiling code Cli

The Rust Programming Language 919 Jan 4, 2023
Rust development environment for Emacs

Rustic Table of Contents Rustic Intro Installation straight Compilation Faces rustc errors Rustfmt edition 2018 LSP Server Client eglot lsp-mode lsp-e

null 612 Dec 30, 2022
Racer support for Emacs

Racer for Emacs This is the official Emacs package for Racer. Table of Contents Racer for Emacs Completion Find Definitions Describe Functions and Typ

null 398 Nov 30, 2022
On the fly syntax checking for GNU Emacs

https://www.flycheck.org Modern on-the-fly syntax checking extension for GNU Emacs. Try it! For a more gentle introduction read the Installation instr

Flycheck 2.3k Dec 30, 2022
crispmacs is a WIP implementation of Emacs from scratch in Rust.

crispmacs is a WIP implementation of Emacs from scratch in Rust.

rust 3 Jul 31, 2022
Visual Studio extension for Rust

Visual Studio extension for Rust Currently in development, and not feature complete. Stable versions are available on the Visual Studio extension gall

PistonDevelopers 697 Dec 18, 2022
Rust extension for Visual Studio 2017 with RLS support

Rust support for Visual Studio 2017 Preview Adds language support for Rust to Visual Studio 2017. Supports: code completion goto definition find all r

Zoey Riordan 111 Aug 4, 2022
crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).

crates Hello Rust & VSCode lovers, This is crates, an extension for crates.io dependencies. Aims helping developers to manage dependencies while using

Seray Uzgur 164 Jan 4, 2023
GitHub CLI extension to show & rename the default branch.

gh-default-branch GitHub CLI extension to show & rename the default branch. rename subcommand was inspired by this gist. ⚠️ Caution The rename subcomm

Daido Shota 8 Sep 22, 2022
A native debugger extension for VSCode based on LLDB

Features Conditional breakpoints, function breakpoints, logpoints, Hardware data access breakpoints (watchpoints), Launch debuggee in integrated or ex

null 1.6k Dec 31, 2022
A brand-new language server for Typst, plus a VS Code extension

Typst LSP A brand-new language server for Typst. Features Syntax highlighting, error reporting, code completion, and function signature help Compiles

Nathan Varner 414 Apr 17, 2023
Emacs client for ycmd, the code completion system.

This package is currently unmaintained! If you want to take over maintenance, let me know in an issue. emacs-ycmd emacs-ycmd is a client for ycmd, the

Austin Bingham 381 Dec 22, 2022
Easy c̵̰͠r̵̛̠ö̴̪s̶̩̒s̵̭̀-t̶̲͝h̶̯̚r̵̺͐e̷̖̽ḁ̴̍d̶̖̔ ȓ̵͙ė̶͎ḟ̴͙e̸̖͛r̶̖͗ë̶̱́ṉ̵̒ĉ̷̥e̷͚̍ s̷̹͌h̷̲̉a̵̭͋r̷̫̊ḭ̵̊n̷̬͂g̵̦̃ f̶̻̊ơ̵̜ṟ̸̈́ R̵̞̋ù̵̺s̷̖̅ţ̸͗!̸̼͋

Rust S̵̓i̸̓n̵̉ I̴n̴f̶e̸r̵n̷a̴l mutability! Howdy, friendly Rust developer! Ever had a value get m̵̯̅ð̶͊v̴̮̾ê̴̼͘d away right under your nose just when

null 294 Dec 23, 2022
Low effort scraping Python's pickle format in Rust. It is to complete pickle parsing as BeautifulSoup was to complete HTML parsing.

repugnant-pickle Because it is, isn't it? This is a Rust crate for dealing with the Python pickle format. It also has support for opening PyTorch file

Kerfuffle 7 Apr 7, 2023
This Intelligent Transportation Systems (ITS) MQTT client based on the JSon ETSI specification transcription provides a ready to connect project for the mobility

This Intelligent Transportation Systems (ITS) MQTT client based on the JSon ETSI specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...). Let's connect your device or application to our Intelligent Transport Systems (ITS) platform!

Orange 4 Nov 29, 2022
An extension to the bevy_ecs_tilemap, allowing for configurable tilesets, auto tiling, and more

bevy_ecs_tilemap_tileset A mouthful, I know. Working on a better name. An extension to the wonderful bevy_ecs_tilemap crate for Bevy, allowing for con

null 40 Dec 12, 2022
Rust Code Completion utility

Racer - code completion for Rust RACER = Rust Auto-Complete-er. A utility intended to provide Rust code completion for editors and IDEs. Maybe one day

null 3.4k Jan 4, 2023
Rust On the FLY completion for neovim

rofl.nvim Rust On the FLy completion engine for Neovim. Why Rust? It's 2021. I think the question you should be asking yourself is "Why NOT Rust?!?? (

TJ DeVries 63 Sep 25, 2022
A code-completion engine for Vim

YouCompleteMe: a code-completion engine for Vim Help, Advice, Support Looking for help, advice or support? Having problems getting YCM to work? First

null 24.5k Dec 31, 2022
call-me-maybe is a small CLI tool to notify you of the completion of a command

call-me-maybe call-me-maybe is a small CLI tool to notify you of the completion of a command By default, the tools consumes stdin for a message's cont

Samuel Yvon 4 Sep 16, 2022