You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following GIF https://share.cleanshot.com/gGlty03m you can see that Spectral is installed, it is accessible in terminal anywhere with "spectral" command and it properly returns warnings in terminal, but no problems are shown in the IDEa for the same file. I quadruple-checked everything is correct and it doesn't work.
I found no spectral related errors in IntelliJ IDEa logs, nor any hints in the interface.
edit: edited the name to reflect the root cause as identified by @rkovarik below
The text was updated successfully, but these errors were encountered:
I had to go to Preferences -> Tools -> Spectral -> Included path patterns and change it to: **/*openapi.yaml (remove other lines).
After closing and reopening openapi.yaml, it picked up the changes and showed the problems.
mimkorn
changed the title
Not working with IDEa 2023.2.4
Multiple path patterns separated by new line break the plugin
Nov 9, 2023
It seems that the newlines in the settings window get stored as in the spectral.xml settings file.
This is not being parsed correctly by kotlins .lines() method.
Build #IU-232.10203.10, built on October 24, 2023
In the following GIF https://share.cleanshot.com/gGlty03m you can see that Spectral is installed, it is accessible in terminal anywhere with "spectral" command and it properly returns warnings in terminal, but no problems are shown in the IDEa for the same file. I quadruple-checked everything is correct and it doesn't work.
I found no spectral related errors in IntelliJ IDEa logs, nor any hints in the interface.
edit: edited the name to reflect the root cause as identified by @rkovarik below
The text was updated successfully, but these errors were encountered: