zed icon indicating copy to clipboard operation
zed copied to clipboard

add tutorial on developing an extension

Open andrewbanchich opened this issue 1 year ago • 4 comments

Check for existing issues

  • [X] Completed

Describe the feature

The current docs don't provide much information on developing extensions - they go over directory structure, but then basically end with "then just use zed_extension_api and ~~draw the owl~~ write the extension".

I looked through the existing extension implementations but it isn't super clear to me what I should be doing for mine, what's applicable and what isn't, etc.

It would be very useful if you could add an example tutorial to the docs for this.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

andrewbanchich avatar Oct 12 '24 17:10 andrewbanchich

Is this issue still open? I would love to take it on and work to improve the documentation.

adithya-adee avatar May 20 '25 03:05 adithya-adee

@adithya-adee it is! That would be awesome, thanks

andrewbanchich avatar May 20 '25 07:05 andrewbanchich

Sir @andrewbanchich , I have made changes in the documentation , can you review those changes

adithya-adee avatar May 23 '25 17:05 adithya-adee

thanks @adithya-adee ! that is very helpful.

however, i think there's still a lot that is unclear, at least based on when i tried creating one initially. i was interested in creating an extension which uses a language server, but it wasn't clear how any of that should work. e.g. how should i install the language server in the first place? it would be great to have docs for language extensions which need to install a tree sitter package and a language server.

andrewbanchich avatar May 26 '25 02:05 andrewbanchich

Okay, I will try to add that in the documentation @andrewbanchich

adithya-adee avatar May 27 '25 14:05 adithya-adee