emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collecting completion candidates from multiple files


From: Daniele Nicolodi
Subject: Re: Collecting completion candidates from multiple files
Date: Thu, 13 Jan 2022 09:53:55 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

On 13/01/2022 00:19, Daniel Martín wrote:
Daniele Nicolodi <daniele@grinta.net> writes:

Hello,

is there a standard facility and/or user interface to collect
completion candidates from multiple files composing a project?

I'm developing a mode for a language that has an "include" facility
and I would like to support collecting completion candidates from the
definitions contained in all the files that compose a project,
independently of whether the current buffer has an explicit "include"
directive or not.

The standard facility provided by Emacs is based on the hook
completion-at-point-functions, that each major mode can customize to
provide appropriate completion on the text in Emacs buffers.

Hello Martin,

thank you for your response, I know how to implement completion. What I'm inquiring about is how to implement the collection of completion candidates from multiple buffers. I can implement this in my mode, however I'm wondering if Emacs already has a facility for this kind of things.

Cheers,
Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]