deeb25a2| 1 | <UserControl xmlns="https://github.com/avaloniaui" |
| 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | xmlns:vm="using:CascadeIDE.ViewModels" |
| 4 | x:Class="CascadeIDE.Views.SettingsCSharpLspPanelView" |
| 5 | x:DataType="vm:MainWindowViewModel"> |
| 6 | <StackPanel Spacing="10"> |
| 7 | <TextBlock Text="Один процесс language server на открытое решение. ParseOnly — только синтаксис в IDE без внешнего exe." |
| 8 | Foreground="{DynamicResource CascadeTheme.ChatLabelForeground}" |
| 9 | TextWrapping="Wrap" |
| 10 | FontSize="12"/> |
| 11 | <StackPanel Spacing="6"> |
| 12 | <TextBlock Text="Провайдер (settings.toml: [lsp.csharp]):" Foreground="{DynamicResource CascadeTheme.ChatLabelForeground}"/> |
| 13 | <ComboBox ItemsSource="{Binding CSharpLspProviderOptionsList}" SelectedItem="{Binding CSharpLspProvider}" MinWidth="220"/> |
| 14 | </StackPanel> |
| 15 | <StackPanel Spacing="6" IsVisible="{Binding IsCSharpLspProcessSelected}"> |
| 16 | <TextBlock Text="Исполняемый файл (пусто = по умолчанию: OmniSharp / csharp-ls):" Foreground="{DynamicResource CascadeTheme.ChatLabelForeground}" TextWrapping="Wrap"/> |
| 17 | <TextBox Text="{Binding CSharpLspExecutable, Mode=TwoWay}" PlaceholderText="C:\Tools\OmniSharp.exe" MinWidth="280"/> |
| 18 | <TextBlock Text="Доп. аргументы:" Foreground="{DynamicResource CascadeTheme.ChatLabelForeground}"/> |
| 19 | <TextBox Text="{Binding CSharpLspArguments, Mode=TwoWay}" PlaceholderText="" MinWidth="280"/> |
| 20 | </StackPanel> |
| 21 | </StackPanel> |
| 22 | </UserControl> |
| 23 | |
View only · write via MCP/CIDE