Opened 17 years ago
Last modified 16 years ago
#2345 new enhancement
Integrate Textarea javascript based syntax highlighting code editor into trac
Reported by: | Seth Wagoner | Owned by: | anybody |
---|---|---|---|
Priority: | normal | Component: | Request-a-Hack |
Severity: | normal | Keywords: | editor javascript |
Cc: | tyson@… | Trac Release: | 0.10 |
Description
From time to time I have thought it would be really great if I could hit a button inside the source browser and submit a patch *inside trac* rather than having to check the code out and do it someplace else.
Of course, this would often be a lot easier to do if the code to be edited was displayed inside a syntax highlighting code editor.
Today I found one, via Simon Willison's blog, it's called EditArea.
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 16 years ago by
comment:2 Changed 16 years ago by
Replying to martin_s:
One problem with this is that trac must access the subversion permissions which might be completely different from the trac permissions.
I don't think it would be unreasonable to have the solution require that permissions for Trac and Subversion are synchronized using SvnAuthzAdminPlugin or something similar.
+1 on this enhancement, though I'd like to see some more subversion operations integrated as well, such as:
- copying, moving, deleting of files.
- branching...
Perhaps the best way to do this would be to do create a shallow checkout of the repository for the user/session, perform the edits then do the checkin while showing the diff of all changes. Special case the single file edit as a streamlined version of this and it should work a treat.
Certainly a great way to reduce the effort required to participate in open source projects - I'm leaving judgement on whether this is a good thing or not up to the reader.
One problem with this is that trac must access the subversion permissions which might be completely different from the trac permissions.