Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: belav/csharpier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.1
Choose a base ref
...
head repository: belav/csharpier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.2
Choose a head ref
  • 12 commits
  • 35 files changed
  • 5 contributors

Commits on Nov 12, 2025

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

Commits on Nov 15, 2025

  1. Update pre-commit doc

    closes #1754
    belav committed Nov 15, 2025
    Configuration menu
    Copy the full SHA
    5b1725d View commit details
    Browse the repository at this point in the history
  2. Update compatible C# version in index.js (#1755)

    C# 14 support was added in #1658, but the website was not updated to
    reflect this.
    
    Co-authored-by: Bela VanderVoort <twobitbela@gmail.com>
    davidwalschots and belav authored Nov 15, 2025
    Configuration menu
    Copy the full SHA
    d8eed86 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2025

  1. Configuration menu
    Copy the full SHA
    01beb37 View commit details
    Browse the repository at this point in the history
  2. Fix Stream closed exception in Rider plugin (#1763)

    Fixes the `java.io.IOException: Stream closed` exception that occurs
    when the CSharpier process fails to start in the Rider plugin.
    
    ## Problem
    The `onExit` handler was attempting to read from the error stream after
    the process had exited, but streams are automatically closed when a
    process terminates.
    
    ## Solution
    Read stderr continuously in a background thread during the process
    lifetime and capture output to a `StringBuilder`. The `onExit` handler
    then references the captured output instead of trying to read from the
    closed stream.
    
    ## Approach
    This follows the pattern used in JetBrains' own code
    (`ForkedByModuleSplitter`) for handling process streams safely, which
    uses separate named threads to read stdout and stderr while the process
    is running.
    
    Co-authored-by: Bela VanderVoort <twobitbela@gmail.com>
    rcdailey and belav authored Dec 5, 2025
    Configuration menu
    Copy the full SHA
    afeb561 View commit details
    Browse the repository at this point in the history
  3. Release rider 2.2.4

    belav committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    6ca9c61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0975ccb View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2025

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

Commits on Dec 12, 2025

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

Commits on Dec 13, 2025

  1. fix: Null coalescing not own its line with complex left-hand side (#1770

    )
    
    There was an issue where if the left-hand side of `??` was even slightly
    complex, the right-hand side would become part of the group and could
    not have its own line.
    
    I reconsidered the conditions for grouping and changed it from judging
    the complexity of the left-hand side by a threshold to a condition where
    "the left-hand side is an InvocationExpression and consists solely of
    MemberAccessExpression that does not include an InvocationExpression".
    
    fix #1769
    ogaken-1 authored Dec 13, 2025
    Configuration menu
    Copy the full SHA
    f104105 View commit details
    Browse the repository at this point in the history
  2. Fix server crash when launched without console (#1774)

    ## Summary
    
    - Remove `Console.ReadKey()` in `ServerFormatter.cs` which throws
    `InvalidOperationException` when CSharpier server is started by IDE
    plugins (Rider, VS, VSCode) without a console attached
    - The call was unreachable during normal operation since `RunAsync()`
    blocks until shutdown
    
    ## Problem
    
    When IDE plugins launch `csharpier server`, the process crashes
    immediately with:
    
    ```
    System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected.
       at System.ConsolePal.ReadKey(Boolean intercept)
       at CSharpier.Cli.Server.ServerFormatter.StartServer(...)
    ```
    
    This manifests in Rider as "Process exited unexpectedly" errors.
    
    Co-authored-by: Bela VanderVoort <twobitbela@gmail.com>
    rcdailey and belav authored Dec 13, 2025
    Configuration menu
    Copy the full SHA
    ada2305 View commit details
    Browse the repository at this point in the history
  3. release 1.2.2 (#1775)

    belav authored Dec 13, 2025
    Configuration menu
    Copy the full SHA
    4316fe8 View commit details
    Browse the repository at this point in the history
Loading