简体   繁体   中英

If I am blind, how do I see the error indicators in Eclipse IDE for Java

I am a Java Consultant. I am currently helping a blind person to learn to code using Java. She wanted to use Java, because of reasons, so I support her on Java. She has a brilliant idea for an app, for blind and deaf people, which we are currently trying to develop. I had to teach her from scratch how to code.

She is very brilliant and understands the code and how to read and write it. However, when there are errors, eg she made a typo on for instance a variable name, then she cannot see the red underlining that indicate the errors. She can also not see the error indicators in the margin.

Does any one have a suggestion, how could she know that there are errors?

In eclipse you can use Ctrl + . and Ctrl + , to navigate forwards and backwards through underlined sections.

When the cursor is in an underlined section, the error is shown in the status bar which your screen reader may be able to read (with JAWS use Insert + PgDn or CapsLock + PgDn ).

There are some more tips for Eclipse's accessibility features in the Eclipse Help pages .

Jaws normally says "invalid" before each invalid part of code in the code editor as you navigate with arrow keys. You have nothing specific to configure for this. At least for me, it worked out of the box from day 1.

IN case of doubt or if it doesn't work out of the box, you can customize the way Jaws behaves by going to the setting center. More specifically, in the speech and sound scheme, you might pick a modern scheme different than classic, or want to customize the way the "invalid" font style is announced.

You will also certainly need to pay triple attention to things that eclipse automatically insert for you as you type, like closing parens and braces, as they aren't announced at all by Jaws when they are automatically inserted. They can easily make you enter unwanted extra characters. As a blind user I prefer to completely disable all autocompletes like this and only keep it on demand with shortcuts like F2, but that's a personal choice.

Unfortunately, I can't help if you are using NVDA, but there certainly are solutions as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM