Skip to content
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

add symbol index component #285

Merged
merged 40 commits into from
Jan 15, 2023
Merged

add symbol index component #285

merged 40 commits into from
Jan 15, 2023

Conversation

WebFreak001
Copy link
Member

@WebFreak001 WebFreak001 commented Jan 4, 2023

  • building index from scratch
  • saving/loading index cache to disk
  • implement with find all symbols
  • suggest auto-completion with auto-importing un-imported modules - fix Auto-import/import-suggestions #83
    • respect renamed imports
    • suggest & add local import if there is an import in another (unreachable) scope
  • implement for auto-import suggestion on diagnostic "undefined symbol xyz"
  • add basic find-references support
  • make this index building and management optional (add code-d setting)
  • recurse through public import / package import
  • mark modules with mixin as potentially always included (recursively)

@WebFreak001
Copy link
Member Author

tests fail due to dlang-community/DCD#701

Don't show suggestions for importing the module we are completing from.
Don't show symbols from packages that are indirectly imported.
(through public imports)
@WebFreak001 WebFreak001 marked this pull request as ready for review January 15, 2023 01:03
@WebFreak001 WebFreak001 merged commit 33ce6ad into master Jan 15, 2023
@WebFreak001 WebFreak001 deleted the references branch January 15, 2023 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-import/import-suggestions
1 participant