Closed daviddale closed 9 months ago
Thanks for the PR! Before we merge it there are a couple changes we'd need to get the standard tags query up to par with our internal queries:
@codeium.parameter
), for example: https://github.com/Exafunction/codeium-parse/blob/f30eafb76ba18d1014ec454147aaa8dde7082bb8/queries/javascript_functions.scm#L10@body
), to help us distinguish declarations and definitions. Not super familiar with Ruby but it seems to not have declarations, so we would need @body
captures for all class/method/function queries. For example: https://github.com/Exafunction/codeium-parse/blob/f30eafb76ba18d1014ec454147aaa8dde7082bb8/queries/javascript_functions.scm#L11And then the last thing is a test file so we can generate golden query results: https://github.com/Exafunction/codeium-parse/tree/main/test_files
Happy to answer questions here or on our Discord.
Given #22 has merged, I'll go ahead and close this.
Add query for Ruby language referenced from: https://github.com/tree-sitter/tree-sitter-ruby/blob/master/queries/tags.scm