[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IDE
From: |
Lluís |
Subject: |
Re: IDE |
Date: |
Wed, 21 Oct 2015 16:40:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Dmitry Gutov writes:
> On 10/20/2015 03:37 PM, Lluís wrote:
>> And we also have the following project-types:
>>
>> * project-type-generic:
>> * match: Return t if we can detect a project root using VC
>> * service-types:
>> * service-type-root: service-root-vc
> I see. This looks more like a classical structure, with one "project" objects,
> two attributes in there, and the second one containing a map with list values.
> We could indeed interpret those values as hooks, but that question is less
> important.
> The main benefit of this structure is familiarity to anyone who's done a
> little
> OOP.
> What I was imagining, since we're talking about services:
> project-types:
> - project-type-generic:
> * match
> * root
> - project-type-generic-c:
> * match
> * root
> search-paths-types:
> - search-paths-linux (project)
> * search-paths
> * resolve-include-path <-- maybe
> - search-paths-c++ (project)
> * likewise
> * likewise
> symbols-list-types:
> - symbols-list-cscope (project, search-paths)
> - symbols-list-wisent (project, search-paths)
> The upside is that I can write a new package called magic-8-ball, which would
> add an element at the beginning of symbols-list-types, and that element will
> have a chance to be used in every kind of project. Now just the projects that
> were explicitly written with magic-8-ball in mind. That adds flexibility.
> The downside is that indirection adds complexity as well, and could turn out
> to
> be mostly unused.
Aha, I see we were imagining different ways of structuring the concepts. What I
don't understand is what you mean with the parenthesis you add to some of the
elements of your "service-type hooks". Are these dependencies between services?
Now, how do you auto-detect what services to use on your currently open project?
I.e., how do you auto-detect what service implementations must be used?
Maybe I wasn't explicit enough in my case, but project-types are the only ones
that provide project detection, and therefore dictate the service
implementations to use on your project.
Cheers,
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
- Re: IDE, (continued)
- Re: IDE, Lluís, 2015/10/16
- Re: IDE, Dmitry Gutov, 2015/10/16
- Re: IDE, Lluís, 2015/10/17
- Re: IDE, Dmitry Gutov, 2015/10/17
- Re: IDE, Lluís, 2015/10/18
- Re: IDE, Dmitry Gutov, 2015/10/18
- Re: IDE, Lluís, 2015/10/19
- Re: IDE, Dmitry Gutov, 2015/10/19
- Re: IDE, Lluís, 2015/10/20
- Re: IDE, Dmitry Gutov, 2015/10/20
- Re: IDE,
Lluís <=
- Re: IDE, Dmitry Gutov, 2015/10/21
- Re: IDE, Steinar Bang, 2015/10/20
- Re: IDE, Dmitry Gutov, 2015/10/20
- Re: IDE, Lluís, 2015/10/21
- Re: IDE, Dmitry Gutov, 2015/10/27
- Re: IDE, Lluís, 2015/10/28
- Re: IDE, Steinar Bang, 2015/10/27
- Re: IDE, Filipp Gunbin, 2015/10/28
- Re: IDE, Steinar Bang, 2015/10/28
- Re: IDE, Filipp Gunbin, 2015/10/28