Commenting a whole method

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Commenting a whole method

Matthieu
Hello everyone,

When I try to comment a whole method, if I only put one quote at the beginning of the method, a window opens telling me that there is a syntax error : unmatched " in comment.
For some reasons it does not appear all the time.

One way to reproduce this is to create a new method , name it and directly press the " button on the line below the name. Normally you'll have two " printed and if you just remove the last one you'll have the window error popping.

I am using image #50074 and I don't know if it is a feature or a bug but I didn't have this behavior with #50001.

If it is a feature I just want to say that I find this a bit annoying :(

Cheers,

Matthieu
Reply | Threaded
Open this post in threaded view
|

Re: Commenting a whole method

Marcus Denker-4
Hello,

This seems to be a bug with the AST syntax highlighting.

I will try to reproduce and add an issue (there was a bug similar that I fixed already).

You can turn it off in the preferences and use the old parser for highlighting if you are too disturbed.

> On 03 Jun 2015, at 08:56, Matthieu Lacaton <[hidden email]> wrote:
>
> Hello everyone,
>
> When I try to comment a whole method, if I only put one quote at the beginning of the method, a window opens telling me that there is a syntax error : unmatched " in comment.
> For some reasons it does not appear all the time.
>
> One way to reproduce this is to create a new method , name it and directly press the " button on the line below the name. Normally you'll have two " printed and if you just remove the last one you'll have the window error popping.
>
> I am using image #50074 and I don't know if it is a feature or a bug but I didn't have this behavior with #50001.
>
> If it is a feature I just want to say that I find this a bit annoying :(
>
> Cheers,
>
> Matthieu


Reply | Threaded
Open this post in threaded view
|

Re: Commenting a whole method

Nicolai Hess
In reply to this post by Matthieu


2015-06-03 8:56 GMT+02:00 Matthieu Lacaton <[hidden email]>:
Hello everyone,

When I try to comment a whole method, if I only put one quote at the beginning of the method, a window opens telling me that there is a syntax error : unmatched " in comment.
For some reasons it does not appear all the time.

One way to reproduce this is to create a new method , name it and directly press the " button on the line below the name. Normally you'll have two " printed and if you just remove the last one you'll have the window error popping.

I am using image #50074 and I don't know if it is a feature or a bug but I didn't have this behavior with #50001.

If it is a feature I just want to say that I find this a bit annoying :(

it is a bug. It is because we changed the styler. The new styler still has some minor issues (like this one).
can you open a bug report, please.

 

Cheers,

Matthieu

Reply | Threaded
Open this post in threaded view
|

Re: Commenting a whole method

Matthieu

2015-06-03 9:17 GMT+02:00 Nicolai Hess <[hidden email]>:


2015-06-03 8:56 GMT+02:00 Matthieu Lacaton <[hidden email]>:
Hello everyone,

When I try to comment a whole method, if I only put one quote at the beginning of the method, a window opens telling me that there is a syntax error : unmatched " in comment.
For some reasons it does not appear all the time.

One way to reproduce this is to create a new method , name it and directly press the " button on the line below the name. Normally you'll have two " printed and if you just remove the last one you'll have the window error popping.

I am using image #50074 and I don't know if it is a feature or a bug but I didn't have this behavior with #50001.

If it is a feature I just want to say that I find this a bit annoying :(

it is a bug. It is because we changed the styler. The new styler still has some minor issues (like this one).
can you open a bug report, please.

 

Cheers,

Matthieu