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



Hi!

> 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)

> 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

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

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

Regards,
Johannes

Attachment: signature.asc
Description: This is a digitally signed message part



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