-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support synthesized and virtual tables #529
Conversation
val name: String, | ||
val content: String, | ||
) { | ||
val fileName = "___predefined/$name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added because we could clash with user defined file names and we check the file name if we need to use the base package name in sqldelight. This isn't a real solution, but a doable and easy workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could exclude the file from the file index instead? Or somehow create a temp file/remove the virtual file but keep the PsiElement?
18dc9af
to
9ebccb1
Compare
I always get a plugin validation error: Fixed by removing the default values of the interface. |
Superseded by #548 |
I also removed the package name from the predefined table class because we don't use them in sqldelight anymore.