bjgre.blogg.se

Javascript jetbrains
Javascript jetbrains











However, the visitor itself is never called after that.ĭiving deeper into the code with the debugger suggests that my test file ( MyTestData.js) is not recognised as a js file its fileType is AbstractFileType ( toString() does say Javascript though), and LanguageUtil#getLanguageForPsi() retuns PlainTextrLanguage. While debugging the test, I can see breakpoints getting hit in my JSInspection#createVisitor() override, which tells me that my inspection is being registered properly. The issue is that the inspection itself works fine in production, but doesn't seem to work when running test. Perhaps someone over here can give me some tips.

javascript jetbrains

I'm writing a test class for my custom Javascript inspection (extending JSInspection), but I'm having some trouble there.













Javascript jetbrains