Re: [gedit-list] Commenting code, how to do that...
- From: "Yevgeniy A. Viktorov" <wik osmonitoring com>
- To: gedit-list gnome org
- Subject: Re: [gedit-list] Commenting code, how to do that...
- Date: Sun, 29 Mar 2009 17:49:24 +0300
Hello,
I am using "code comment" plugin and using the case, wanted to ask, is
there a way to switch it's context for php language?
i.e. currently it uses the "#" symbol for block and line, but I would
like to use c/java like comments, e.g. /*...*/ and //
Thanks.
p.s.
Syntax highlighting works fine for both types.
Paolo Borelli wrote:
> Il giorno sab, 28/03/2009 alle 11.53 +0100, Petar Milin ha scritto:
>
>> Hi!
>> I wonder how to manage automatic code commenting for R language. There
>> is nice auto-commenting/uncommenting option in Edit menu. It works in
>> Python, or LaTeX, but not in R. How can I add that? Comment in R is '#'.
>>
>>
>
> The information about how to comment a block is taken from the
> corresponding gtksourceview lang file (R.lang in this case).
>
> As far as I can see R.lang contains:
>
> ...
> <property name="line-comment-start">#</property>
> ...
>
> So it should work.
>
> Which version of gedit and gtksourceview are you using? Can you check
> from the View->Syntax Highlighting menu that the R syntax highlighting
> mode is actually activated?
>
> Paolo
>
>
>
>> Thanks!
>> PM
>>
>> _______________________________________________
>> gedit-list mailing list
>> gedit-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gedit-list
>>
>>
>
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]