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

ctags not worked correctly on sublimetext 4152 #341

Closed
eyun221 opened this issue Aug 7, 2023 · 3 comments · Fixed by #342
Closed

ctags not worked correctly on sublimetext 4152 #341

eyun221 opened this issue Aug 7, 2023 · 3 comments · Fixed by #342

Comments

@eyun221
Copy link

eyun221 commented Aug 7, 2023

ctags
sidebar Menu "CTags: Rebuild Tags" is grey and disabled on 4152, when i degraded to 4143, it's enabled correctly again.
My os is mac os montery 12.6.7

@deathaxe
Copy link
Member

deathaxe commented Aug 7, 2023

rebuild_tags command is implemnented as TextCommand which have been restricted in usage to fix sublimehq/sublime_text#5781.

related with sublimehq/sublime_text#6062

@eyun221
Copy link
Author

eyun221 commented Aug 8, 2023

how to fix the ctags plugin?

@deathaxe
Copy link
Member

deathaxe commented Aug 8, 2023

The command needs to be converted to a WindowCommand. It seems to target normal view's also, though.

deathaxe added a commit that referenced this issue Aug 11, 2023
Fixes #341

This commit converts `RebuildTags` into a `WindowCommand` so it keeps working
when used in sidebar context menu.

This change is required as ST4147+ restricts `TextCommand` usage
to fix sublimehq/sublime_text#5781.
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 a pull request may close this issue.

2 participants