Replies: 5 comments
-
I think The other commands which use short acronyms like My reasoning is this:
Using long descriptive names is better than using short acronyms. |
Beta Was this translation helpful? Give feedback.
-
Is the aliasing solution viable? And how would the deprecation be handled? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure there's a need to make a breaking change just because of naming inconsistency. For example, some themes in Helix use Despite the inconsistency, it was decided not to rename these themes. It would be a breaking change (breaking change in Helix means people's configs will require editing) |
Beta Was this translation helpful? Give feedback.
-
Ah, I understand. I would like to start working on this, is there a mentorship system like there is for the Rust project? I'm not too sure where to start, maybe https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs ? Maybe by adding something like - /* Add it to static commands */
fn move_prev_word_start(cx: &mut Context) {
move_word_impl(cx, movement::move_prev_word_start)
}
fn move_previous_word_start(cx: &mut Context) {
move_prev_word_start(cx)
} |
Beta Was this translation helpful? Give feedback.
-
Yeah I agree. IMO the inconsistency is not a big deal. Eventually we can fix it when it's the right time to make a lot of breaking changes (when merging an the plugin system for example) but in the meantime I don't want to make unnecessary breaking changes for this or have duplicate commands / aliases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs
I noticed that the
goto_previous_buffer
command is not named with respect to the othergoto_prev_
commands likegoto_prev_function
,goto_prev_class
.I think
goto_previous_buffer
should be changed togoto_prev_buffer
to be consistent with other commands. For backward's compatibility sake,goto_previous_buffer
can be aliased to the newgoto_prev_buffer
.If this is even a valid enhancement, I would like it to be my first contribution to Helix.
Beta Was this translation helpful? Give feedback.
All reactions