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

VSCode - Generate and maintain verible.filelist #2177

Open
sconwayaus opened this issue May 7, 2024 · 0 comments
Open

VSCode - Generate and maintain verible.filelist #2177

sconwayaus opened this issue May 7, 2024 · 0 comments
Labels
language-server Language server related issues

Comments

@sconwayaus
Copy link
Contributor

The language server expects verible.filelist to list all verilog files to index symbols and the file needs to be generated by the user manually. It would be better if vscode extension generated the verible.filelist and ideally and maintains the file list.

Proposal
Update the vscode extension as follows:

  1. Add a command to generate verible.filelist. Settings should allow users to set an include and exclude glob patterns. Write the file to the root of the project directory.
  2. On extensions start, check the existence of verible.filelist, and generate if not found. Settings should allow the users to enable/disable automatic generation of verible.filelist.
  3. Hook the generate verible.filelist command to file events in the workspace. There seem to be event handlers for onDidCreateFiles, onDidDeleteFiles, onDidRenameFiles.
@sconwayaus sconwayaus added the language-server Language server related issues label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language-server Language server related issues
Projects
None yet
Development

No branches or pull requests

1 participant