For a better experience, use “Envy Code R” font with size 10px.
You can download it @ http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released
Last update @ 2015-01-28
Please send your feedbacks to http://twitter.com/rodrigoreis
Updated 2012-05-30
~~~~~~~~~~~~~~~~~~
● Added #F9254D as Selected Text color.
Updated 2012-06-01
~~~~~~~~~~~~~~~~~~
● Added #BD2666 as User Types (Interfaces) color.
Updated 2012-06-04
~~~~~~~~~~~~~~~~~~
● Changed colors of Highlighted Reference, Inactive Selected Text and Brace Matching to #303030
● Changed Keyword font weight to Bold.
Updated 2012-09-19
~~~~~~~~~~~~~~~~~~
● Changed colors of User Types, URL HyperLink and Css Property Name to #B5F109.
Updated 2014-17-09
~~~~~~~~~~~~~~~~~~
● Changed color of String C# Verbatim to #FF4747.
● Changed color of Operator to #FF8D4D.
● Changed color of Preprocessor Keyword to #FF5864.
● Changed color of HTML Server-Side Script to #FF5864.
● Changed color of Current Statement to #F5E20F.
Updated 2015-01-28
~~~~~~~~~~~~~~~~~~
● Changed color background to #232231.
for
#region Studio Style class Program : IThemeable { static int _I = 1; delegate void DoSomething(); /// <summary> /// The quick brown fox jumps over the lazy dog /// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG /// </summary> static void Main(string[] args) { string normalStr = "The time now is approximately " + DateTime.Now; Uri Illegal1Uri = new Uri("http://packmyboxwith/jugs.html?q=five-dozen&t=liquor"); Regex OperatorRegex = new Regex(@"S#$", RegexOptions.IgnorePatternWhitespace); for (int O = 0; O < 123456789; O++) { _I += (O % 3) * ((O / 1) ^ 2) - 5; if (!OperatorRegex.IsMatch(Illegal1Uri.ToString())) { // no idea what this does!? Console.WriteLine(Illegal1Uri + normalStr); } } } } #endregion
public class Highlighting { string inactiveSelection = "select this"; string highlightedRef; Collapsed textpublic void CollapsibleRegion() { string warning = "assigned but not used"; }public void Features() { highlightedRef = "again";var break = "breakpoint";SyntaxError(); CompilerError(); #if UNDEFINED_SYMBOL object excludedCode = null; #endif break = "current statement"; // current line (active) // current line (inactive) } }
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<List<Person>>" %> <!DOCTYPE html> <html> <head> <title>Studio Style ASP.NET</title> <style type="text/css"> .people { font-family: 'Arial Narrow'; font-size: 100% !important; /* comment */ } </style> </head> <body> <h1>A test page</h1> <!-- list of people --> <ul class="people"> <% foreach(Person person in Model) { %> <li> <%: person.Name %> > (<%: Html.ActionLink("edit", "Edit", new { id = 1 }) %>) </li> <% } %> </ul> <script type="text/javascript"> // TODO: use jQuery instead window.onload = function() { for(var i = 0; i < 23; i++) { alert("Hello"); } } </script> </body> </html>
@model List<Person> @{ ViewBag.Title = "Razor"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h1>Razor</h1> <ul class="people"> @foreach(Person person in Model) { <li> @person.Name > (@Html.ActionLink("edit", "Edit", new { id = 1 })) </li> } </ul>
<?xml version="1.0" encoding="utf-8" ?> <!-- this is an example XML file --> <people xmlns:x="http://studiostyles.info"> <person name="Jim Jones" ID="27"> <email html="yes">[email protected]</email> <address> <post>123 Example St,  South Brisbane</post> <city>Brisbane</city> </address> <x:comments> <![CDATA[ See? Data. Don't worry about this <tag>. ]]> </x:comments> </person> </people>
<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="100" Width="300"> <Grid> <!-- A comment --> <StackPanel HorizontalAlignment="Left"> <Button Click="Clicked">A button</Button> <StackPanel.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="Rectangle.Stroke" Value="{DynamicResource {x:Static SystemColors.ControlBrush}}" /> </Style> </StackPanel.Resources> </StackPanel> <x:Code> <![CDATA[ void Clicked(object sender, RoutedEventArgs e) { ((Button)sender).Content = "Hello World"; } ]]> </x:Code> </Grid> </Window>