Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Tanay Parikh 8602978087
Razor Code Actions Prep (#2407)
* Add `Razor.sln` as default project for O#

* Guard for unknown supported kinds

* ExtendableClientCapabilities

Support for experimental capabilities

* JsonFileDeserializer Refactor

* Handle CSSVirtualDocument

* Models Refactor

* Update projection provider position
2020-08-19 10:37:32 -07:00
Ryan Brandenburg 21f96a76a1
Find all References (#1355)
Add find all references support
2019-12-05 12:18:38 -08:00
N. Taylor Mullen aabba3ab28 Add infrastructure for us to ship our own Razor VSCode grammar.
- Used the suggested yml format to write our grammar given it will definitely grow in complexity. See [VSCode's guidance](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#using-yaml-to-write-a-grammar) for more info. One thing to note, the utility to go from YAML to JSON was already a dependency of our extension.
- Added a compile TextMate task to VSCode to enable easy Run Extension -> Edit grammar -> Re-compile text mate -> reload Experiemental instance dev flows.
- Replaced the existing Razor grammar (yes this means we will lack coloring for a period of time) to ensure we can catch bugs with the in-progress grammar quicker.
- Updated the VSCode's yml settings to have the proper tab size.
- Added a simple grammar to start (escaped Razor transitions).
- Eventually this grammar will need to live in its own repo but until we get it into a reasonable state we're going to group the grammar along side the extension to ease development.

aspnet/AspNetCore#14287
2019-11-27 22:56:17 -08:00
N. Taylor Mullen 99f004c64e Add Razor VSCode extension unit tests.
- For simplicity put the unit tests in the test folder to align with all other types of test projects.
- Converted unit tests to use `yarn` and `jest`.
- Added a `Run Unit Tests` launch configuration so we can F5 in VSCode to easily debug Razor VSCode unit tests.
- Hooked new npmproj test projects into the build.

aspnet/AspNetCore#13494
2019-09-20 11:44:08 -07:00
N. Taylor Mullen c28c3fc6f5 Integrate Razor.VSCode extension src into src/Razor.
- This changeset adds the following:
	- src/Razor/src/Microsoft.AspNetCore.Razor.VSCode - Razor VSCode extension library
	- src/Razor/src/Microsoft.AspNetCore.Razor.VSCode.Extension - Razor VSCode extension bootstrapper
- Added a `README.md` into the `Microsoft.AspNetCore.Razor.VSCode.Extension` to describe its purpose.
- Moved old Razor VSCode project bits from `npm` to `yarn`
- Added a global .vscode folder to allow having VSCode open at AspNetCore-Tooling root yet still be able to ctrl + f5 the extension
- Expanded the bootstrapper extension project (`Microsoft.AspNetCore.Razor.VSCode.Extension`) to have new commands to make working with projects in experiemental instances easy. Prior to this we relied on a node.js script that were unsupported to magically wire things together. As part of the merging of this repo I had to find an alternate route to do that.
- Added a Razor global tslint file which each VSCode project inherits from
- Added a Razor global tsconfig file which each VSCode project inherits from
- Updated npmproj's to ensure build incrementalism works.

aspnet/AspNetCore#13494
2019-09-20 11:44:08 -07:00