More code file types should be added, such as .c,.h, and.py, #16000

Closed
opened 2026-02-21 19:24:16 -05:00 by yindo · 3 comments
Owner

Originally created by @zhishui577 on GitHub (Aug 8, 2025).

Originally assigned to: @zhishui577 on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

dify should add more code file types, such as.c, h.py, etc., to facilitate code developers in developing code. The existing file formats are too few and not comprehensive

2. Additional context or comments

When I wanted to develop a code specification review tool, I found that the dify file type does not support code file formats

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @zhishui577 on GitHub (Aug 8, 2025). Originally assigned to: @zhishui577 on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. dify should add more code file types, such as.c, h.py, etc., to facilitate code developers in developing code. The existing file formats are too few and not comprehensive ### 2. Additional context or comments When I wanted to develop a code specification review tool, I found that the dify file type does not support code file formats ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:24:16 -05:00
yindo closed this issue 2026-02-21 19:24:16 -05:00
Author
Owner

@zhishui577 commented on GitHub (Aug 8, 2025):

such as .c .cpp .py .java .py .js .html .rb .go or create a universal text recognizer that recognizes all types as text

@zhishui577 commented on GitHub (Aug 8, 2025): such as .c .cpp .py .java .py .js .html .rb .go or create a universal text recognizer that recognizes all types as text
Author
Owner

@crazywoola commented on GitHub (Aug 8, 2025):

I think you can open a PR to add those missing formats. But I am not sure which part are you referring to?

@crazywoola commented on GitHub (Aug 8, 2025): I think you can open a PR to add those missing formats. But I am not sure which part are you referring to?
Author
Owner

@zhishui577 commented on GitHub (Aug 8, 2025):

Image For example, here, adding Code is like Document and Image, including all code file formats, rather than other file types
@zhishui577 commented on GitHub (Aug 8, 2025): <img width="537" height="812" alt="Image" src="https://github.com/user-attachments/assets/39b87a14-f397-4bfd-8489-dcd146bfa1d6" /> For example, here, adding Code is like Document and Image, including all code file formats, rather than other file types
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16000