[Geany-Users] fileheader comment-type
johannes.lange at xxxxx
Wed Aug 7 13:27:05 UTC 2013
thanks for your reply!
I'm using version 0.20 at the moment, so that doesn't work (didn't even
know that it's so outdated). I've got an old openSUSE version, so there
is no newer version of geany in the repositories at the moment, but I'll
update my system soon and then try your solution :-) Until then I'll
just use a workaround with snippets.
Yes, after I sent the mail, I realized that the "[styling]" thing was
About the indentation: everything in the fileheader is indented with 6
whitespaces like this:
* [license etc.]
------------ /Original-Nachricht/ ------------
*Betreff:* Re: [Geany-Users] fileheader comment-type
*Von:* Colomban Wendling <lists.ban at herbesfolles.org>
*An:* users at lists.geany.org
*Datum:* Wed, 07 Aug 2013 15:05:14 +0200
> Hi Johannes,
> Le 07/08/2013 14:41, Johannes Lange a écrit :
>> Hey geany users,
>> I'm trying to change the the fileheader for C++ files to multiline
>> comments (/* ... */) instead of (//).
>> What I've tried so far is to edit "filetypes.cpp" and set:
>> This works fine but affects my "toggle-comment" which is not what I want.
> You should have also a "comment_single" setting, which for C++ should be
> set to "//", and it should then normally work like you want. BTW, this
> is the default, at least for Geany 1.23. Which version do you use?
> Checking the log tells me the separate single-line comment support was
> added in 0.21, but that a bug leading to use single-line comments for
> multiline blocks was fixed in 1.23.
>> In the "[styling]" section there are options:
>> but I don't know if they can help with my problem and did not find
>> something about it in the documentation.
>> It would be nice if someone knew a solution to this.
> This has nothing to do with your issue, it's only used to chose the
> coloring for syntax highlighting.
>> A second question (but not that urgend) would be how to remove the
>> indentation in the fileheader.
> Which indentation?
> Users mailing list
> Users at lists.geany.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users