SXR - Scala XRay

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    SXR - Scala XRay - Presentation Transcript

    1. SXR Scala X­Ray     Template by  presentationmagazine.com
    2. Scala X­Ray • A plugin for scalac • Generates browsable source in HTML – Syntax highlighting – Call­outs for type info – Linking & highlighting for declarations    
    3. Examples • A full library • Extract in a Blog    
    4. Getting it • git clone git://github.com/harrah/browse.git • sbt “+update” “+package” – The plus performs actions for all targeted  scala versions “cross­building”     
    5. Using it • Configure the compiler to use it • With scalac ­Xplugin:<path­to­sxr­jar>        ­P:sxr:base­directory:<src­dir>     
    6. Using it with SBT • In your project class – Mix in AutoCompilerPlugins trait – Add compiler plugin to the compile options     
    7. The output • Inside <src>.sxr path, we'll find stuff – HTML – an index & one per each source file – Javascript (jquery) and css    
    8. Extracts • Extract in an iframe – Click export and copy/paste the snippet – Honours current window size – Source HTML must be at permanent address    
    9. Project • http://github.com/harrah/browse • By Mark Harrah, author of SBT • Written as a POC, but good enough to use • Seeking contributors    
    SlideShare Zeitgeist 2009

    + SynessoSynesso Nominate

    custom

    89 views, 0 favs, 0 embeds more stats

    A very brief overview of the SXR compiler plugin

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 89
      • 89 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories