-
Notifications
You must be signed in to change notification settings - Fork 649
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
Rename indent_list_item command to something else #530
Comments
I don't remember there was another trigger. |
@felixhao28 Yes, that is exactly how I'm triggering it. And I know that the command is being triggered because I have But, the list item is not being indented! |
Hmm, sounds like a bug but will you share more information so I can reproduce it? Information includes:
Or if you know python, you can mess around with the source code and see where went wrong. |
Yeah, I know Python and I'll look into the source now. |
Woah, this is a weird one.
So, when I launch sublime text, and all the plugins get loaded for the first time. Then this bug occurs. As in, If I so much as save the So the issue isn't with this code, per se. But somewhere else? I'd like to point here, that |
@felixhao28 Any thoughts on why this could be occurring? and how I can fix it? Most of my sublime text config is here: https://github.com/dufferzafar/sublime-text-3 |
With great help from folks (OdatNurd & keith) at the Sublime Discord channel I was able to nail this down. OdatNurd suggested:
So I looked into Sublime's console log and found the culprit: Restructured Text (RST) Snippets also has an Essentially, these two packages are incompatible as they implement commands with the same name. Would you be willing to change the name of this command to something else? RST Snippets was last updated many years ago. So I don't think there's any point in making an issue there. For the time being I'll look into editing the source myself. Will post the diff here later. |
I see. It's the first time MDE's command conflicts with ones from another plugin. I will consider adding a prefix to all command names. |
Honestly I thought Sublime Text would limit command namespace to one package so such issues should not happen. |
Yeah. So did I. This is why I was a bit surprised by this.
But I guess until this gets into Sublime core, the best way would be to
just prepend all commands with a package identifier of sorts, right?
…On Mon 9 Jul, 2018, 12:25 PM Felix Hao, ***@***.***> wrote:
Honestly I thought Sublime Text would limit command namespace to one
package so such issues should not happen.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#530 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYeKH8pRtn9L5VpkR3zCYupUZK4pO1Nks5uEv5ygaJpZM4U4LLx>
.
|
Yes, but changing command name will very likely break user-defined hotkeys and snippets. I need to think of a more elegant solution. |
Oh, right. Well, this is certainly tricky then. For now, I've just disabled
that package.
…On Mon, Jul 9, 2018 at 1:10 PM Felix Hao ***@***.***> wrote:
Yes, but changing command name will very likely break user-defined hotkeys
and snippets. I need to think of a more elegant solution.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#530 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYeKK2W4xsv1UbCfahlTimksqnY8TWGks5uEwjqgaJpZM4U4LLx>
.
|
When creating lists, pressing
Tab
used to indent (indent_list_item
command.)But that feature has stopped working for me.
I now need to select the line and press
Tab
(indent_list_multiitem
command) to have it indented properly.The text was updated successfully, but these errors were encountered: