Skip to content

Basic proof of concept for custom commands #2102

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frankitox
Copy link

Description

There's only two commits for now. First one has the implementation. Second one a basic custom command to illustrate the use.

TODO

  • I created an issue (Project custom command support #2101) to discuss the problem I am trying to solve or an open issue already exists.
  • Custom linters are searched in folder clojure-lsp.exports/linters. Use /commands for custom commands?

TODO further

  • I added a new entry to CHANGELOG.md
  • I updated documentation if applicable (docs folder)

@NoahTheDuke
Copy link
Contributor

i know this is a WIP but thought I'd mention that the clj-kondo hook api would be worthwhile to copy. node creation fns as well as node type predicates: api/map-node?, etc.

@frankitox
Copy link
Author

Right, I'll add that info to the issue. I rather wait until everything is a little clearer to modify the code

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.

2 participants