Re: [Anjuta-list] Tab/Space Settings for project independent



Am Sat, 19 Jun 2010 10:28:52 +0200 schrieb Johannes Schmid:

> > is it possible to set the tab/spacing settings from the editor for
> > each project independent? Currently I've the problem that I've some
> > projects using tabs and some using spaces.
> 
> No or at least not yet as we don't really have a good solution to make
> the user aware of that. Technically it should be possible by using
> different GSettings backends in the future.
> (https://bugzilla.gnome.org/show_bug.cgi?id=583365)

Why not saving this simply in the .anjuta file?

> > Maybe it would be a solution to let Anjuta (or GtkSourceView) detect
> > vim modelines? Because in my case the sources with tabs are all
> > marked with vim modlines like:
> > 
> > /*
> >  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
> >  */
> > 
> 
> Thanks for noticing. Actually there isn't a very good specification
> for vim modelines (or at least I found none) and anjuta assumed that
> the key=value pairs were seperated by spaces though colons seems also
> be ok.
> 
> Fixed in:
> http://git.gnome.org/browse/anjuta/commit/?id=c3f99786ff601d78488f7129907abf1fe26f02de

Thanks!

> Btw, I guess anjuta won't ever support "cino=>5n-3f0^-2{2" whatever
> this does...

I also don't know.

> I was wondering a bit though, why an indentation size of 3 would be
> used together with a tabsize of 8.

Yes, I know. Not sure why the Enlightenment developers use such strange
formating. But if I commit code there I've to follow the code
guideline...

regards
	Andreas




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