Go to file
N. Taylor Mullen 31c16af40b Add smart indentation for brace completion.
- Added a standalone brace smart indenter that listens to `ITextBuffer` changed events to determine when a brace completion event needs to be handled.
- Added methods to deal with getting document trackers from `ITextBuffer`s.
- Added a `BraceSmartIndenterTest` and `BraceSmartIndenterIntegrationTest` to verify all parts of the smart indenter.
- Moved private test infrastructure classes into their own files and expanded on their functionality to enable the brace completion smart indent scenarios.

#1538
2017-10-12 15:30:28 -07:00
build Change powershell zip procedure to work on earlier versions. 2017-10-02 15:13:59 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add smart indentation for brace completion. 2017-10-12 15:30:28 -07:00
test Add smart indentation for brace completion. 2017-10-12 15:30:28 -07:00
tooling Revert "Revert MonoAddin build steps." 2017-10-02 11:56:45 -07:00
.appveyor.yml Update bootstrappers 2017-10-09 12:45:14 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Fix RazorAddin project. 2017-09-29 17:46:51 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
LICENSE.txt
NuGet.config Bump Roslyn to a 2.6.0 build 2017-08-30 15:30:57 -07:00
NuGetPackageVerifier.json
README.md Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.Slim.sln Increase Minimum Version of Visual Studio to 15.3.0 2017-09-21 17:57:36 -07:00
Razor.sln Revert "Revert MonoAddin build steps." 2017-10-02 11:56:45 -07:00
build.cmd Update bootstrappers 2017-10-09 12:45:14 -07:00
build.sh Update bootstrappers 2017-10-09 12:45:14 -07:00
run.cmd Update bootstrappers 2017-10-09 12:45:14 -07:00
run.ps1 Update bootstrappers 2017-10-09 12:45:14 -07:00
run.sh Update bootstrappers 2017-10-09 12:45:14 -07:00
version.xml

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments.

Before opening this project in Visual Studio or VS Code, execute build.cmd /t:Restore (Windows) or ./build.sh /t:Restore (Linux/macOS). This will execute only the part of the build script that downloads and initializes a few required build tools and packages.

See developer documentation for more details.