-
Notifications
You must be signed in to change notification settings - Fork 105
Added index, completion and references for table names, column names … #351
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
Added index, completion and references for table names, column names … #351
Conversation
df995c8
to
76b7deb
Compare
686b767
to
b07d4c9
Compare
@@ -41,6 +42,7 @@ public static void manualReindex() { | |||
// xml|di configuration | |||
PluginIndex.KEY, | |||
VirtualTypeIndex.KEY, | |||
TableAndColumnNameIndex.KEY, |
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.
Let's change it to DeclarativeSchemaElementsIndex
to be more self-explanatory
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.
Done
4eff885
to
3f41361
Compare
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.
9ae74c5
to
d84e03a
Compare
Fixed "An element should not have a reference to itself". |
d84e03a
to
759617a
Compare
…in db_schema.xml file
759617a
to
228d36c
Compare
228d36c
to
0ac99de
Compare
…o-db-schema-tables-and-columns
…o-db-schema-tables-and-columns
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.
Description (*)
This PR adds indexes, completion, references, test coverage on completion and references on table and column names in the db_schema.xml file.
Also, was changed the assertHasReferenceToXmlTag method of the BaseReferenceTestCase class to work with PolyVariantReferenceBase type that retrieves multiple references.

After that change all tests passed successfully:

Contribution checklist (*)