To make WebMatrix better, I suggest you ...

Customisable Syntax Formatting

We already have the fantastic formatting with Ctrl+K,Ctrl+D and "quote, bracket, brace" auto-closing.

What I would love to see is more control over specific formatting, like braces on new lines when creating a new function and a separate one for statements (if, else, select, try, catch etc.) and options such as Ctrl+K,Ctrl+D formatting removing double line-spacing or trailing/redundant white-space

To be clear on the exact intent I've included examples below.

New line function brace - disabled:
function doSomething()
{
//do something
}

New line function brace - enabled:
function doSomething(){
//do something
}

New line function brace - enabled
New line statement brace - disabled:
function doSomething()
{
if(somethingTrue){
//do something
} else {
//else do something different
}
}

New line function brace - enabled
New line statement brace - enabled:
function doSomething()
{
if(somethingTrue)
{
//do something
}
else
{
//else do something different
}
}

55 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Tom Piddock shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base