Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main to tokenizer branch #10872

Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 12, 2024

  1. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240805.2
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 9.0.0-alpha.1.24374.1 -> To Version 9.0.0-alpha.1.24405.2
    dotnet-maestro[bot] committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    204efc4 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …812.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24376.1 -> To Version 8.0.0-beta.24412.1
    dotnet-maestro[bot] committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    718cea3 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …814.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24408.2 -> To Version 9.0.0-beta.24414.3
    dotnet-maestro[bot] committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    9e63e09 View commit details
    Browse the repository at this point in the history
  2. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …813.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24412.1 -> To Version 8.0.0-beta.24413.2
    dotnet-maestro[bot] committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    f38b165 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    c2894e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    546a349 View commit details
    Browse the repository at this point in the history
  3. Semantic tokens tweaks

    fixup semantic tokens tweask
    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    032f7ca View commit details
    Browse the repository at this point in the history
  4. Fix tests

    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    97be219 View commit details
    Browse the repository at this point in the history
  5. Remove unused parameter

    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    162c7d5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    186a134 View commit details
    Browse the repository at this point in the history
  7. Expand testing slightly

    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4fe2eff View commit details
    Browse the repository at this point in the history
  8. Minor logging cleanup

    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    061347e View commit details
    Browse the repository at this point in the history
  9. Remove unused using

    davidwengier committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    6a166de View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    374e85c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b05dd12 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …816.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24414.3 -> To Version 9.0.0-beta.24416.2
    dotnet-maestro[bot] committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    b81f3eb View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Configuration menu
    Copy the full SHA
    e5cff02 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. PR feedback - sorta

    davidwengier committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    af13ebd View commit details
    Browse the repository at this point in the history
  2. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240815.3
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 9.0.0-alpha.1.24405.2 -> To Version 10.0.0-alpha.1.24415.3
    dotnet-maestro[bot] committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    3bffce3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80d1ed3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e1774a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86e05ee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    635695f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7ba4179 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    25acc07 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d00b1ff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89204d4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c755804 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ff63a4e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    90f90ef View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5072db4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    34507da View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7ac711b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    03e2d07 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    972691b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dd11c5e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    96adc42 View commit details
    Browse the repository at this point in the history
  21. Use SuppressUniqueIds exclusively from RazorCodeGenerationOptions

    This change stops pushing the SuppressUniqueIds value into RazorCodeDocument.Items.
    DustinCampbell committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    28bfd61 View commit details
    Browse the repository at this point in the history
  22. Push NewLine setting into RazorCodeGenerationOptions

    This change stops pushing the NewLine value into RazorCodeDocument.Items.
    DustinCampbell committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    1eb601c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7a9f32e View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    6593264 View commit details
    Browse the repository at this point in the history
  2. PR Feedback

    davidwengier committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    80ae134 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream/main' into dev/dawengie/SelfVe…

    …rsionedDocumentSnapshots
    davidwengier committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0c2504b View commit details
    Browse the repository at this point in the history
  4. Fix after merge

    davidwengier committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    caac599 View commit details
    Browse the repository at this point in the history
  5. Fix goofy whitespace

    DustinCampbell committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    b58f180 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    934fea8 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Move add usings helper code down to the workspaces layer

    This commit is just moves, no functionality changes. Minor tweaks to method visibility, and one rename of a static field :)
    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    97ac536 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8984db9 View commit details
    Browse the repository at this point in the history
  3. Rename some methods

    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    fba3f1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2c39c20 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e45f094 View commit details
    Browse the repository at this point in the history
  6. Be SUPER specific about our APIs, what they accept, and what they return

    This probably looks like overkill, but hopefully the next commit will help explain a little about what is going on.
    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    a702716 View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'upstream/main' into dev/dawengie/SelfVe…

    …rsionedDocumentSnapshots
    
    # Conflicts:
    #	src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/ProjectSystem/DocumentContextExtensions.cs
    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    b477b4a View commit details
    Browse the repository at this point in the history
  8. Pass Html edits into the formatting service, so that the service does…

    …n't need LSP client dependencies
    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    e56b85e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3f57810 View commit details
    Browse the repository at this point in the history
  10. Minor cleanup

    davidwengier committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    38868db View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ca142be View commit details
    Browse the repository at this point in the history
  12. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …820.6
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24416.2 -> To Version 9.0.0-beta.24420.6
    dotnet-maestro[bot] committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    a9eaef6 View commit details
    Browse the repository at this point in the history
  13. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240819.1
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 10.0.0-alpha.1.24415.3 -> To Version 10.0.0-alpha.1.24419.1
    dotnet-maestro[bot] committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    3458aba View commit details
    Browse the repository at this point in the history
  14. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …821.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24420.6 -> To Version 9.0.0-beta.24421.2
    dotnet-maestro[bot] committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    ceb0613 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1143900 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. One last minor cleanup

    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2165fcb View commit details
    Browse the repository at this point in the history
  2. Be explicit about formatting passes

    Always felt like a huge potential bug farm. eg, if Html ended up not being first we'd have bugs, working out the Order property (which was weirdly backwards?) was a pain, and the entire formatting engine produces horrible results if the ordering changes anyway.
    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d635754 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e12117 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f1c6ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f74150d View commit details
    Browse the repository at this point in the history
  6. Separate out the files in the Html formatter passes.

    Doing this separately, and purely mechanically, so make review easier
    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    ef44f4f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45b8495 View commit details
    Browse the repository at this point in the history
  8. Remove Kind property from FormattingResult

    This was only used for validation as edits pass through the pipeline, but since we now tightly control the pipeline its unnecessary
    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5caa48f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fa4e8ef View commit details
    Browse the repository at this point in the history
  10. We can't tell the client which version we're applying edits for, beca…

    …use only we understand our version numbers
    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3b2ba30 View commit details
    Browse the repository at this point in the history
  11. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …821.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24421.2 -> To Version 9.0.0-beta.24421.7
    dotnet-maestro[bot] committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    ec191f8 View commit details
    Browse the repository at this point in the history
  12. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …821.4
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24413.2 -> To Version 8.0.0-beta.24421.4
    dotnet-maestro[bot] committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6970dee View commit details
    Browse the repository at this point in the history
  13. Remove ItemCollection from CodeRenderingContext (dotnet#10764)

    Because of a dare from @333fred, I'm currently on a crusade to remove
    `ItemCollection` from the Razor Compiler completely. Previously, I
    removed `ItemCollection` from `TagHelperDescriptorProviderContext`
    (dotnet#10720). This time, I'm removing it from `CodeRenderingContext`.
    
    It turns out that every `CodeRenderingContext` greedily creates an
    `ItemCollection`, though there are only ever two things stored there:
    
    1. A string to use for new lines in `CodeWriter`.
    2. A string representing "suppress IDs", which is already specified in
    `RazorCodeGenerationOptions`.
    
    These two items were really present as a hook that compiler tests could
    set. However, it's much easier and less wasteful to elevate both items
    to `RazorCodeGenerationOptions` and make tests set the options directly.
    
    I made a few other refactorings as part of this change:
    
    - I merged several abstract base classes with their single default
    concrete type:
      - `CodeRenderingContext` and `DefaultCodeRenderingContext`
      - `RazorCSharpDocument` and `DefaultRazorCSharpDocument`,
      - `RazorCodeGenerationOptions` and `DefaultRazorCodeGenerationOptions`
    - `RazorCodeGenerationOptionsBuilder` and
    `DefaultRazorCodeGenerationOptionsBuilder`.
    - Reworked `RazorCodeGenerationOptions` and introduced
    `RazorCodeGenerationOptionsFlags` to track its boolean fields.
    - Cleaned up `RazorCSharpDocument` and unified its collections on
    `ImmutableArray<>` rather than `IReadOnlyList<>`.
    - Enabled nullability annotations for several types.
    - Used more pooled collections in `CodeRenderingContext`.
    
    Note: I was careful with my commit history, and it should be clean
    enough to review commit-by-commit if that's your preference.
    DustinCampbell authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3423142 View commit details
    Browse the repository at this point in the history
  14. Remove unused parameter

    davidwengier committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4124ce4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d031cc6 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Simple PR feedback

    davidwengier committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    587e72a View commit details
    Browse the repository at this point in the history
  2. Missed the readonly bit

    davidwengier committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    6622a0f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3b79428 View commit details
    Browse the repository at this point in the history
  4. More PR feedback

    davidwengier committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2157169 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79d0c3c View commit details
    Browse the repository at this point in the history
  6. [release/dev17.11] Update dependencies from dotnet/arcade (dotnet#10552)

    This pull request updates the following dependencies
    
    [marker]: <> (Begin:aa7f5ce7-ed24-46a1-195c-08dc952fc8a2)
    ## From https://github.com/dotnet/arcade
    - **Subscription**: aa7f5ce7-ed24-46a1-195c-08dc952fc8a2
    - **Build**: 20240821.4
    - **Date Produced**: August 21, 2024 6:41:26 PM UTC
    - **Commit**: 4460b755f3c7c89e9660d9580ff79afc4218dd85
    - **Branch**: refs/heads/release/8.0
    
    [DependencyUpdate]: <> (Begin)
    
    - **Updates**:
    - **Microsoft.SourceBuild.Intermediate.arcade**: [from
    8.0.0-beta.24413.2 to 8.0.0-beta.24421.4][44]
    - **Microsoft.DotNet.Arcade.Sdk**: [from 8.0.0-beta.24413.2 to
    8.0.0-beta.24421.4][44]
    
    [44]: dotnet/arcade@51321b7...4460b75
    
    [DependencyUpdate]: <> (End)
    
    
    [marker]: <> (End:aa7f5ce7-ed24-46a1-195c-08dc952fc8a2)
    dibarbet authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b5e50df View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …823.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24421.7 -> To Version 9.0.0-beta.24423.2
    dotnet-maestro[bot] committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    e841c0e View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Configuration menu
    Copy the full SHA
    286b3e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    aeca1e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdcef8e View commit details
    Browse the repository at this point in the history
  3. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240821.1
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 10.0.0-alpha.1.24419.1 -> To Version 10.0.0-alpha.1.24421.1
    dotnet-maestro[bot] committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    5ca9964 View commit details
    Browse the repository at this point in the history
  4. [FUSE] Provide intellisense for @Inject directives (dotnet#10771)

    * When @Inject is missing the member name, generate a syntactically valid c# identifier so we get intellisense
    * Emit an empty section when there is no typename
    * Add tests and update baselines
    chsienki authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    aa024eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    038f7fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fff39dc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e7db6bc View commit details
    Browse the repository at this point in the history
  8. Fix Formatting and On Enter integration tests (dotnet#10788)

    Since the end of last week, these tests have been failing. Seems like
    something changed on the platform side, perhaps a default value of a
    setting. Have started a thread with the editor team to see if we need to
    do more.
    davidwengier authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    156f016 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Update configs for 17.12p3 snap (dotnet#10792)

    Draft until snap time.
    dibarbet authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8ff61a0 View commit details
    Browse the repository at this point in the history
  2. Snap for 17.12 P2 (dotnet#10793)

    merge main into release/dev17.12 to update for 17.12 P2. Main is 17.12
    P3.
    dibarbet authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fe31c90 View commit details
    Browse the repository at this point in the history
  3. Remove debug.fails

    davidwengier committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8cebb29 View commit details
    Browse the repository at this point in the history
  4. PR feedback

    davidwengier committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    19134c2 View commit details
    Browse the repository at this point in the history
  5. Merge release/dev17.12 to main (dotnet#10794)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    75dcf45 View commit details
    Browse the repository at this point in the history
  6. Localized file check-in by OneLocBuild Task: Build definition ID 262:…

    … Build ID 2524803 (dotnet#10790)
    
    This is the pull request automatically created by the OneLocBuild task
    in the build process to check-in localized files generated based upon
    translation source files (.lcl files) handed-back from the downstream
    localization pipeline. If there are issues in translations, visit
    https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is
    https://aka.ms/onelocbuild and the localization process in general is
    documented at https://aka.ms/AllAboutLoc.
    davidwengier authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0499664 View commit details
    Browse the repository at this point in the history
  7. Self-versioned documents (dotnet#10747)

    A few integration tests to investigate, but the guts are here.
    
    I'm _slightly_ worried this might cause us to recompile files more
    often, but there is also the chance this fixes a bunch of bugs by
    recompiling files more often :)
    
    Commit-at-a-time review is highly recommended, as there are lots of flow
    on effects of API changes
    davidwengier authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    1ea1552 View commit details
    Browse the repository at this point in the history
  8. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …826.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24423.2 -> To Version 9.0.0-beta.24426.3
    dotnet-maestro[bot] committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d7b76ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b6eb03f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a7e5bf9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    965d3e8 View commit details
    Browse the repository at this point in the history
  12. Suppress unique ids (dotnet#10791)

    * Use more obvious SuppressUniqueIds value
    * Update baselines
    chsienki authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6045ef2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2476b63 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8cba235 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    33ad4fb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e98f5e8 View commit details
    Browse the repository at this point in the history
  17. Rework ErrorSink

    - Use pooled `ImmutableArray<RazorDiagnostic>.Builder` internally
    - Don't request pooled builder until first error is added
    - Make ErrorSink disposable to return builder to pool
    - Add GetErrorsAndClear() method to returns an `ImmutableArray<RazorDiagnostic>` and clears out the sink.
    - Add 'ParserContext.PushNewErrorScope(...)` to handle the temporary ErrorSinks used by CSharpCodeParser
    DustinCampbell committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0df9f25 View commit details
    Browse the repository at this point in the history
  18. Clean up ParserContext and use pooled collections

    This change cleans up ParserContext a bit and uses pooled collections within it.
    DustinCampbell committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    aa0d7a7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    69d4b10 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    fcf0de8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ac1ea08 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    73fb2df View commit details
    Browse the repository at this point in the history
  23. [main] Update dependencies from dotnet/arcade (dotnet#10605)

    Coherency update: Failed to perform coherency update for one or more
    dependencies. Please review the GitHub checks or run `darc
    update-dependencies --coherency-only` locally against
    darc-main-a20bf2b8-a79a-4f26-a141-1afa2bfa58d0 for more information.
    
    [marker]: <> (Begin:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
    ## From https://github.com/dotnet/arcade
    - **Subscription**: 2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d
    - **Build**: 20240826.3
    - **Date Produced**: August 26, 2024 5:01:25 PM UTC
    - **Commit**: e3bdd9a0f2a65fe037ba1adb2261eea48a840fa4
    - **Branch**: refs/heads/main
    
    [DependencyUpdate]: <> (Begin)
    
    - **Updates**:
    - **Microsoft.SourceBuild.Intermediate.arcade**: [from
    9.0.0-beta.24423.2 to 9.0.0-beta.24426.3][1]
    - **Microsoft.DotNet.Arcade.Sdk**: [from 9.0.0-beta.24423.2 to
    9.0.0-beta.24426.3][1]
    
    [1]: dotnet/arcade@9159926...e3bdd9a
    
    [DependencyUpdate]: <> (End)
    
    
    [marker]: <> (End:2907dbca-fa2e-42bc-f7dd-08dc0c5b4e6d)
    dibarbet authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    7ed43a1 View commit details
    Browse the repository at this point in the history
  24. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …826.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24352.2 -> To Version 9.0.0-beta.24426.3
    dotnet-maestro[bot] committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5a4e0a7 View commit details
    Browse the repository at this point in the history
  25. [release/dev17.12] Update dependencies from dotnet/arcade (dotnet#10799)

    This pull request updates the following dependencies
    
    [marker]: <> (Begin:761d0bec-2526-451d-fdf9-08dcc6cdae74)
    ## From https://github.com/dotnet/arcade
    - **Subscription**: 761d0bec-2526-451d-fdf9-08dcc6cdae74
    - **Build**: 20240826.3
    - **Date Produced**: August 26, 2024 5:01:25 PM UTC
    - **Commit**: e3bdd9a0f2a65fe037ba1adb2261eea48a840fa4
    - **Branch**: refs/heads/main
    
    [DependencyUpdate]: <> (Begin)
    
    - **Updates**:
    - **Microsoft.SourceBuild.Intermediate.arcade**: [from
    9.0.0-beta.24352.2 to 9.0.0-beta.24426.3][1]
    - **Microsoft.DotNet.Arcade.Sdk**: [from 9.0.0-beta.24352.2 to
    9.0.0-beta.24426.3][1]
    
    [1]: dotnet/arcade@4a7d983...e3bdd9a
    
    [DependencyUpdate]: <> (End)
    
    - **Updates to .NET SDKs:**
      - Updates sdk.version to 9.0.100-preview.7.24407.12
      - Updates tools.dotnet to 9.0.100-preview.7.24407.12
    
    [marker]: <> (End:761d0bec-2526-451d-fdf9-08dcc6cdae74)
    dibarbet authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0dc0f6e View commit details
    Browse the repository at this point in the history
  26. Merge remote-tracking branch 'upstream/release/dev17.11' into merges/…

    …release/dev17.11-to-release/dev17.12
    dibarbet committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    79c46c0 View commit details
    Browse the repository at this point in the history
  27. Merge release/dev17.12 to main (dotnet#10801)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d0be044 View commit details
    Browse the repository at this point in the history
  28. Merge release/dev17.11 to release/dev17.12 (dotnet#10785)

    This is an automatically generated pull request from release/dev17.11
    into release/dev17.12.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.11
    - https://github.com/dotnet/razor/find/release/dev17.12
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12
    git reset --hard upstream/release/dev17.12
    git merge upstream/release/dev17.11
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.11-to-release/dev17.12 --force
    ```
    dotnet-bot authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    da86194 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Merge release/dev17.12 to main (dotnet#10803)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    a530667 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b69790 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bc3489 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e516052 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eba6a6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    acb9a8e View commit details
    Browse the repository at this point in the history
  7. Fix tooling test inputs

    davidwengier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6cc8ce5 View commit details
    Browse the repository at this point in the history
  8. Remove stale TODO

    davidwengier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1de43a0 View commit details
    Browse the repository at this point in the history
  9. When undoing provisional completion, don't accidentally delete a huge…

    … large chunk of the generated file
    davidwengier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    39942a2 View commit details
    Browse the repository at this point in the history
  10. Simplify integration test to increase reliability because our formatt…

    …ing engine has known issues
    davidwengier committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    54533a5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ec671db View commit details
    Browse the repository at this point in the history
  12. Fix provisional completion corrupting generated C# documents (dotnet#…

    …10806)
    
    Fixes dotnet#10759
    
    Initially when investigating this I was digging into buffer versions and
    race conditions, but now that the editor fix is in, and we are self
    versioned, the bug stood out much more obviously: A character offset was
    being passed in to a parameter that expected a length 🤦‍♂️
    
    Sadly none of the `RazorCustomMessageTarget` code is testable. Cohosting
    will make this trivial though, as we would simply create a new
    `Document` with the provisional change, and drop it on the floor when
    we're finished.
    phil-allen-msft authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8e11180 View commit details
    Browse the repository at this point in the history
  13. Change UseConsolidatedMvcViews to default to true (dotnet#10795)

    * Change UseConsolidatedMvcViews to default to true
    * Update baselines
    * Update LSP test
    chsienki authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f35b6c6 View commit details
    Browse the repository at this point in the history
  14. Fix find all references calls to Roslyn (dotnet#10807)

    Fixes integration test failures in Find All References.
    
    Roslyns LSP types got much more spec compliant in
    dotnet/roslyn#73911 and we were never sending
    the `Context` property in our request, so deserialization failed on
    their end.
    phil-allen-msft authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5eb9d0c View commit details
    Browse the repository at this point in the history
  15. Global namespace component bind (dotnet#10798)

    * Don't create a taghelper with no matching rules
    * Add test
    
    ---------
    
    Co-authored-by: Jan Jones <jan.jones.cz@gmail.com>
    chsienki and jjonescz authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    27a338b View commit details
    Browse the repository at this point in the history
  16. Merge release/dev17.12 to main (dotnet#10809)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    562be1a View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Cleanup and rename files to bring them to modern standards

    Purely mechanical changes here - using primary constructors, interfaces over abstract classes, etc.
    davidwengier committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    b650cee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a05f9e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    744e9e3 View commit details
    Browse the repository at this point in the history
  4. Update existing tests

    davidwengier committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ebe3878 View commit details
    Browse the repository at this point in the history
  5. Write out JS comments when there would be 4 or more consecutive tilde…

    …s in generated Html (dotnet#10805)
    
    Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2222322
    
    Our use of tildes as replacement characters for C# in Html documents has
    never been great, and has caused issues with JS/TS and Html tooling in
    the past, but it seems there are scenarios where
    large/complicated/specifically formed Razor documents can actually crash
    the JS compiler. Seems it has a perf issue where lots of unary negation
    (ie, `~`) causes stack size issues.
    
    This PR mitigates the issue by encoding any stretch of C# characters
    that are 4 characters or longer as a JS comment (`/*~~~*/`) so that the
    compiler will ignore some of the more problematic chunks of Razor files.
    There is one case where we couldn't do that, but any pressure relief
    should help even if it's not 100%.
    davidwengier authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1f45c70 View commit details
    Browse the repository at this point in the history
  6. Cohosting OnAutoInsert endpoint (dotnet#10776)

    * Factoring out AutoInsertService
    
    * Switch non-cohost endpoint to use new AutoInsertService
    
    * Adding Remote and OOB AutoInsertService classes and OnAutoInsertProviders
    
    * Add common code for capabilities
    
    * Add cohost OnAutoInsert endpoint
    
    * Parameter rename
    
    * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/AutoClosingTagOnAutoInsertProvider.cs
    
    Co-authored-by: David Wengier <david.wengier@microsoft.com>
    
    * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/IAutoInsertService.cs
    
    Co-authored-by: David Wengier <david.wengier@microsoft.com>
    
    * Update src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/InsertTextEdit.cs
    
    Co-authored-by: David Wengier <david.wengier@microsoft.com>
    
    * Fixup after rebase
    
    * More post-build cleanup
    
    * Move common HTML and C# auto-insert trigger chars per CR suggestion
    
    * More cleanup after rebase
    
    * Add IOnAutoInsertTiggerCharacterProvider per CR suggestion
    
    * Removing trigger characters property from RemoteAutoInsertService per CR suggestion
    
    * Switch to using RemoteResponse
    
    * Fixup bad resolve after rebase, and extra whitespace in RazorLangaugeServer
    
    * Complete capabilities check in CohostingOnAutoInsertEndpoing registration
    
    * Change input position type to serializable :LinePosition
    
    * Fixing RemoteInsertTextEdit to use properly annotated (for serialization) types only
    
    * Support for delegating auto-insert to C#
    
    * Fixup after rebase
    
    * Fixup AutoClosingTagOnAutoInsertProviderTest tests
    
    * Fixinfg up CloseTextTagOnAutoInsertProviderTest tests
    
    * Fixing up OnAutoInsertEndpointTest (which also tests the new AutoInsertService)
    
    * Fixing duplicate OnAutoInsert handler registration (bad merge after rebate)
    
    * Fixes to MEF composition issue and capabilities check
    - IDocumentMappingService was not needed (and not available via MEF), so removed that
    - TextDocument does not implmement VSInternalTextDocumentClientCapabilities
    
    * Fixing incorrect export type
    
    * Minor cleanup per CR suggestions
    
    * Switching parameters to RazorCodeDocument and removing async in a lot of places per CR suggestion
    
    * Fixing build - removing unneeded using
    
    * Fix RemoteAutoInsertService logic to follow existing code (always prefer our own AutoInsertService first)
    
    * Check allowed trigger characters before delegating to other languages/servers
    
    * Plumbing through actual option values we need and using them
    
    * Fixup After Rebase
    
    * Consuming RazorFormattingService in remote OnAutoInsert service
    
    * Fixing exception in RemoteProjectSnapshot.Configuration
    
    Moving GetFormatterCodeDocumentAsync() into IDocumentSnapshot (and implementations of that) to allow eaiser differentiation of behavior in remote (cohosting) case where we don't need to check the flag on Project.Configuration.
    
    Also AddUsingStatementsIfNeeded *always* gets called, even in cases when they are not actually needed, so we can't Debug.Fail there.
    
    * Switch to PreferHtmlInAttributeValuesDocumentPositionInfoStrategy as the original code does
    
    That allows the code insert double-quotes by delegating to HTML language server after attribute name and equals.
    
    * Cleanup usings
    
    * More usings cleanup
    
    * PR feedback - minor cleanup and removal of InsertTextEdit type in favor of VSInternalDocumentOnAutoInsertResponseItem
    
    * PR feedback - removing MEF usage from RemoteAdhocWorkspaceFactory, minor cleanup
    
    * PR feedback
    
    * Type and method renames, minor cleanup per PR feedback
    
    * Renaming interface methods, removing unnecessary usage of FrozenSet
    
    * Use ImmutableArray to store providers
    
    * Switching to bool and out on IAutoInsertService and implementation
    
    * Cleaned up document position info calculation per PR feedback
    
    * Minor cleanup in RemoteAutoInsertService
    
    * Cleanup trigger character calculation in CohostOnAutoInsertEndpoint
    
    * Formatting changes, VsLspFactory usage
    
    * Revert to MEF DI in RemoteAdhocWorkspaceFactory/RemoteRazorFormattingService
    
    * Removing Rolsyn to VS LSP extension methods
    
    * Switch to raw strings in tests and minor whitespace cleanup
    
    * Rename per PR feedback suggestion to better indicate the purpose
    
    * Cleanup formatting code document acquisition per PR feedback
    
    Creating IFormattingCodeDocumentProvider service with seprate LSP and Remote implementations to provide code document appropriate for formatting.
    
    * Removing redundant assert as compiler is already doing the check
    
    * Unnecessary assignment cleanup
    
    * Misc PR feedback cleanup
    
    * Made GetGeneratedOutputAsync an extension method per PR feedback
    
    * Remaining MEF parameter attrivute formatting changes
    
    * Last of the PR feedback.
    
    * Fixing most unit test failures.
    
    Extension methods can't be used for Mock setups, so since I made GetGeneratedOutputAsync() with no parameter an extension method, I had to switch unit tests to use GeGeneratedOutputAsync(It.Any<bool>())
    
    * Fixing last 4 unit test failures
    
    We still had non-parameter GetGeneratedOutputAsycnc in DocumentSnapshot (even though it wasn't in IDocumentSnapshot) which was getting called internally. That was both messy (since there is now no-parameter extension method on IDocumentSnapshot) and was causing issues in tests
    
    ---------
    
    Co-authored-by: David Wengier <david.wengier@microsoft.com>
    alexgav and davidwengier authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    12f5194 View commit details
    Browse the repository at this point in the history
  7. Fix setting breakpoints with self versioned documents (dotnet#10811)

    Fixes an issue found in app building. Thanks @phil-allen-msft!
    
    Also fixes dotnet#9161
    
    To make reviewing easier:
    * First commit is entirely mechanical cleanup, renames, etc. and can be
    skipped.
    * Second commit is the fix.
    * Third commit is tests.
    * Fourth commit is updating more tests because these days when you ask
    VS to build things it doesn't build all of it and I need to get into the
    habit of doing a command line build before pushing
    
    Because of the type and file renames, looking at the PR as a whole is
    inadvised.
    davidwengier authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e1f6fba View commit details
    Browse the repository at this point in the history
  8. Merge remote-tracking branch 'upstream/main' into FormattingLayering

    # Conflicts:
    #	src/Razor/benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks/LanguageServer/RazorCSharpFormattingBenchmark.cs
    #	src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/AutoInsert/OnAutoInsertEndpoint.cs
    #	src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Formatting/HtmlFormatter.cs
    #	src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/InlineCompletion/InlineCompletionEndPoint.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/FormattingContext.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/IRazorFormattingService.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/CSharpFormattingPass.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/FormattingContentValidationPass.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/FormattingDiagnosticValidationPass.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/Passes/HtmlFormattingPassBase.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Formatting/RemoteCSharpOnTypeFormattingPass.cs
    #	src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Formatting/RemoteRazorFormattingPass.cs
    #	src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/AutoInsert/RazorOnAutoInsertProviderTestBase.cs
    #	src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Completion/Delegation/DelegatedCompletionItemResolverTest.NetFx.cs
    #	src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/FormattingLanguageServerTestBase.cs
    #	src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/FormattingTestBase.cs
    #	src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/TestRazorFormattingService.cs
    davidwengier committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d0e2a57 View commit details
    Browse the repository at this point in the history
  9. Fixes after merge

    davidwengier committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ee83a6b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Re-architect formatting to prepare for cohosting (and for fun!) (dotn…

    …et#10778)
    
    I nerd sniped myself thinking about how to get formatting into
    cohosting, given the limitations Alex ran into doing the relayering for
    auto insert, and this is the result. I was going to go further and port
    the actual formatting endpoint to cohosting, but that would have ran
    into the same issue that Alex did with auto insert, so I figured I'd
    wait for that to merge, and put this up in the meantime.
    
    This unblocks the formatting, code action and completion end points from
    being ported.
    Part of dotnet#10743
    Part of dotnet#9519
    
    I **strongly** recommend reviewing commit-at-a-time, as I did this
    deliberately in an order, and in order to (hopefully) make reviewing
    easier. Though granted, there are a lot of commits.
    davidwengier authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    21c7674 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dc0e5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a657d5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d4e9ab View commit details
    Browse the repository at this point in the history
  5. Update PublishData.json

    dibarbet authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    3ca4497 View commit details
    Browse the repository at this point in the history
  6. Update PublishData after VS snap (dotnet#10817)

    ### Summary of the changes
    
    -
    
    Fixes:
    dibarbet authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    f01a5a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Skip flaky test

    davidwengier authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    18c3107 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Move trigger characters and logic to the formatting service

    So it can be shared
    davidwengier committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    cb0ae13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3da875b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a26624 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    90c7b47 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2cbbdf5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c3b12b View commit details
    Browse the repository at this point in the history
  7. Create basic tests

    These don't test the full capabilities of the formatting engine, just that it runs in cohosting
    davidwengier committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    a336b7f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    55c51a3 View commit details
    Browse the repository at this point in the history
  9. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240828.1
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 10.0.0-alpha.1.24421.1 -> To Version 10.0.0-alpha.1.24428.1
    dotnet-maestro[bot] committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    4a96692 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8bddfe9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    56128c3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4a44a99 View commit details
    Browse the repository at this point in the history
  13. Test

    davidwengier committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    391f322 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    a7cd940 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e82de7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f867a03 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    277c780 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    abc48b3 View commit details
    Browse the repository at this point in the history
  6. Ensure PooledArrayBuilder<T> resets capacity of builder after drain

    It is perfectly legal for a PooledArrayBuilder<T> to be drained via one of the DrainToImmutable* methods and then continue adding items to the builder. However, if the inner ImmutableArray<T>.Builder's capacity was set to 0 during the drain, its capacity will not be reset to any specified value when adding new items. This change fixes that.
    DustinCampbell committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    5c0677a View commit details
    Browse the repository at this point in the history
  7. Clarify [EventHandler] tag helper discovery logic and avoid exception (

    …dotnet#10828)
    
    This fixes an issue that @tmat pointed out to me over email. In a recent
    change (dotnet#10720), I added a call to `Assumed.Unreachable()` when
    `[EventHandler]` tag helper discovery encounters an attribute with
    invalid constructor attributes. However, throwing an exception during
    tag helper discovery is usually the wrong approach. Normally, if Roslyn
    symbols aren't in the proper shape during tag helper discovery, Razor
    will simply not produce a tag helper. (We _do_ support diagnostics for
    tag helpers, but those are usually reserved for warnings and errors that
    are related to a tag helper's data that would make it unusable, such as
    a name containing whitespace.)
    
    It turns out that the "unreachable" condition wasn't actually all that
    unreachable and @tmat was hitting it while working on hot reload tests.
    So, I've changed the code to make the success conditions clearer, i.e.,
    the attribute data must match one of the two constructor calls. And, I
    changed the logic to simply skip `[EventHandler]` attributes that don't
    meet the success conditions.
    DustinCampbell authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    277663c View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. PR feedback

    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    467ff24 View commit details
    Browse the repository at this point in the history
  2. Rename service

    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d9e380b View commit details
    Browse the repository at this point in the history
  3. Whitespace

    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    84c2983 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    915c4c3 View commit details
    Browse the repository at this point in the history
  5. Remove IsImportDocument

    Was only used in one place, and that place could never have any result except false due to a FileKind check above
    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    074043b View commit details
    Browse the repository at this point in the history
  6. Remove GetRelatedDocuments from IProjectSnapshot

    This is only called from the LSP server, and shouldn't be called from cohosting, so now it can't be!
    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    7107165 View commit details
    Browse the repository at this point in the history
  7. [main] Update dependencies from dotnet/arcade (dotnet#10816)

    * Update dependencies from https://github.com/dotnet/arcade build 20240829.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24426.3 -> To Version 9.0.0-beta.24429.3
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240829.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24429.3 -> To Version 9.0.0-beta.24429.5
    
    * Failed to perform coherency update for one or more dependencies.
    
    ---------
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4ec65fb View commit details
    Browse the repository at this point in the history
  8. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …826.2 (dotnet#10808)
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    41acbde View commit details
    Browse the repository at this point in the history
  9. [release/dev17.10] Update dependencies from dotnet/arcade (dotnet#10529)

    * Update dependencies from https://github.com/dotnet/arcade build 20240624.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240624.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240624.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240624.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240624.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240626.4
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240626.4
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240628.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240628.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240702.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240709.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24359.3
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240710.5
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240716.7
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24366.7
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240717.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240717.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240717.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240717.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240717.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240722.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240722.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240722.3
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240726.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240812.1
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24376.1 -> To Version 8.0.0-beta.24412.1
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240813.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24412.1 -> To Version 8.0.0-beta.24413.2
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240821.4
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24413.2 -> To Version 8.0.0-beta.24421.4
    
    * Update dependencies from https://github.com/dotnet/arcade build 20240826.2
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2
    
    ---------
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    187962c View commit details
    Browse the repository at this point in the history
  10. Change RazorSyntaxTree.Diagnostics from an IReadOnlyList<RazorDiagnos…

    …tic> to an ImmutableArray<RazorDiagnostic> (dotnet#10797)
    
    This pull request represents several changes with the ultimate goal of
    exposing `RazorSyntaxTree.Diagnostics` as an
    `ImmutableArray<RazorDiagnostic>` rather than an
    `IReadOnlyList<RazorDiagnostic>`:
    
    - Clean up `RazorSyntaxTree` and get rid of `DefaultRazorSyntaxTree`.
    - Add `(Drain)ToImmutableOrdered*` methods to `PooledArrayBuilder<T>`.
    Note that this change also includes a refactoring to the various unit
    tests for ordering to share test data that I've isolated to a single
    commit.
    - Clean up and improve `ErrorSink` to no longer greedily create a new
    `List<T>` before any errors are encountered.
    - Clean up `ParserContext` and make it used pooled collections.
    - Use pooled collections when computing and caching the result of
    `RazorSyntaxTree.Diagnostics`.
    DustinCampbell authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    90b1855 View commit details
    Browse the repository at this point in the history
  11. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …903.1 (dotnet#10835)
    
    Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
     From Version 9.0.0-beta.24429.5 -> To Version 9.0.0-beta.24453.1
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    de7eddc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cb2fd72 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    976f723 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    460ae5b View commit details
    Browse the repository at this point in the history
  15. Merge release/dev17.11 to release/dev17.12 (dotnet#10832)

    This is an automatically generated pull request from release/dev17.11
    into release/dev17.12.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.11
    - https://github.com/dotnet/razor/find/release/dev17.12
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12
    git reset --hard upstream/release/dev17.12
    git merge upstream/release/dev17.11
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.11-to-release/dev17.12 --force
    ```
    dotnet-bot authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1d04db3 View commit details
    Browse the repository at this point in the history
  16. Fix LF line-ending auto format bug (dotnet#10802)

    * Implemented a line normalization function that prevents the language server from sending /r to LF line ending docs
    
    * check if indentation location has been processed
    
    * added LF line ending document to all previous razor formatting test cases
    
    * skipping some LF line ending formatting tests. Created an issue to track the progress
    jordi1215 authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    148d71a View commit details
    Browse the repository at this point in the history
  17. [main] Update dependencies from dotnet/source-build-reference-packages (

    dotnet#10562)
    
    This pull request updates the following dependencies
    
    [marker]: <> (Begin:011df26a-fbd1-45b0-94b9-08db3601dcca)
    ## From https://github.com/dotnet/source-build-reference-packages
    - **Subscription**: 011df26a-fbd1-45b0-94b9-08db3601dcca
    - **Build**: 20240828.1
    - **Date Produced**: August 28, 2024 4:47:08 PM UTC
    - **Commit**: 6bcf90f99d13da86c5e9753a6f34b6484673d0a0
    - **Branch**: refs/heads/main
    
    [DependencyUpdate]: <> (Begin)
    
    - **Updates**:
    -
    **Microsoft.SourceBuild.Intermediate.source-build-reference-packages**:
    [from 10.0.0-alpha.1.24421.1 to 10.0.0-alpha.1.24428.1][10]
    
    [10]:
    dotnet/source-build-reference-packages@bdd6987...6bcf90f
    
    [DependencyUpdate]: <> (End)
    
    
    [marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
    davidwengier authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6718dbc View commit details
    Browse the repository at this point in the history
  18. PR Feedback

    davidwengier committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    42cc39e View commit details
    Browse the repository at this point in the history
  19. Merge release/dev17.10 to release/dev17.11 (dotnet#10833)

    This is an automatically generated pull request from release/dev17.10
    into release/dev17.11.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.10
    - https://github.com/dotnet/razor/find/release/dev17.11
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.10-to-release/dev17.11
    git reset --hard upstream/release/dev17.11
    git merge upstream/release/dev17.10
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.10-to-release/dev17.11 --force
    ```
    dotnet-bot authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d6f6a52 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Remove some things from IProjectSnapshot for cohostings benefit (do…

    …tnet#10831)
    
    Chris found these to be problematic in his branch where he enabled the
    source generator, but fortunately they're simply unnecessary in
    cohosting.
    davidwengier authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    fbf8c8e View commit details
    Browse the repository at this point in the history
  2. Most PR feedback

    davidwengier committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    7d8be8e View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream/main' into CohostFormatting

    # Conflicts:
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs
    davidwengier committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a795f32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d87ad01 View commit details
    Browse the repository at this point in the history
  5. Remove unused parameter

    davidwengier committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    b7cd05e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4dcc2c4 View commit details
    Browse the repository at this point in the history
  7. Merge release/dev17.11 to release/dev17.12 (dotnet#10840)

    This is an automatically generated pull request from release/dev17.11
    into release/dev17.12.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.11
    - https://github.com/dotnet/razor/find/release/dev17.12
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12
    git reset --hard upstream/release/dev17.12
    git merge upstream/release/dev17.11
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.11-to-release/dev17.12 --force
    ```
    dotnet-bot authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    c5b9ab8 View commit details
    Browse the repository at this point in the history
  8. PR Feedback

    davidwengier committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    e0b2935 View commit details
    Browse the repository at this point in the history
  9. Cohost formatting (dotnet#10822)

    Fixes dotnet#10743
    Part of dotnet#9519
    
    Brings formatting to cohosting. Relatively simple because of previous
    PRs. Have left sharing full test coverage of the formatting engine for
    later
    davidwengier authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    9b339ba View commit details
    Browse the repository at this point in the history
  10. Ensure type arguments are global:: qualified (dotnet#10834)

    * Add a test
    
    * Use fully globally qualified type name
    
    * Update baselines
    
    * Fix delegates and child content
    
    * Update baselines
    
    * Fix other child content scenarios
    
    * Update baselines
    
    * Encapsulate shared code
    jjonescz authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    dde7fe8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fdda4bb View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Merge release/dev17.12 to main (dotnet#10841)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    459e9d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d37da8b View commit details
    Browse the repository at this point in the history
  3. PR Feedback

    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    b69b08c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e12161 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'upstream/main' into CohostGoToImplement…

    …ation
    
    # Conflicts:
    #	eng/targets/Services.props
    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    054f9ee View commit details
    Browse the repository at this point in the history
  6. Fix build

    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f7681c2 View commit details
    Browse the repository at this point in the history
  7. Fix test

    This should have been fixed with dotnet#10807 but without the Roslyn bump I guess I didn't realise. Oops!
    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    70f110d View commit details
    Browse the repository at this point in the history
  8. Cohost Go To Implementation (dotnet#10824)

    Needs dotnet/roslyn#74978
    Fixes dotnet#10695
    Part of dotnet#9519
    
    Pretty straightforward. A tiny bit of code moved to be shared with Go To
    Def, but that's it.
    davidwengier authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    49e727b View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'upstream/main' into CohostSpellCheck

    # Conflicts:
    #	eng/targets/Services.props
    #	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Remote/RazorServices.cs
    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    a3ee54d View commit details
    Browse the repository at this point in the history
  10. Merge release/dev17.12 to main (dotnet#10847)

    This is an automatically generated pull request from release/dev17.12
    into main.
    
    
    Once all conflicts are resolved and all the tests pass, you are free to
    merge the pull request. 🐯
    
    ## Troubleshooting conflicts
    
    ### Identify authors of changes which introduced merge conflicts
    Scroll to the bottom, then for each file containing conflicts copy its
    path into the following searches:
    - https://github.com/dotnet/razor/find/release/dev17.12
    - https://github.com/dotnet/razor/find/main
    
    Usually the most recent change to a file between the two branches is
    considered to have introduced the conflicts, but sometimes it will be
    necessary to look for the conflicting lines and check the blame in each
    branch. Generally the author whose change introduced the conflicts
    should pull down this PR, fix the conflicts locally, then push up a
    commit resolving the conflicts.
    
    ### Resolve merge conflicts using your local repo
    Sometimes merge conflicts may be present on GitHub but merging locally
    will work without conflicts. This is due to differences between the
    merge algorithm used in local git versus the one used by GitHub.
    ``` bash
    git fetch --all
    git checkout -t upstream/merges/release/dev17.12-to-main
    git reset --hard upstream/main
    git merge upstream/release/dev17.12
    # Fix merge conflicts
    git commit
    git push upstream merges/release/dev17.12-to-main --force
    ```
    dotnet-bot authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9678b91 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3442176 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b0d5d3e View commit details
    Browse the repository at this point in the history
  13. Suppress

    davidwengier committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    daa1f01 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    07e1382 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9386c8c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cc5b5a5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e8eede8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f575ad0 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ae81c66 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ed8e62b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5105d1b View commit details
    Browse the repository at this point in the history
  22. OnAutoInsert Cohosting Tests (dotnet#10829)

    * OnAutoInsert Cohosting Tests
    
    * Fixing C# case (and correcting others)
    
    All text should already be in the document/buffer when OnAutoInsert is being executed. Tigger character is not being added to the buffer, it should already be in the buffer.
    
    * PR feedback
    
    Switching to applying edit instead of verifying edit contents and range. Switching from Theories to separate Facts where input was complex. Other misc cleanup.
    
    * Fixing options source and adding options tests
    
    * Tests for all options
    
    * Switching to use TestCode class
    
    * Create options object for cohost OnAutoInsert to combined individual options passed to the remove service.
    
    * More PR feedback
    
    * Switching to nested RazorFormattingOptions
    alexgav authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    e9cd0b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Remove flaky test

    davidwengier committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    6186646 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Remove flaky test (dotnet#10854)

    This keeps failing, and formatting it doesn't add any value to our
    integration tests IMO
    davidwengier authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b0cd007 View commit details
    Browse the repository at this point in the history
  2. Convert TextEdit to TextChange

    This commit wasn't purely mechanical, but it was close. Just making things mostly compile, no optimizations or anything yet, and probably still a bunch more renames to come.
    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f6da71d View commit details
    Browse the repository at this point in the history
  3. Get all consuming code compiling again

    Haven't run the tests yet :)
    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    add718d View commit details
    Browse the repository at this point in the history
  4. Fix broken tests

    All tests pass!
    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fb2a2bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b275b91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    caa7ca0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f89e7f6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4e9bf4d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aec9af4 View commit details
    Browse the repository at this point in the history
  10. IEnumarable to ImmutableArray

    Most places already passed an ImmutableArray here. I left the method itself being an iterator, as 50% of callers need an ImmutableArray result, but the other 50% need an array, so no clear winner.
    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b268c61 View commit details
    Browse the repository at this point in the history
  11. Convert HtmlFormatter to ImmutableArray<TextChange>

    All callers did the conversion anyway
    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    4aeb519 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    04f2ca6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6478625 View commit details
    Browse the repository at this point in the history
  14. PR Feedback

    davidwengier committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d185785 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    98421fa View commit details
    Browse the repository at this point in the history
  16. Remove unused private members (dotnet#10848)

    A clean error list is a good error list.
    davidwengier authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    308833d View commit details
    Browse the repository at this point in the history
  17. Update dependencies from https://github.com/dotnet/source-build-refer…

    …ence-packages build 20240905.1
    
    Microsoft.SourceBuild.Intermediate.source-build-reference-packages
     From Version 10.0.0-alpha.1.24428.1 -> To Version 10.0.0-alpha.1.24455.1
    dotnet-maestro[bot] committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    baabd8d View commit details
    Browse the repository at this point in the history
  18. Remove IDocumentMappingService.GetLanguageKind(...) and make it an ex…

    …tension method on RazorCodeDocument (dotnet#10851)
    
    For a long while, the `GetLanguageKind(...)` method that determines
    whether an index into a document falls within Razor, C# or HTML has been
    a bit of a wart on the `IDocumentMappingService`. It really isn't part
    of document mapping, and its implementation is completely distinct. In
    fact, making the actual change is quite simple, so why hadn't it been
    done yet? The answer is mocking.
    
    There are several tests that mock
    `IDocumentMappingService.GetLanguageKind(...)` to lie about test inputs.
    In my not-so-humble opinion, this represents an abuse of mocking.
    Instead of setting up tests to have the necessary inputs that ensure
    `GetLanguageKind(...)` would return a real and correct result, the
    inputs would often be garbage and an `IDocumentMappingService` mock
    would lie about the `GetLanguageKind(...)` result at a particular
    location. This makes moving `GetLanguageKind(...)` off of
    `IDocumentMappingService` a much larger change than it needs to be. This
    is why there are substantial test changes in this PR.
    
    Don't misunderstand me as a mocking hater! Mocking libraries are
    definitely useful! In fact, there are new mocks used in this very PR!
    However, mocks should be used judiciously and thoughtfully, and in this
    case, a mock was used to write lazy tests.
    
    Fixes dotnet#8774
    DustinCampbell authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    29c7302 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. PR Feedback

    davidwengier committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4f1a297 View commit details
    Browse the repository at this point in the history
  2. [main] Update dependencies from dotnet/source-build-reference-packages (

    dotnet#10858)
    
    This pull request updates the following dependencies
    
    [marker]: <> (Begin:011df26a-fbd1-45b0-94b9-08db3601dcca)
    ## From https://github.com/dotnet/source-build-reference-packages
    - **Subscription**: 011df26a-fbd1-45b0-94b9-08db3601dcca
    - **Build**: 20240905.1
    - **Date Produced**: September 5, 2024 10:13:43 PM UTC
    - **Commit**: ad3c9aa85596f42c6a483233c50fab8cee8c412a
    - **Branch**: refs/heads/main
    
    [DependencyUpdate]: <> (Begin)
    
    - **Updates**:
    -
    **Microsoft.SourceBuild.Intermediate.source-build-reference-packages**:
    [from 10.0.0-alpha.1.24428.1 to 10.0.0-alpha.1.24455.1][1]
    
    [1]:
    dotnet/source-build-reference-packages@6bcf90f...ad3c9aa
    
    [DependencyUpdate]: <> (End)
    
    
    [marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
    davidwengier authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    f9e09f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef0054c View commit details
    Browse the repository at this point in the history
  4. Fix after merge

    davidwengier committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    05e317f View commit details
    Browse the repository at this point in the history
  5. Switch formatting engine over to using TextChange instead of `TextE…

    …dit` (dotnet#10855)
    
    Fixes dotnet#10842
    
    The formatting self-nerd-sniping continues.
    
    The formatting engine was written to use the LSP `TextEdit` class, which
    makes some sense, but also uses Roslyn APIs like `SourceText` a lot,
    which uses the `TextChange` struct instead. This meant lots of code to
    convert to and from the two types. Changing the whole formatting engine
    over to `TextChange`, and using more `TextSpan`, `LinePositionSpan` etc.
    removes a lot of this code. It also makes a lot more sense in cohosting,
    to boot.
    
    I wouldn't claim that I've gone through and improved the perf of the
    formatting engine, but rather I've use the changes to lead me to things
    that need fixing. ie, I started out moving from `TextEdit[]` to
    `ImmutableArray<TextChange>`, and this let me to places where pooled
    array builders could be used, and places where `Range` and `Position`
    were used which didn't make much sense, and then the constructor for
    `LinePosition` threw at one point because it turns out we were only
    using the `Line` property from the `Position` that used to be used, and
    so never validated the characters, so that API moved to `int`, etc.
    
    TL;DR the commits tell the story, and there could well be something I
    missed, if it never came across my plate for another reason.
    davidwengier authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2511efe View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'upstream/main' into features/roslyn-tok…

    …enizer
    
    * upstream/main: (270 commits)
      Fix after merge
      PR Feedback
      Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240905.1
      Fix auto insert service after merge from main
      PR Feedback
      Use ImmutableArray in SourceTextDiffer too
      Create a helper method and revert change to shared code, just in case
      Convert HtmlFormatter to ImmutableArray<TextChange>
      IEnumarable to ImmutableArray
      Remove some more usage of LSP types, and simplify ranges to line numbers
      Use pooled collections in a few more spots
      Extract common code to helper method
      Rename some methods to Try... pattern
      Rename some variables etc.
      Fix broken tests
      Get all consuming code compiling again
      Convert TextEdit to TextChange
      Remove flaky test
      OnAutoInsert Cohosting Tests (dotnet#10829)
      Update GetLanguageKind(...) tests and move to Workspaces.Test
      ...
    333fred committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d7d4932 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0ea44ba View commit details
    Browse the repository at this point in the history