Skip to content

Conversation

@practicalli-johnny
Copy link
Contributor

calva.io is the defacto extension for Clojure development with VSCode.

Add key binding in the existing +Major section as conditionals
based on languageId of Clojure. No key bindings are added outside of the +Major
section

Key bindings cover the key aspects of development

  • starting and connecting to a Clojure REPL
  • evaluating code in the REPL
  • structured editing
  • refactor commands
  • test runner

Key bindings are added in alphabetic order, placing them before the key bindings
for Go and Markdown.

Key bindings tested with the latest version of VSpaceCode and Calva extensions.

Relates to #153 #98

Copy link
Member

@stevenguh stevenguh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting the changes. This looks very comprehensive. I haven't looked at the bindings closely but there are some consistency issues like capitalization, ordering, and formatting.

@practicalli-johnny
Copy link
Contributor Author

Thank you for the feedback. I have pushed an update to the PR that should resolve the concerns raised. Thank you.

Copy link
Member

@stevenguh stevenguh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are still some indentation and order issues. You can run npm run sort-bindings to sort and format the bindings.

@marcoieni
Copy link
Member

This is HUGE! Thank you for your effort.
As for the go bindings, I don't have the time to look at each command individually, I honestly just reviewed random stuff I noticed here and there :)
Overall I noticed you tried to follow the spacemacs key bindings which is great!

I expect our clojure community to do additional PRs or open issues once this is merged and they notice something wrong or they want to improve these key bindings :)

@practicalli-johnny
Copy link
Contributor Author

The PR has been rebased onto the latest master. I have run the sort bindings script and made the suggested changes.
Thank you for your continued feedback with this PR.

@stevenguh
Copy link
Member

Thank you for updating the PR. It looks great!

@practicalli-johnny
Copy link
Contributor Author

practicalli-johnny commented Jan 9, 2021

I found a duplicate key binding in the Structured editing menu, t and W were the same, so have removed W.

@stevenguh stevenguh self-requested a review January 10, 2021 20:00
@marcoieni marcoieni mentioned this pull request Jan 12, 2021
20 tasks
calva.io is the defacto extension for Clojure development with VSCode

Key bindings cover the key aspects of development
- starting and connecting to a Clojure REPL
- evaluating code in the REPL
- structured editing
- refactor commands
- test runner

Key bindings are added in the existing +Major section as conditionals
based on languageId of Clojure.  No key bindings are added outside of
the +Major section.  The clojure key bindings were added before go to
presever the alphabetic ordering of the major mode configuration section

Key bindings are sorted using the `npm run sort-bindings` command,
organising them in alphabetic order, placing lower case keys before
upper case. before the key bindings

Key bindings tested with the latest version of VSpaceCode and Calva
extensions.

User guide documentation will be added in a separate commit.
@stevenguh stevenguh merged commit a975e6a into VSpaceCode:master Jan 14, 2021
@practicalli-johnny practicalli-johnny deleted the clojure-key-bindings branch January 14, 2021 08:53
@practicalli-johnny
Copy link
Contributor Author

Thank you all for your help with this PR, greatly appreciated.

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.

3 participants