phpinnacle / intellij-redoc

IntelliJ OpenAPI 3.0 documentation renderer
MIT License
8 stars 1 forks source link

Initial commit #3

Open zloyuser opened 5 years ago

pronskiy commented 5 years ago

@wbars, could you help review please?

wbars commented 5 years ago

@zloyuser Hey! Just looked in the last master and don't quite get the idea of the plugin? Could you please give quick overview and specifically actual goal of the RedocServer? As far as I can see right now we only attach documents to the memory storage, but do no fetching - how this is supposed to be used? Aksing because just caching Documents can be dangerous because of memory leaks - better to fetch them in lazy manner since they will be cached by the platform. (see com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl#getDocument)