You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Enrique Perera Abreu <en...@uacam.mx> on 2021/10/14 19:42:26 UTC
NetBeans has wird behaviors
Greetings!
I teach basic Java for students and I had NetBeans 8.2 installed in my
MacBookAir. My programs are too basics and shorts. Then I decided to grow
NetBeans version to the newest 12.5. So I installed the JDK 17 and the
NetBeans 12.5. Now, with the new version I get some wird issues when I type
my code with very simple sentences as System.out.print(). I understood the
IDE warns me as I would trying to create a daily log structure when it's
not, Im just trying to display a user message. I adjoint a pic where I show
you a simple code with the red warning to the left and its meaning. My
question is: How could I avoid to this kind of issues? because with the 8.2
version they do not appearing.
I hope to be clear in my explanetion as for you could to help me
*Ing. Enrique PERERA ABREU, MIMRT*
*Facultad de Ingeniería*
Ingeniería en Sistemas Computacionales
Universidad Autónoma de Campeche
*Profesor e Investigador*
*"Del enigma sin **albas, a triángulos de luz**"*
Re: NetBeans has wird behaviors
Posted by Philippe FICHET <ph...@laposte.net.INVALID>.
Hi,
This looks like the sonarlint4netbeans
<https://github.com/philippefichet/sonarlint4netbeans> plugin.
You can change the style in "Options" > "Fonts & Colors" > "Annotations". (
screenshot to change "annotation" style in netbeans options
I hope this helps.
Le 14/10/2021 à 21:42, Enrique Perera Abreu a écrit :
> Greetings!
>
> I teach basic Java for students and I had NetBeans 8.2 installed in my
> MacBookAir. My programs are too basics and shorts. Then I decided to
> grow NetBeans version to the newest 12.5. So I installed the JDK 17
> and the NetBeans 12.5. Now, with the new version I get some wird
> issues when I type my code with very simple sentences as
> System.out.print(). I understood the IDE warns me as I would trying to
> create a daily log structure when it's not, Im just trying to display
> a user message. I adjoint a pic where I show you a simple code with
> the red warning to the left and its meaning. My question is: How could
> I avoid to this kind of issues? because with the 8.2 version they do
> not appearing.
>
> I hope to be clear in my explanetion as for you could to help me
>
>
> /*Ing. Enrique PERERA ABREU, MIMRT*/
> *Facultad de Ingeniería*
> Ingeniería en Sistemas Computacionales
> Universidad Autónoma de Campeche
> /Profesor e Investigador/
> //
> **
> /"Del enigma sin //albas, a triángulos de luz//"/
> /
> /
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NetBeans has wird behaviors
Posted by Thomas Kellerer <sh...@gmx.net>.
Enrique Perera Abreu schrieb am 14.10.2021 um 21:42:
> I teach basic Java for students and I had NetBeans 8.2 installed in
> my MacBookAir. My programs are too basics and shorts. Then I decided
> to grow NetBeans version to the newest 12.5. So I installed the JDK
> 17 and the NetBeans 12.5. Now, with the new version I get some wird
> issues when I type my code with very simple sentences as
> System.out.print(). I understood the IDE warns me as I would trying
> to create a daily log structure when it's not, Im just trying to
> display a user message. I adjoint a pic where I show you a simple
> code with the red warning to the left and its meaning. My question
> is: How could I avoid to this kind of issues? because with the 8.2
> version they do not appearing.
One way to disable the warning is to click on the light bulb in the left
margin, then there is an option "Disable ..."
All possible hints and warnings are configurable in the options dialog
in the "Editor" category. There is a tab named "Hints" where
all hints are shown per language.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NetBeans has wird behaviors
Posted by Wilmar Giraldo <wi...@gmail.com>.
Hi!
Try to disable this plugin: nb-sonarlint
[image: image.png]
or another sonar-related plugin.
Greets
El jue, 14 oct 2021 a las 14:43, Enrique Perera Abreu (<en...@uacam.mx>)
escribió:
> Greetings!
>
> I teach basic Java for students and I had NetBeans 8.2 installed in my
> MacBookAir. My programs are too basics and shorts. Then I decided to grow
> NetBeans version to the newest 12.5. So I installed the JDK 17 and the
> NetBeans 12.5. Now, with the new version I get some wird issues when I type
> my code with very simple sentences as System.out.print(). I understood the
> IDE warns me as I would trying to create a daily log structure when it's
> not, Im just trying to display a user message. I adjoint a pic where I show
> you a simple code with the red warning to the left and its meaning. My
> question is: How could I avoid to this kind of issues? because with the 8.2
> version they do not appearing.
>
> I hope to be clear in my explanetion as for you could to help me
>
>
> *Ing. Enrique PERERA ABREU, MIMRT*
> *Facultad de Ingeniería*
> Ingeniería en Sistemas Computacionales
> Universidad Autónoma de Campeche
> *Profesor e Investigador*
> *"Del enigma sin **albas, a triángulos de luz**"*
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
--
*Wilmar A. Giraldo Sanchez*
*Linux User Number: 475317 *