You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amyXia1994 opened this issue
Sep 13, 2023
· 2 comments
Assignees
Labels
ideIssues or PRs related to kcl LSP and IDE pluginslsptoolIssues or PRs related to kcl tools inlucding format, lint, validation, document tools, etc.track
Is your feature request related to a problem? Please describe:
Scenarios that need find reference tool:
when writing code in KCL IDE, to find out which files is currently using the target schema/attribute/variable
when executing CI test, to locate and filter all the files which have dependent on the changed schema/attribute/variable
find reference is also the base of the kcl refactor tool
Describe the feature you'd like:
provide command line tool to find reference of a target variable/schema/attribute.
The input: the path to the variable/schema/attribute definition. For example by using the path selector CLI parameter (-S)
The output: list of all the positions of the variable/schema/attribute references.
Describe alternatives you've considered:
Simply search for the variable/schema/attribute names could help to roughly narrow the ranges to find the references, but this approach tend to mismatch irrelevant texts and the result is really not precise.
ideIssues or PRs related to kcl LSP and IDE pluginslsptoolIssues or PRs related to kcl tools inlucding format, lint, validation, document tools, etc.track
Feature Request
Is your feature request related to a problem? Please describe:
Scenarios that need find reference tool:
Describe the feature you'd like:
provide command line tool to find reference of a target variable/schema/attribute.
The input: the path to the variable/schema/attribute definition. For example by using the path selector CLI parameter (-S)
The output: list of all the positions of the variable/schema/attribute references.
Describe alternatives you've considered:
Simply search for the variable/schema/attribute names could help to roughly narrow the ranges to find the references, but this approach tend to mismatch irrelevant texts and the result is really not precise.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: