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

Improve autocompletion #3

Open
gmlarumbe opened this issue Aug 8, 2023 · 0 comments
Open

Improve autocompletion #3

gmlarumbe opened this issue Aug 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gmlarumbe
Copy link
Owner

gmlarumbe commented Aug 8, 2023

It should be possible to improve autocompletion in a workspace by adding some modifications to function verilog-ext-workspace-capf in file verilog-ext-workspace.el:

  • Detect if identifier at point is a queue/array/enum to complete with its builtin methods
  • Autocomplete with directives after tick `
  • Complete with system tasks after $: https://verificationacademy.com/forums/systemverilog/complete-list-system-functions-or-system-tasks-descriptions
  • Class builtin methods (e.g. randomize())
  • Remove class attributes/methods as candidates when using package scope completion
    • E.g: package my_pkg has a class named foo, with attribute attr1 and method new
    • Completion at point after my_pkg:: will show attr1 and new as candidates while it should only show foo
@gmlarumbe gmlarumbe added the enhancement New feature or request label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant