• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
erroneous completion behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

erroneous completion behaviour


  • Subject: erroneous completion behaviour
  • From: Markian Hlynka <email@hidden>
  • Date: Thu, 8 Jul 2004 15:15:31 -0600

I'm seeing some weird behaviour with completions turned.

say I have the line
             if ( board[pi-num][pj-num] == empty ) {

I want to change it to
             if ( theboard.board[pi-num][pj-num] == empty ) {

After I do that, I hold down the right arrow key to move into the line
and make other changes. I still haven't figured out if it's me pausing
the cursor at just before the second 'num' or if something in xcode
makes me stop, but the result is frequently:
             if ( theboard.board[pi-num][pj-'a'num] == empty ) {

This happens without me having to touch return or do anything; if I
keep holding down the arrow (or maybe it's if I release and re-press)
it just inserts this junk. I can't seem to reproduce this reliably
_unless_ I first add the 'theboard.' part. then, chances are completion
will insert something, even if I hold down the arrow all the way
through.


As another example, I just got:
         if ( theboard.board[pi+num][pj+num] != pilayer ) {

completion added the 'i' to 'player'
and...
             if ( theboard.board[pi+k][pj+k] == opp 'a') {

it added that 'a' there.

This is beyond annoying. I prefer my IDEs NOT add bugs in my code; I am
quite capable of doing that on my own, thank you very much.

Obviously I want to report a bug. However, I don't know what exactly to
say, and I don't know if I can reproduce this on another small example;
obviously there are a bunch of "learned" completions for this
file/project. (mind you, Apple can have the code to look at if they
want... or pieces of it anyway; not all of it's mine.

So, what do I want from the list?

-Suggestions on how to write up the bug
-confirmation if anyone else has noticed or reproduced this.
-suggestions on how 'serious' a bug I should report. I think it's quite
serious, since it's adding stuff to my code without my express
permission (return)!

Thanks,

Markian
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: errors & warnings in gutter
  • Next by Date: errors trying to compile with PMTicketRef
  • Previous by thread: errors & warnings in gutter
  • Next by thread: errors trying to compile with PMTicketRef
  • Index(es):
    • Date
    • Thread