Skip to content

Rename extension id to djot-php for registry submission - #2

Merged
dereuromark merged 1 commit into
masterfrom
prepare-registry-id
Jun 1, 2026
Merged

dereuromark merged 1 commit into
masterfrom
prepare-registry-id

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Prep for submitting to the official Zed extension registry.

Why

The registry requires a unique extension id, and ids are immutable once published. The id djot is already taken by nzoschke/zed-djot in the registry, so this extension cannot publish under it.

Change

Rename the registry identity in extension.toml:

  • id: djot -> djot-php
  • name: Djot -> Djot (PHP)

The djot-php id signals this is the variant tuned to the php-collective/djot-php parser feature set.

Scope

extension.toml only. The internal language name (languages/djot/config.toml -> name = "Djot") and the grammar key ([grammars.djot]) are deliberately unchanged — they identify the parsed language and tree-sitter grammar, not the registry extension. File associations and .djot handling are unaffected.

Next steps (not in this PR)

  • Smoke-test the dev extension in Zed (highlighting, snippets, table alignment).
  • Submit to zed-industries/extensions: add this repo as a git submodule under extensions/, add an extensions.toml entry, run the sort step, open the PR.

The registry id 'djot' is already taken by nzoschke/zed-djot, and ids
must be unique and immutable once published. Use 'djot-php' (name
'Djot (PHP)') to signal this is the variant tuned to the djot-php
parser. The internal language name (config.toml) and grammar key stay
'Djot'/'djot' since they identify the parsed language, not the
registry extension.
Copilot AI review requested due to automatic review settings June 1, 2026 12:18
@dereuromark dereuromark added the enhancement New feature or request label Jun 1, 2026
@dereuromark
dereuromark merged commit a423680 into master Jun 1, 2026
1 check failed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@dereuromark
dereuromark deleted the prepare-registry-id branch June 1, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants