[Bug 186112] Kdevelop is not starting

Andreas Pakulat apaku at gmx.de
Thu Mar 5 15:25:50 UTC 2009


On 05.03.09 15:48:15, Cédric Pasteur wrote:
> Le mercredi 04 mars 2009 17:54:49 Andreas Pakulat, vous avez écrit :
> > On 04.03.09 17:35:10, Cédric Pasteur wrote:
> > > I have made a fix for this. I just added a function in ISourceFormatter
> > > to get the information I used to take from the language support.
> > >
> > >
> > > If it's ok for you, I'll commit this tonight.
> >
> > Dunno how that would solve the problem, unless you hardcode the languages
> > that a given formatter can handle.
>
> I don't understand why a formatter would not hardcode the languages it can 
> deal with. A formatter can only deal with a fixed number of languages. 
> Unless there is going to be more than one language support per language, I 
> don't really see a problem with hardcoding this.

I meant hardcoding as in "hardcoding in C++", which means updating and
changing this needs someone who can compile the plugin. Whereas hardcoding
in the .desktop file would mean anybody can update it, in case a formatter
gains support for a new language.

Andreas
 
-- 
Your society will be sought by people of taste and refinement.




More information about the KDevelop-devel mailing list