|
From: | Eric Ludlam |
Subject: | Re: IDE |
Date: | Sat, 10 Oct 2015 18:05:55 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 10/10/2015 02:31 PM, John Wiegley wrote:
If we have a single paradigm for "determining interesting details about the buffer, and near point", with the ability to refine the query based on what is need, optionally cache results, etc., then the competing libraries we have today could share functionality. The present day `all-completions` function is too spare to fit this bill, so it's less of an IDE feature in my book and more just a Lisp library function.
In CEDET, the function / command `semantic-analyze-current-context' provides an output that has lots of details about the buffer near point. Not just what the cursor is on, but if it is a chain of symbols such as dereferencing struct pointers, and in many cases, it figures out the data type of the symbol the cursor is on. It also handles in-buffer caching, etc and plenty of performance tweaking is available.
This is independent of the functions that perform completions. Eric
[Prev in Thread] | Current Thread | [Next in Thread] |