Buggy Syntax Coloring in Zend Studio 9.0.1

General discussion on Zend Studio

Moderator: natalia_b_zend

Buggy Syntax Coloring in Zend Studio 9.0.1

Postby plurotech on Thu Dec 29, 2011 7:34 pm

Seems like with every upgrade, this software is regressing into a bigger pile of crap.

zendcolors.gif
zendcolors.gif (2.81 KiB) Viewed 1424 times
plurotech
 
Posts: 1
Joined: Thu Dec 29, 2011 7:28 pm

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby ganoro on Thu Dec 29, 2011 7:52 pm

Using the same source code has not resulted in the same broken coloring issue.
Could you plea let us know the full scenario? If its better for you try contacting our support (http://www.zend.com/en/support-center/).

Thanks for sharing we will be fixing this once we find exactly the root cause of this issue.
User avatar
ganoro
 
Posts: 409
Joined: Wed Jan 21, 2009 5:00 pm

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby karakonjul on Tue Mar 20, 2012 3:16 pm

Unfortunately it seems like this is not caused by the code that's been edited itself, but by the actions of the developer while they're editing it. As such, it's much more difficult to reproduce it reliably.

I have recorded a video of this while it happens - http://www.youtube.com/watch?v=kYoERl_9A_g, using a trial version of Zend Studio 9.0.2

Usually it happens right after I press "Enter" to accept a code-assist option, or just using ctrl+space to insert the only proposal automatically. It can also happen after I delete/cut/paste a piece of code. In the above video, I couldn't cause the coloring to break until I added a parameter to method2. Once the corruption starts, it begins to move around while the code is edited, changing colors seemingly randomly accross the file. Cut and paste of the whole file contents doesn't fix it, somehow the corruption is preserved after the file has been emptied and then reappears after the content is pasted back again. It usually takes reopening of the file to fix the problem.

That's the code from the video:

Code: Select all
<?php

class A {

   public function method1(){
      $this->method2($param);
   }

   public function method2($param){
      echo $param;
   }

}
karakonjul
 
Posts: 2
Joined: Tue Mar 20, 2012 2:07 pm

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby sylvie6713 on Tue Mar 20, 2012 4:26 pm

Hm ... I also could not reproduce this (even after watching the video).
What is your OS? Anything specific that you set in preferences?
Sylvia Tancheva
QA Team, Zend
User avatar
sylvie6713
 
Posts: 298
Joined: Fri Feb 27, 2009 10:24 am
Location: Bulgaria

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby karakonjul on Fri Jun 15, 2012 8:27 am

Sorry for not being around for so long...

OS is Windows 7 32bit with Java 7, and btw the same thing keeps happening with PDT 3.0.2 as well. I thought AnyEdit might be interfering (by removing trailing spaces and converting leading spaces to tabs, etc.), but it kept happening even after AnyEdit was removed from Eclipse. I haven't installed anything else to the package downloaded from Zend.

The issue seems to be progressing in the course of working on a project. One time the syntax coloring breaks consistently, even after reopening the file - doing the same simple modifications (adding a phpdoc comment by typing /** and pressing enter) triggered the bug every time. Removing and recreating the project (including deletion of the project files from the source folder - .settings, .buildpath, .project) didn't do anything. Starting with a brand new workspace seemed to fix it - maybe it has to do with my preferences, as you suggested. I change a lot of stuff though, so I'm not sure where to start looking... Right now I'm on vanilla PDT 3.0.2, I'll try to change only one setting every morning and then spend the day working as normal until it breaks again.
karakonjul
 
Posts: 2
Joined: Tue Mar 20, 2012 2:07 pm

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby sylvie6713 on Fri Jun 15, 2012 8:49 am

OK let me know when you find something more specific because otherwise it is a bit of shooting in the dark ... noone have reported such problems for a long time.

Thanks
Sylvia Tancheva
QA Team, Zend
User avatar
sylvie6713
 
Posts: 298
Joined: Fri Feb 27, 2009 10:24 am
Location: Bulgaria

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby zend-pit on Tue Jan 15, 2013 12:46 pm

Unfortunatelly, I can't contribute to find a possibility to reproduce the bug. But I wanted to tell you that this happens quiet often.
In our company we have 6 installations up and running every day. We started using Zend Studio 7 at August 2011. Only one of our developer had this issue. I have to mention that all of us had windows xp(x86) at that time. We were unable to reproduce it on other installations and so tried to live with it. We bought Zend Studio 8 on Oktober 2011 and got Zend Studio 9 for free short time later. The problem persisted and even a second developer got those wired syntax highlighting. But not always, just sometimes in some files randomly. In March 2012 we upgraded to Window 7 (x64). Starting from scratch solved the issue for a month or so. Over the last few months now 3 of our 6 developers are working without syntax highlighting (Zend Studio 9.0.4).

Even I really love Zend Studio (syntax highlighting works for me) our next budget rounds are upcoming and it seems that I have to recommend that it's not going to Zend Technologies due to this issue.

My point is, you may want to spend more time for trying reproducing it, since this is a basic feature which has to work reliably. This is not an issue a few customers have, but a lot of people out there. Only a minimum percentage is writing in a forum or calling the support for that issue. Just imagine how many are using the trial version and simply not bying this great product because they think "Ouch, it seems this IDE can't handle syntax highlighting correctly".

If I can help in any way, let me know. May you want the whole settings/workspace of one of our "infected" developers.
zend-pit
 
Posts: 4
Joined: Tue Nov 22, 2011 2:00 pm

Re: Buggy Syntax Coloring in Zend Studio 9.0.1

Postby sylvie6713 on Mon Jan 21, 2013 8:41 am

Hi
I guess settings would be a good start. Thanks in advance.
Sylvia
Sylvia Tancheva
QA Team, Zend
User avatar
sylvie6713
 
Posts: 298
Joined: Fri Feb 27, 2009 10:24 am
Location: Bulgaria


Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 4 guests