How to get sql comment for table and column

Answered

I use com.intellij.sql.SqlDocumentationProvider#findRelatedDbElements(com.intellij.psi.PsiElement, boolean) to get the sql table and column comment in 2020.1, but this method not found in new version.

0
2 comments

Hi,

This method has been moved to com.intellij.sql.SqlNavigationUtils class.

1

Please sign in to leave a comment.