Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changes to the web and JSON editor APIs in Visual Studio 2019

#1
Changes to the web and JSON editor APIs in Visual Studio 2019

Andrew B. Hall [MSFT]

Andrew

In Visual Studio 2019 Preview 2, The Web Tools team made some changes to improve extensibility features for extension developers. To standardize interfaces, the CSS, HTML, JSON and CSHTML editors renamed their assemblies as per the following table:

Old New
Microsoft.CSS.Core Microsoft.WebTools.Languages.Css
Microsoft.CSS.Editor Microsoft.WebTools.Languages.Css.Editor
Microsoft.Html.Core Microsoft.WebTools.Languages.Html
Microsoft.Html.Editor Microsoft.WebTools.Languages.Html.Editor
Microsoft.VisualStudio.Html.Package Microsoft.WebTools.Languages.Html.VS
Microsoft.JSON.Core Microsoft.WebTools.Languages.Json
Microsoft.JSON.Editor Microsoft.WebTools.Languages.Json.Editor
Microsoft.VisualStudio.JSON.Package Microsoft.WebTools.Languages.Json.VS
Microsoft.VisualStudio.Web.Extensions Microsoft.WebTools.Languages.Extensions
Microsoft.Web.Core Microsoft.WebTools.Languages.Shared
Microsoft.Web.Editor Microsoft.WebTools.Languages.Shared.Editor

To avoid potential parse issues, the JSON parse tree changed behavior. When you call JsonParserService.GetTreeAsync, you now get a snapshot of the JSON parse tree. As an extension developer, you can now request and maintain snapshots of the JSON parse tree.

Andrew B. Hall [MSFT]

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  New experimental Razor editor for Visual Studio xSicKxBot 0 1,589 09-10-2020, 05:51 AM
Last Post: xSicKxBot
  New experimental Razor editor for Visual Studio xSicKxBot 0 1,642 07-17-2020, 04:41 AM
Last Post: xSicKxBot
  Configuring Azure Services and emulators using Visual Studio xSicKxBot 0 1,580 06-04-2020, 09:16 AM
Last Post: xSicKxBot
  Configuring Azure Services and emulators using Visual Studio xSicKxBot 0 1,662 05-07-2020, 11:41 PM
Last Post: xSicKxBot
  gRPC vs HTTP APIs xSicKxBot 0 1,651 11-18-2019, 07:01 PM
Last Post: xSicKxBot
  Updated Razor support in Visual Studio Code, now with Blazor support xSicKxBot 0 1,744 07-23-2019, 11:08 AM
Last Post: xSicKxBot
  Updated Razor support in Visual Studio Code, now with Blazor support xSicKxBot 0 1,716 04-29-2019, 09:17 PM
Last Post: xSicKxBot
  Web and Azure Tool Updates in Visual Studio 2019 xSicKxBot 0 1,836 04-05-2019, 08:03 PM
Last Post: xSicKxBot
  Changes to the web and JSON editor APIs in Visual Studio 2019 xSicKxBot 0 1,776 03-07-2019, 04:41 PM
Last Post: xSicKxBot
  Razor support in Visual Studio Code now in Preview xSicKxBot 0 1,946 03-05-2019, 02:41 PM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016