Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每次我在使用 Netbeans 时使用“if (a == b) {...}”之类的 if 语句时,我都会收到这些烦人的警告“预期为“===”,而是看到“==”。有没有办法关闭它们?
Options您可以在-> Editor->中将其关闭Hints。然后选择您的语言并在列表中找到它。对于 JavaScript,它是 Reports cases where in condition is used == or != instead === or !==
Options
Editor
Hints
Reports cases where in condition is used == or != instead === or !==