zalando / intellij-swagger

A plugin to help you easily edit Swagger and OpenAPI specification files inside IntelliJ IDEA
https://plugins.jetbrains.com/plugin/8347
MIT License
1.18k stars 74 forks source link

Support completion from workspace files #305

Closed gayanper closed 4 years ago

gayanper commented 4 years ago

This will show definition in other workspace files in ref completions for definitions. Basically this add the definition in other files in the workspace to the end of the completion list.

gayanper commented 4 years ago

@zeitlinger Please review this PR and give you feedback.

gayanper commented 4 years ago

To start with I only add support for swagger, if things go well next I will try to add support for open API as well.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.1%) to 91.282% when pulling 0cf5a41031f30d4d0a4a40fc57851c51e28dda56 on gayanper:master into 372e5a26b58212525390a09448be2239a134598a on zalando:master.

gayanper commented 4 years ago

Added support for openAPI as well.

zeitlinger commented 4 years ago

:+1:

gayanper commented 4 years ago

Please let me know what do you think about the PR. I’m not really sure its a good idea to start file paths with ./. Let me know your thoughts

zeitlinger commented 4 years ago

FYI: @tkrop is the official maintainer.

gayanper commented 4 years ago

Will create new PR with a separate branch