Modify

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.

http://www.cdolivet.net/editarea/

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by Martin Scharrer

One problem with this is that trac must access the subversion permissions which might be completely different from the trac permissions.

comment:2 in reply to:  1 Changed 16 years ago by tyson@…

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.

comment:3 Changed 16 years ago by anonymous

Cc: tyson@… added; anonymous removed

Adding self to CC list.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain anybody.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.