Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In NetBeans, how do I remove this red underline?

Tags:

netbeans

I've added the following comment to the start of a Java program:

/**     *    * George Tomlinson (I'm not the author).  I took this from the *internet* and made one correction.    * This program converts the string entered by the user from hexadecimal to ASCII.     */ 

The word 'internet' (italicised above but not in the actual program) is being underlined in red by NetBeans. The error it displays is 'misspelled word', but it's not misspelled. In Word I would just add it to the dictionary, but I can't find any such option here. Does anyone know how to sort this out?

You can see a screenshot here:

Screenshot with red underline

like image 860
George Tomlinson Avatar asked Aug 31 '13 14:08

George Tomlinson


People also ask

Whats the red line in NetBeans?

The red line simply marks 80 characters wide (by default) and is a visual guide to break long expressions over multiple lines. You can adjust the placement of the red line in (Netbeans 6.7): Tools > Options > Editor > Formatting.

How do I turn off spell check in NetBeans?

Show activity on this post. This is explained and illustrated in How to disable red-underline spellchecker in Netbeans 7: To remove it simply choose Tools → Options → Miscellanous, then in Spellchecker tab uncheck the C/C++/Fortran Comments and press OK.


2 Answers

Try

For remove vertical red line:

Tools : Options : Editor : Formatting ,  set Right Margin: 0 

For spelling check:

Tools : Options : Editor : Spellchecker ,  you can add new spelling & other things. 

may this help you.

like image 140
Tony Stark Avatar answered Sep 16 '22 22:09

Tony Stark


Follow the instruction to remove the red line which is just margin. It is called right margin. Go to menu

Tools ->Options -> Editor -> Formatting  

set

right  margin = 0 
like image 40
Hafiz Shehbaz Ali Avatar answered Sep 19 '22 22:09

Hafiz Shehbaz Ali