Message from discussion
Autocomplete behavior discussion
Received: by 10.216.80.144 with SMTP id k16mr1165807wee.1.1293994468654;
Sun, 02 Jan 2011 10:54:28 -0800 (PST)
X-BeenThere: kod-app@googlegroups.com
Received: by 10.216.62.75 with SMTP id x53ls8202289wec.3.p; Sun, 02 Jan 2011
10:54:26 -0800 (PST)
Received: by 10.216.55.208 with SMTP id k58mr1312550wec.5.1293994466510;
Sun, 02 Jan 2011 10:54:26 -0800 (PST)
Received: by 10.216.55.208 with SMTP id k58mr1312549wec.5.1293994466492;
Sun, 02 Jan 2011 10:54:26 -0800 (PST)
Return-Path: <dior...@gmail.com>
Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169])
by gmr-mx.google.com with ESMTP id y33si3082018wbd.2.2011.01.02.10.54.25;
Sun, 02 Jan 2011 10:54:25 -0800 (PST)
Received-SPF: pass (google.com: domain of dior...@gmail.com designates 74.125.82.169 as permitted sender) client-ip=74.125.82.169;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dior...@gmail.com designates 74.125.82.169 as permitted sender) smtp.mail=dior...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by wyj26 with SMTP id 26so13364462wyj.0
for <kod-app@googlegroups.com>; Sun, 02 Jan 2011 10:54:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:mime-version:sender:received:from:date
:x-google-sender-auth:message-id:subject:to:content-type;
bh=GBvKJ6hL1CbMefTkrNQym5a+lxs667m2Qyrd/obskXY=;
b=DXio8bk/4jD6ZDjm95ucH4L330/AhuKtXT7kaC2cnxApVgCHBkZDTsxfE8YXUuJs9k
Pf9y/JwKr2RPg4KUi1vp6dWZLCuw+s+AvXbnVc6yH6RNZM70cUIdTw9HsHqYesS9AFyJ
VmyATZqjM5y7AkDUJxjO8azqHRgH4ZLWXNLCg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:sender:from:date:x-google-sender-auth:message-id
:subject:to:content-type;
b=KMwKhoxNh0TBu02zhuqzXtDSrGe/fmQEWlGqcz0W7fevK8ri+rjhKHEBr9Wu2JAYRc
RZTcWj5iFOWksFTCZRoTRbb4FTZYpHsripxHmfV21aHxFKuKiCcJasF3Nun91t988zBc
qyePc9OKr0dIS2UNWO0RT1aa7+v7PwzVRwuAg=
Received: by 10.227.183.198 with SMTP id ch6mr11350147wbb.227.1293994465357;
Sun, 02 Jan 2011 10:54:25 -0800 (PST)
MIME-Version: 1.0
Sender: dior...@gmail.com
Received: by 10.227.20.85 with HTTP; Sun, 2 Jan 2011 10:54:05 -0800 (PST)
From: Steve Johnson <sr...@case.edu>
Date: Sun, 2 Jan 2011 13:54:05 -0500
Message-ID: <AANLkTikkwdD104y9pdb5cv8dv8Kb8etC47nP5c+2x...@mail.gmail.com>
Subject: Autocomplete behavior discussion
To: kod-app@googlegroups.com
Content-Type: multipart/alternative; boundary=20cf30025d2272ee490498e19065
--20cf30025d2272ee490498e19065
Content-Type: text/plain; charset=ISO-8859-1
Kod's current autocomplete system uses the default Cocoa behavior because I
wanted to work on the back end, not the front end. Now the back end is in
place and it's time to make the interface behave in a way that makes sense
to programmers.
Things I have been hearing that I agree with:
- Esc/Shift+Esc should cycle through results rather than bringing the menu
up and closing it repeatedly
- These keys should be customizable
- Resulting text should not be selected, but rather the cursor should be
moved to the end of the completed word (like TextMate, naturally)
- The results list is not always necessary and can get in the way. But I
like seeing the list if the first suggestion isn't what I want.
Here is what I propose:
- Keyboard shortcuts will be preferences, though I may not get around to the
GUI for some time
- The default Cocoa autocomplete behavior will be completely disabled and a
custom system put in its place
- That means the suggestions list will be temporarily removed, but I want to
bring it back with syntax-highlighted items
- Whatever the consensus is on Perfect Autocomplete Behavior will be
implemented
What is Perfect Autocomplete Behavior? I have two models to work from. One
is TextMate, the simplest. Esc/Shift+Esc cycles through results and the
cursor is kept at the end. The other is Xcode, which shows a "completion
ghost" which is accepted if you press Return, in addition to an Esc
suggestions menu. I think I prefer the TextMate model with the addition of a
list that appears if the first suggestion is not taken. It's certainly
easier to implement.
Your thoughts?
-Steve Johnson
--20cf30025d2272ee490498e19065
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Kod's current autocomplete system uses the default Cocoa behavior becau=
se I wanted to work on the back end, not the front end. Now the back end is=
in place and it's time to make the interface behave in a way that make=
s sense to programmers.<div>
<br></div><div>Things I have been hearing that I agree with:</div><div>- Es=
c/Shift+Esc should cycle through results rather than bringing the menu up a=
nd closing it repeatedly</div><div>- These keys should be customizable</div=
>
<div>- Resulting text should not be selected, but rather the cursor should =
be moved to the end of the completed word (like TextMate, naturally)</div><=
div>- The results list is not always necessary and can get in the way.=A0Bu=
t I like seeing the list if the first suggestion isn't what I want.</di=
v>
<div><br></div><div>Here is what I propose:</div><div>- Keyboard shortcuts =
will be preferences, though I may not get around to the GUI for some time</=
div><div>- The default Cocoa autocomplete behavior will be completely disab=
led and a custom system put in its place</div>
<div>- That means the suggestions list will be temporarily removed, but I w=
ant to bring it back with syntax-highlighted items</div><div>- Whatever the=
consensus is on Perfect Autocomplete Behavior will be implemented</div>
<div><br></div><div>What is Perfect Autocomplete Behavior? I have two model=
s to work from. One is TextMate, the simplest. Esc/Shift+Esc cycles through=
results and the cursor is kept at the end. The other is Xcode, which shows=
a "completion ghost" which is accepted if you press Return, in a=
ddition to an Esc suggestions menu. I think I prefer the TextMate model wit=
h the addition of a list that appears if the first suggestion is not taken.=
It's certainly easier to implement.</div>
<div><br></div><div>Your thoughts?</div><div><br></div><div>-Steve Johnson<=
/div>
--20cf30025d2272ee490498e19065--