Wiki pages <-> source code - my ideas

Hi,
For me Wiki pages are very useful to extensively comment the source code and I can see few possible improvements.

A) Direct links to specific line in the code
I would like to be able to link directly to specific line of the code e.g.
http://xp-dev.com/svnview/entry/17236/trunk/pf.cpp/1/#L40
to start browsing the code at line 40

B) Importing source code to Wiki pages
Maybe I am asking to much ;) but I see it useful to have a command to get few lines of the source code and embed them directly into Wiki page.
The parameter could be: file name, revision, start and end lines numbers.

C) Syntax highlight
Same as when browsing the code, just on Wiki pages.

Any chances to see A, B or C in the future?

Forum Topic Options

Feeds

Forum Topic and Comments

rs on Sat 21 Mar, 2009

A) should be easy to do. Moreover in the next release, there’s going to be double (short) linking between checkins and tasks, stories, bugs, etc which can be used in wiki pages as well.

C) I’m switching to prettify in the next release and there will be syntax highlighting on wiki pages.

Now, for (B) I think it might need a little more discussion. Would it be easier to just have some sort of extra comments on the subversion viewer directly ?

Are you creating a new wiki page for each checkin ?

 

You do not have sufficient permissions to comment