[program-java] Re: Eclipse Discovery About Code Completion

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-java@xxxxxxxxxxxxx'" <program-java@xxxxxxxxxxxxx>
  • Date: Thu, 16 Sep 2010 10:50:52 -0400

Jim:

I believe that under the New menu option there is an item for creating a text 
file.

Alternatively you could simply create a text file in an editor and save it 
under your project. Refresh said project and Eclipse will pick it up ever more. 
Refresh is F5.

Jim

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: September 16, 2010 10:32
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Hi,
All I really want to do is to stay in Eclipse while I'm writing in a text file. 
I don't understand how Eclipse does things right now, and that bothers me. But 
what I want to do is to try to make a project and keep a text file with it that 
has notes to myself about what I'm learning about Eclipse and Java so that it's 
all in one place. And I want to do that without breaking something.

Thanks.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility advice


-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Thursday, September 16, 2010 10:28 AM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Jim:

Yes, I have a .dat file that is part of my project. It doesn't get compiled 
into the package as do xml but resides in the source folder.

Jim

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: September 16, 2010 10:23
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Hi,
Does anyone here write text files in Eclipse and keep them with your projects?

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility advice

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Thursday, September 16, 2010 9:49 AM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Gov.... I hear you loud and clear. There are other "Perspectives" as well, such 
as the Debug, SQL, etc.

Jim

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Stanzel, Susan - Kansas 
City, MO
Sent: September 16, 2010 09:21
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Discovery About Code Completion

The gov doesn't move very fast. I have 3.3.

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Thursday, September 16, 2010 8:03 AM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Since version 3.3 of Eclipse, the default Perspective is the JEE / J2E, however 
there are differences between the Java and J2E.

Jim

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Stanzel, Susan - Kansas 
City, MO
Sent: September 16, 2010 09:00
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Discovery About Code Completion

I am usually in the Java EE prospective. Is that what you mean?

Susie

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Thursday, September 16, 2010 7:44 AM
To: 'program-java@xxxxxxxxxxxxx'
Subject: [program-java] Re: Eclipse Discovery About Code Completion

Suzy:

"A quick navigation is alt + shift + w for package,h for history, o outline, 
and p for problems", a whee fly in the ointment is that these key strokes are 
"Perspective Dependent".



"Alt shift q gets you to the editor", F12 has the same functionality.






"Control shift o puts you into the imports", only if there are import 
conflicts. I.E. java.awt.List or java.util.List. The same key stroke will add 
the imports required as well as remove the unused imports.







From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Thursday, September 16, 2010 6:13 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Eclipse Discovery About Code Completion



Hi,

I made a discovery just now because I was writing some JAWS code to examine 
what was popping up in some Eclipse windows. This is about code completion.



As you are typing along in a Java program and you want to get a list of code 
completion choices, do this.



1. type part of a class, such as System, then a period.



2. As soon as you press the period key, immediately press the Tab key. That 
puts you in a list of choices.



3. Pick a choice and press Enter.



4. press the period key again, then Tab again.



5. Pick a choice.



I'm sure you get the pattern by now.



There's more to discover, such as what happens when you hit Control + Space and 
Control + Shift + Space, but I haven't figured out that yet.



Thanks.



Jim



Jim Homme,

Usability Services,

Phone: 412-544-1810. Skype: jim.homme

Internal recipients,  Read my accessibility blog 
<http://mysites.highmark.com/personal/lidikki/Blog/default.aspx> . Discuss 
accessibility here 
<http://collaborate.highmark.com/COP/technical/accessibility/default.aspx> . 
Accessibility Wiki: Breaking news and accessibility advice 
<http://collaborate.highmark.com/COP/technical/accessibility/Accessibility%20Wiki/Forms/AllPages.aspx>





________________________________

This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.










Other related posts: