Aptana Studio
  1. Aptana Studio
  2. APSTUD-3354

Editor blocks certain characters like double quotes, left curly braces, left paranthesis, left braces

    Details

      Description

      The editor seems to be incorrectly interpreting my code and not letting me open parenthesis, braces, or quotes. If I close the file and re-open it, things work but quickly break.

      In my case, it may be the hybrid code (PHP intermixed with HTML) that is confusing the editor. But the previous version did not have this issue. I'm not sure what the previous version was though actually because I haven't updated in a while and today I decided to and not can hardly work for a few seconds without being stopped now. HOW CAN I ROLL BACK?! I can't find the previous version to download and let me get back to work, please help !!

      1. aptana.log
        1.65 MB
        Shawn Wilson
      2. game.php
        2 kB
        Shawn Wilson
      1. 8-23-2011 1-45-41 PM.jpg
        50 kB

        Issue Links

          Activity

          Hide
          Ingo Muschenetz added a comment -

          Shawn,

          Can you please attach your log file (Help > Studio > Log File). That will help diagnose.

          Thanks,
          Ingo

          Show
          Ingo Muschenetz added a comment - Shawn, Can you please attach your log file (Help > Studio > Log File). That will help diagnose. Thanks, Ingo
          Hide
          Shawn Wilson added a comment -

          Here ya go.

          Show
          Shawn Wilson added a comment - Here ya go.
          Hide
          Shawn Wilson added a comment -

          Also, the method has changed for getting the log... it's Help>Aptana>View Log file Obviously I found it and it's pretty close, but some people may have been confused by that since there is no "studio" menu. Just a friendly comment, not a nitpick, sorry. smile

          Show
          Shawn Wilson added a comment - Also, the method has changed for getting the log... it's Help>Aptana>View Log file Obviously I found it and it's pretty close, but some people may have been confused by that since there is no "studio" menu. Just a friendly comment, not a nitpick, sorry. smile
          Hide
          Ingo Muschenetz added a comment -

          Ah, sorry, thanks. Can you confirm your Aptana Studio version (The "About Box" should give specific build details)?

          Show
          Ingo Muschenetz added a comment - Ah, sorry, thanks. Can you confirm your Aptana Studio version (The "About Box" should give specific build details)?
          Hide
          Ingo Muschenetz added a comment -

          Resolving as duplicate of APSTUD-3353 as the log file is identical.

          Show
          Ingo Muschenetz added a comment - Resolving as duplicate of APSTUD-3353 as the log file is identical.
          Hide
          Shawn Wilson added a comment -

          Are we sure it's the same because I have no issue with letters, only those special characters. And his description sounds like it goes away after re-open but that's only a temp fix because the first keypress in the newly opened file breaks it again.

          Also, any thought on a resolution? I'm dead in the water on development with my editor broken and no way to roll back a version.

          Show
          Shawn Wilson added a comment - Are we sure it's the same because I have no issue with letters, only those special characters. And his description sounds like it goes away after re-open but that's only a temp fix because the first keypress in the newly opened file breaks it again. Also, any thought on a resolution? I'm dead in the water on development with my editor broken and no way to roll back a version.
          Hide
          Ingo Muschenetz added a comment -

          The stack trace is identical between the two, so it's possible that it's a different issue, but it's more likely just a different way of exposing the problem. Hope to get you back to something usable ASAP, which most likely means we'll push a fix to the beta stream and have you update to that. I don't yet have an ETA, but I should have some more feedback in a little bit.

          In the meantime, and I know it's a terrible way to do it, but you could do "Open With" and choose one of the text editor options. That would at least allow you to edito your files right now without this issue.

          Show
          Ingo Muschenetz added a comment - The stack trace is identical between the two, so it's possible that it's a different issue, but it's more likely just a different way of exposing the problem. Hope to get you back to something usable ASAP, which most likely means we'll push a fix to the beta stream and have you update to that. I don't yet have an ETA, but I should have some more feedback in a little bit. In the meantime, and I know it's a terrible way to do it, but you could do "Open With" and choose one of the text editor options. That would at least allow you to edito your files right now without this issue.
          Hide
          Shawn Wilson added a comment -

          Or point me to a download for a version or two back. That would be great. It should be standard to allow downgrades.

          Show
          Shawn Wilson added a comment - Or point me to a download for a version or two back. That would be great. It should be standard to allow downgrades.
          Show
          Ingo Muschenetz added a comment - Can you try this first? http://wiki.appcelerator.org/display/tis/Reverting+to+a+Previous+Version
          Hide
          Shawn Wilson added a comment -

          That seems to be broken. I'm attaching the error I get when I click the installation details button.

          Show
          Shawn Wilson added a comment - That seems to be broken. I'm attaching the error I get when I click the installation details button.
          Hide
          Shawn Wilson added a comment -

          Error for installation details

          Show
          Shawn Wilson added a comment - Error for installation details
          Hide
          Shalom Gibly added a comment -

          @Shawn - We managed to recreate the issue and we are working on fixing it.
          We'll update this ticket with a workaround or a solution in a few hours.

          Thanks!

          Show
          Shalom Gibly added a comment - @Shawn - We managed to recreate the issue and we are working on fixing it. We'll update this ticket with a workaround or a solution in a few hours. Thanks!
          Hide
          Shawn Wilson added a comment -

          Thank you. And I really appreciate your prompt attention to this. It's rare to get that quick of service from an online form these days so don't think your hard work is unnoticed.

          Show
          Shawn Wilson added a comment - Thank you. And I really appreciate your prompt attention to this. It's rare to get that quick of service from an online form these days so don't think your hard work is unnoticed.
          Hide
          Shalom Gibly added a comment -

          Recreation:

          <?
          	require "_lib_swstandard.php";
          	$id = $_GET['id'];
          	if ($ar_game) {
          	  // RECREATION - Add '' here. Delete the right one and then delete the left one.	
          	}
          
          ?>
          <meta name="viewport" content="width=device-width,user-scalable=no" />
          <h1>Game [<?=$ar_game['id']?>]</h1>
          <a href="game.php?id=<?=$id?>&player=<?=$player?>">REFRESH</a>
          <INPUT TYPE="BUTTON" ONCLICK="window.location.href='_lib_dopost.php?m=bet&player=<?=$player?>&game=<?=$id?>&bet=10'" style="background: white;"></FORM>
          <INPUT TYPE="BUTTON" ONCLICK="window.location.href='_lib_dopost.php?m=bet&player=<?=$player?>&game=<?=$id?>&bet=50'" style="background: blue; color: white;"></FORM>
          </html> 
          

          Following this code and removing the added quotes triggers an error. After that error is triggered, no other 'pair-matched' characters can be inserted.

          Show
          Shalom Gibly added a comment - Recreation: <? require "_lib_swstandard.php"; $id = $_GET['id']; if ($ar_game) { // RECREATION - Add '' here. Delete the right one and then delete the left one. } ?> <meta name="viewport" content="width=device-width,user-scalable=no" /> <h1>Game [<?=$ar_game['id']?>]</h1> <a href="game.php?id=<?=$id?>&player=<?=$player?>">REFRESH</a> <INPUT TYPE="BUTTON" ONCLICK="window.location.href='_lib_dopost.php?m=bet&player=<?=$player?>&game=<?=$id?>&bet=10'" style="background: white;"></FORM> <INPUT TYPE="BUTTON" ONCLICK="window.location.href='_lib_dopost.php?m=bet&player=<?=$player?>&game=<?=$id?>&bet=50'" style="background: blue; color: white;"></FORM> </html> Following this code and removing the added quotes triggers an error. After that error is triggered, no other 'pair-matched' characters can be inserted.
          Hide
          Max Stepanov added a comment -

          Fixed in development branch

          Show
          Max Stepanov added a comment - Fixed in development branch
          Hide
          Ingo Muschenetz added a comment -

          Thank you for your patience. Please test the fix. Update to the beta branch (see http://preview.appcelerator.com/studio/ for details, choosing the "beta" stream for Aptana Studio 3.0.5) and let us know if it does (or does not) fix the problem ASAP.

          Show
          Ingo Muschenetz added a comment - Thank you for your patience. Please test the fix. Update to the beta branch (see http://preview.appcelerator.com/studio/ for details, choosing the "beta" stream for Aptana Studio 3.0.5) and let us know if it does (or does not) fix the problem ASAP.
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.5.201108231934
          Windows 7

          With file attached to this ticket, "game.php", open in the Studio, the editor is continuing to prevent most keyboard input. All it will print are the braces, parentheses and brackets, and it will not delete these or the original content.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108231934 Windows 7 With file attached to this ticket, "game.php", open in the Studio, the editor is continuing to prevent most keyboard input. All it will print are the braces, parentheses and brackets, and it will not delete these or the original content.
          Hide
          Max Stepanov added a comment - - edited

          Joel, I cannot reproduce any of the issues you described. Studio standalone build: 3.0.5.201108231934
          Please attache the log if it have any exceptions.

          Show
          Max Stepanov added a comment - - edited Joel, I cannot reproduce any of the issues you described. Studio standalone build: 3.0.5.201108231934 Please attache the log if it have any exceptions.
          Hide
          Ingo Muschenetz added a comment -

          Max, did you try on OS X or Windows. I can't replicate on OS X, but wondering if Windows might exhibit the behavior.

          Show
          Ingo Muschenetz added a comment - Max, did you try on OS X or Windows. I can't replicate on OS X, but wondering if Windows might exhibit the behavior.
          Hide
          Shalom Gibly added a comment -

          Also, please provide source code, in case you modified the one attached to this ticket.

          Show
          Shalom Gibly added a comment - Also, please provide source code, in case you modified the one attached to this ticket.
          Hide
          Ingo Muschenetz added a comment -

          I just tried in Windows as well. No luck replicating the issue. I typed all manner of random chars in random spots.

          Show
          Ingo Muschenetz added a comment - I just tried in Windows as well. No luck replicating the issue. I typed all manner of random chars in random spots.
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.5.201108231934
          Windows 7

          The previously mentioned issue was due to the file's read only status. The file "game.php" is editable in this build.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108231934 Windows 7 The previously mentioned issue was due to the file's read only status. The file "game.php" is editable in this build.
          Hide
          Shawn Wilson added a comment -

          I have updated to this build:

          Aptana Studio 3, build: 3.0.5.201108231934
          (c) Copyright 2005-2011 by Appcelerator, Inc. All rights reserved.

          The problem with the installation history button has been resolved. I can now see my installation history. I did not try to actually revert to an old version, but can see that my last version was 3.0.0.201102151705-15022011170613 installed on 4/1/11.

          A quick test of the pair-matched characters issue seems to be fixed. I will update the case later in the day as I work on real code to let you know if I see it come back.

          Thank you guys so much for working hard on this over night and getting a fix the very next day. Great stuff!

          Show
          Shawn Wilson added a comment - I have updated to this build: Aptana Studio 3, build: 3.0.5.201108231934 (c) Copyright 2005-2011 by Appcelerator, Inc. All rights reserved. The problem with the installation history button has been resolved. I can now see my installation history. I did not try to actually revert to an old version, but can see that my last version was 3.0.0.201102151705-15022011170613 installed on 4/1/11. A quick test of the pair-matched characters issue seems to be fixed. I will update the case later in the day as I work on real code to let you know if I see it come back. Thank you guys so much for working hard on this over night and getting a fix the very next day. Great stuff!
          Hide
          Shawn Wilson added a comment -

          off-topic, I have a question about code assist, or completion, I'm not sure what the right term is for this particular feature... but who could I ask about it? It's not a bug, I just need some education so I can find the right thing in the settings and shut it off. I'm writing PHP and HTML and I find settings for Java and Python, so I'm not sure I'm finding the right things. Thanks!

          Show
          Shawn Wilson added a comment - off-topic, I have a question about code assist, or completion, I'm not sure what the right term is for this particular feature... but who could I ask about it? It's not a bug, I just need some education so I can find the right thing in the settings and shut it off. I'm writing PHP and HTML and I find settings for Java and Python, so I'm not sure I'm finding the right things. Thanks!
          Hide
          Shawn Wilson added a comment -

          Never mind about my previous question. I found what I was after.

          Show
          Shawn Wilson added a comment - Never mind about my previous question. I found what I was after.
          Hide
          Ingo Muschenetz added a comment -

          Had to reopen to assign "notable" label

          Show
          Ingo Muschenetz added a comment - Had to reopen to assign "notable" label

            People

            • Assignee:
              Max Stepanov
              Reporter:
              Shawn Wilson
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development