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

Highlight unused / duplicate service clauses #146

Open
kubukoz opened this issue Nov 18, 2022 · 0 comments
Open

Highlight unused / duplicate service clauses #146

kubukoz opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@kubukoz
Copy link
Owner

kubukoz commented Nov 18, 2022

Examples:

  • multiple references to the same service in the prelude
  • (to be considered) explicit clause matches existing use clause
  • no operations refer to an imported service

This will probably happen in something like PreludeCompiler, but will need some extras for the operations' explicit service clauses.

Possibly in scope:

  • provide code actions to remove these
  • hook into "unused imports" text editor command (might be a vscode-only thing, so that'd be a custom LSP request)

happens after #126 is merged

@kubukoz kubukoz mentioned this issue Nov 18, 2022
20 tasks
@kubukoz kubukoz added this to the Multi-operation files milestone Nov 18, 2022
@kubukoz kubukoz changed the title (multi-operation) Highlight unused / duplicate service clauses Highlight unused / duplicate service clauses Nov 18, 2022
@kubukoz kubukoz added the enhancement New feature or request label Nov 19, 2022
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