-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Autocomplete language for code block that targets Code playground with "custom language name" not supported by Pygments #23935
Labels
Comments
Thanks for the suggestion @i-ky -- makes sense to me! |
alya
added
help wanted
area: compose (typeahead)
Compose typeahead content and design
labels
Jan 2, 2023
@zulipbot claim |
Hello @tridentpancake, it looks like you've currently claimed 1 issue in this repository. We encourage new contributors to focus their efforts on at most 1 issue at a time, so please complete your work on your other claimed issues before trying to claim this issue again. We look forward to your valuable contributions! |
12 tasks
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 7, 2023
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 7, 2023
…peahead. This addresses zulip#23935.
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 9, 2023
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 9, 2023
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 9, 2023
tridentpancake
added a commit
to tridentpancake/zulip
that referenced
this issue
Jan 10, 2023
timabbott
pushed a commit
to tridentpancake/zulip
that referenced
this issue
Feb 25, 2023
timabbott
pushed a commit
to tridentpancake/zulip
that referenced
this issue
Mar 1, 2023
timabbott
pushed a commit
to tridentpancake/zulip
that referenced
this issue
Mar 2, 2023
timabbott
pushed a commit
that referenced
this issue
Mar 2, 2023
bigBrain1901
pushed a commit
to bigBrain1901/zulip
that referenced
this issue
Mar 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Zulip autocompletes language of the code block:
zulip/static/js/composebox_typeahead.js
Lines 612 to 633 in 9c18641
...but suggestions are limited to languages supported by Pygments (
pygments_data.langs
).Zulip also allows users to configure Code playgrounds with "custom language names":
I think these "custom language names" should also be suggested by autocomplete feature.
For example, if
send_tweet
playground is configured in the organization and users types...then Zulip should suggest
send_tweet
.The text was updated successfully, but these errors were encountered: