Questions tagged [intellij-inspections]

37 questions
0
votes
0 answers

IntelliJ inspection error on MatAutocomplete

When using a material autocomplete (from angular-material 7.3.7), I always get an inspection error from IntelliJ. Code example:
adrianus
  • 3,141
  • 1
  • 22
  • 41
0
votes
0 answers

PyCharm "Unused import statement" when adding method to class

I want add a method to a class, without extending another class (for the import statements should be unaltered). Conceptually, my current approach is: add_method.py def new_method(): pass MyObject.new_method = new_method main.py from package…
Simon
  • 5,464
  • 6
  • 49
  • 85
0
votes
2 answers

Suppressing warnings about an unused Kotlin property in IDEA

Consider I have a parameterized TestNG test: val parameters: Array> @DataProvider get() { val parameters = arrayListOf>() // ... return parameters.toTypedArray() } @Test(dataProvider =…
Bass
  • 4,977
  • 2
  • 36
  • 82
0
votes
0 answers

How to turn on completion as typing

I know we can turn on code completion by shortcut key (^ SPACE on MAC), but how to turn on it just by typing like VSCode For example: with Bootstrap 4 live template when we type b4 it should be displayed suggestion for the related template.
0
votes
1 answer

Unable to export Android Studio Code Inspection report

when I try to export the report from Analyze -> Inspect Code, the report is not saved and the event log show the following error from IDE Fatal Error window: null java.lang.NullPointerException at…
Daniel
  • 143
  • 11
0
votes
1 answer

Custom inspection for double quotes

Our code standard requires that all strings in javascript code would have single quotes instead of double quotes. Unfortunately, IntelliJ Idea doesn't have such inspection by default. I've tried to search and follow the official guideline, but it's…
-1
votes
1 answer

Why IntelliJ has inspections for generic usage disabled by default?

Why does IntelliJ has inspections for generic usage disabled by default? These inspections (Java 5 -> Raw use of parametrized class) needs to be enabled explicitly and I find that new developers do not know about them. Is there some good reason I do…
1 2
3