Go to file
N. Taylor Mullen 61260ddf1c Add basic Razor directive completion.
- Added APIs to retrieve an `ITextBuffer` from a `Document` and to retrieve a `RazorCodeDocument` from an `ITextBuffer`.
- The `RazorCodeDocument` from `ITextBuffer` API supports both the new and old Razor parsers so we can transition seamlessly between the two.
- Added logic in the `RazorDirectiveCompletionProvider` to consume descriptions from `DirectiveDescriptor`s. This is then surfaced via tooltips.
- Retrieved currently active `RazorCodeDocument` given a Roslyn buffer and harvested all directives to display in the completion list.
- Added unit tests to validate each new services functionality.

#291
2017-09-05 10:08:31 -07:00
build Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Add basic Razor directive completion. 2017-09-05 10:08:31 -07:00
test Add basic Razor directive completion. 2017-09-05 10:08:31 -07:00
tooling/Microsoft.VisualStudio.RazorExtension Implmement a project system for Razor 2017-08-30 12:58:38 -07:00
.appveyor.yml Use Directory.Build.props/targets (#1641) 2017-08-23 12:24:57 -07:00
.editorconfig
.gitattributes
.gitignore Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07:00
.travis.yml Enable Travis and AppVeyor in "rel" branches (#1539) 2017-07-11 15:11:12 -07:00
CONTRIBUTING.md
Directory.Build.props Bump Roslyn to a 2.6.0 build 2017-08-30 15:30:57 -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 Update dependencies to match Visual Studio 15.3 (#1534) 2017-07-11 16:34:32 -07:00
README.md Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.Slim.sln Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
Razor.sln Use PackageLineup to manage PackageReference versions 2017-08-25 15:44:05 -07:00
build.cmd Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07:00
build.ps1 Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07:00
build.sh Ensure fallback to curl after failed wget 2017-08-02 14:33:31 -07:00
version.xml Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:34:22 -07:00

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.