Skip to content

v1.16.0

Choose a tag to compare

@akshita31 akshita31 released this 07 Sep 18:28
88c42a4

What's New in 1.16

Project System

  • Separated the existing "Restore Packages" option in the Command Palette into two distinct functions:

    • "Restore Project" - Displays a drop-down that shows all the available projects in the solution or in the workspace. Selecting one of them would trigger a dotnet restore for the particular project.
    • "Restore All Projects" - Triggers a dotnet restore for all projects in the current solution or workspace.
  • Modified the "Unresolved dependencies" prompt to restore the all the projects in the currently selected solution or workspace. (PR: #2323)

  • Added support to configure the default *.sln file loaded when opening a project with multiple *.sln files in the root. (Contributed by @janaka) (PR: #2053)

  • Added support for tracking opening, closing and changing of virtual documents that don't exist on disk. (PR: #2436) (Contributed by @NTaylorMullen)

  • Enabled IDE features for .cs files that are not part of a project. (PR: #2471, omnisharp-roslyn#1252)

Misc

  • Added a prompt to "Restart OmniSharp" when there is a change in omnisharp "path", "useGlobalMono" or "waitForDebugger" settings.(PR: #2316)

Editor

  • Improved diagnostics by refreshing them when the active editor changes or the current window is focused. (PR: #2317) (Contributed by @SirIntruder)

  • Improved completions by adding the preselect property so the best match is preselected. (PR: #2388)

Testing

  • Added test execution output to the output of the Run/Debug Test CodeLens. (PR: #2337, #2343, omnisharp-roslyn#1203)
  • Fixed a bug where a debug session could not be started and duplicate logs were displayed after a previous one failed due to build failure. (PR: #2405, omnisharp-roslyn#1239)

Options

  • Added monoPath option to use the mono installation at the specified path when the useGlobalMono is set to "always" or "auto". (PR: #2425) (Contributed by @shana)

Debugger

  • Added support for launching with environment variables stored in a seperate file from launch.json via a new envFile option. (PR: #2462, #1944) (Contributed by @SebastianPfliegel)
  • Fixed editting breakpoint conditions while debugging with recent versions of VS Code. (#2428)
  • Added support for hit count breakpoint conditions. (#895)
  • Support the applicationUrl property in launchSettings.json. (#2296)
  • Improve the error message when attaching to privileged processes on Linux and macOS. (#477)