RE: EdSharp and Java

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 15 Oct 2010 15:31:37 -0400

Hi,
I'm not sure about question 1.

EdSharp is able to indent automatically. Open the docs with F1 and look for 
infer indent.

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>

From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of LU OGBE
Sent: Friday, October 15, 2010 3:03 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: EdSharp and Java

Hi Jim,

Thanks a lot for breaking it  down :) Still got a few issues though.

- When debugging, I don't get a list of errors where I can press "Enter" to go 
to each error. Currently, focus automatically moves to the 1st error on my list 
after compiling.
- Do you know if EdSharp automatically indents the code, or do I have to do 
this manually?

Thanks again for your patience.

Regards,
LU
----- Original Message -----
From: Homme, James<mailto:james.homme@xxxxxxxxxxxx>
To: programmingblind@xxxxxxxxxxxxx<mailto:programmingblind@xxxxxxxxxxxxx>
Sent: Friday, October 15, 2010 6:50 PM
Subject: RE: EdSharp and Java

Hi,
This  answer is in two parts. The first is for compiling. The second is for 
running.

First, compiling. To choose the Java compiler, you would use Control + Shift + 
F5, then pick Java from the list of compilers. Once I do that, I like to bring 
the files I'm working on into the program and press Control + L to put them in 
the list of favorites. EdSharp has an available favorites list for each 
compiler. Be careful that you keep checking the folder you are in with Alt + 0 
on the top row of your keyboard. Anyway, what I do is keep the book I'm reading 
and the program I'm working on in my favorites list. But in my case, I'm 
working on Python, but the idea is the same. If you need to remove a file from 
the favorites list, bring it into the editor and use Control + Shift + L. Use 
Alt + L to get a list of current favorites. If you put a book mark in any file 
with Control + K, EdSharp automaticalyy adds it to the favorites list. You can 
have multiple bookmarks per file. You clear the book mark you land on with 
Control + Shift + K. You jump to book marks with Alt + K. If you have one 
bookmark in a file, EdSharp jumps directly to it. If you have more than one, it 
brings up a list of them for you to pick from. A book mark is tied to an exact 
location, not a line, so you have to be on the exact spot for the book mark to 
get cleared.

Once you edit your program, you would compile it with the Control + F5 key 
stroke. If you get errors, fix them. I think you can press Enter on an error 
and jump to it, but I forget.

The next part of the answer is about running the program. For this, I feel that 
it's best to get a command prompt. I am assuming that you will run the program 
from the folder in which you've saved it. To do that, use Control + 0 in 
EdSharp. This brings up a dialog with buttons in it from which you can pick a 
folder. When it opens, focus will be on a button that says Current. That 
represents the directory that your program is in. Press Enter.

You'll get a command prompt. To run your program, type something like this:

java Program.java

Where program is the name of your program.

One more thing. If you happen to need to change the command line that you send 
to a compiler in EdSharp, you can change it temporarily by using Control + 
Shift + C. A dialog of choices opens.

If you want to change it permanently, you can use Alt + Shift + M. This brings 
up a dialog of buttons from which you can choose to load an ini file. The 
choice focus lands on is Main. This is what you want, so press Enter. Once the 
file opens, search for the string [compilers. Then scroll down to java. Change 
to your liking.

And finally, I don't totally understand the syntax of the compiler lines, so if 
I want to change or add one, I use one of the ones that are already there as a 
model.

And one more thing while I'm at it. You don't actually have to run a compiler 
with this list as you can see by the default choice at the top of the list. You 
can simply duplicate a line if you want to keep a collection of favorites 
together.

Hopefully, this set of  instructions is clear enough to help you get going on 
this.

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>

From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of LU OGBE
Sent: Friday, October 15, 2010 10:50 AM
To: Blind Programming
Subject: EdSharp and Java

Hello,

Apologies if this seems obvious but I have read the help files for EdSharp & 
the programming section is a bit too technical for me to understand. I am 
currently learning Java & will like to know the following about EdSharp:

- How do I see the results of my code when I run it? When I run, JAWS just says 
"DONE" if there are no bugs in my code
- How do I read error messages when I am debugging my code?
- How do I jump from one error to another when debugging?
- Apart from the features/ help documentation, are there any other resources I 
can read to learn how to use EdSharp better?
- Can someone who uses EdSharp for Java contact me off list?

Thanks in advance. Regards,
LU

________________________________
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: