intellij-swagger
intellij-swagger copied to clipboard
Editor is not working with Jetbrains chrome extension enabled
Description
Opening a yaml file in a Chrome browser does not work if Chrome has enabled "Jenbrains IDE support" extension.
Steps to reproduce
-
open any swagger.yml file in IDE
-
Menu > View > Open In Browser > Chrome Result:
-
now install/enable "Jetbrains IDE support" extension for Chrome and repeat previous steps Result:
Thanks for reporting an issue.
I have the latest versions of both plugins installed, but I am not able to reproduce the issue. Which version are you using?
I've got the same problem.
Chrome version 68.0.3440.84 (Official Build) (64-bit) on Mac OS X. JetBrains plugin version: 2.0.9 (hmhgeddbohgjknpmjagkdomcpobmllji) Swagger Plugin version: 1.0.16 PHPStorm version: 2018.2
if I disable the JetBrains plugin from Chrome, then the Swagger UI launches fine. If it is enabled, then I get the same screenshot as @jumale.
Thankfully @jumale's workaround of disabling the JetBrains plugin from Chrome unblocks me for now.
Hey.
Sorry for the late reply. I did manage to reproduce this, but did not find a way to fix it unfortunately.
@semonte I also tried to play around to understand the reason, but no luck. I have 2 suggestions:
- first of all to add the "Open in browser" feature to the documentation, because tbt I discovered it just accidentally, it's nowhere mentioned, and in my opinion it's one of the important features of this plugin.
- add this issue to "Known Issues" in docs, to save time for other people until a solution comes
I could do this and create a PR.
@jumale Yes, that sounds very reasonable, PRs are very welcome!