diff --git a/vsintegration/src/FSharp.Editor/FSharp.Editor.resx b/vsintegration/src/FSharp.Editor/FSharp.Editor.resx index 12915dee9f3..505a8cf1629 100644 --- a/vsintegration/src/FSharp.Editor/FSharp.Editor.resx +++ b/vsintegration/src/FSharp.Editor/FSharp.Editor.resx @@ -173,7 +173,10 @@ Always add new line on enter; QuickInfo - Navigation links; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/Navigation/GoToDefinition.fs b/vsintegration/src/FSharp.Editor/Navigation/GoToDefinition.fs index 33fef1808a9..4901de036c4 100644 --- a/vsintegration/src/FSharp.Editor/Navigation/GoToDefinition.fs +++ b/vsintegration/src/FSharp.Editor/Navigation/GoToDefinition.fs @@ -571,7 +571,13 @@ module internal FSharpQuickInfo = // when a construct has been declared in a signature file the documentation comments that are // written in that file are the ones that go into the generated xml when the project is compiled // therefore we should include these doccoms in our design time quick info - let getQuickInfoFromRange (document: Document, declRange: range, cancellationToken: CancellationToken) : Async = + let getQuickInfoFromRange + ( + document: Document, + declRange: range, + width: int option, + cancellationToken: CancellationToken + ) : Async = asyncMaybe { let userOpName = "getQuickInfoFromRange" @@ -593,7 +599,8 @@ module internal FSharpQuickInfo = extLexerSymbol.Ident.idRange.EndColumn, extLineText, extLexerSymbol.FullIsland, - FSharpTokenTag.IDENT + FSharpTokenTag.IDENT, + ?width = width ) match extQuickInfoText with @@ -624,6 +631,7 @@ module internal FSharpQuickInfo = ( document: Document, position: int, + width: int option, cancellationToken: CancellationToken ) : Async<(range * FSharpQuickInfo option * FSharpQuickInfo option) option> = @@ -643,7 +651,15 @@ module internal FSharpQuickInfo = let targetQuickInfo = match lexerSymbol.Kind with | LexerSymbolKind.Keyword -> checkFileResults.GetKeywordTooltip(lexerSymbol.FullIsland) - | _ -> checkFileResults.GetToolTip(fcsTextLineNumber, idRange.EndColumn, lineText, lexerSymbol.FullIsland, tag) + | _ -> + checkFileResults.GetToolTip( + fcsTextLineNumber, + idRange.EndColumn, + lineText, + lexerSymbol.FullIsland, + tag, + ?width = width + ) match targetQuickInfo with | ToolTipText [] @@ -693,7 +709,7 @@ module internal FSharpQuickInfo = match findSigDeclarationResult with | FindDeclResult.DeclFound declRange when isSignatureFile declRange.FileName -> asyncMaybe { - let! sigQuickInfo = getQuickInfoFromRange (document, declRange, cancellationToken) + let! sigQuickInfo = getQuickInfoFromRange (document, declRange, width, cancellationToken) // if the target was declared in a signature file, and the current file // is not the corresponding module implementation file for that signature, @@ -712,7 +728,7 @@ module internal FSharpQuickInfo = | FindDeclResult.DeclNotFound _ | FindDeclResult.ExternalDecl _ -> return symbolUse.Range, Some sigQuickInfo, None | FindDeclResult.DeclFound declRange -> - let! implQuickInfo = getQuickInfoFromRange (document, declRange, cancellationToken) + let! implQuickInfo = getQuickInfoFromRange (document, declRange, width, cancellationToken) return symbolUse.Range, diff --git a/vsintegration/src/FSharp.Editor/Options/EditorOptions.fs b/vsintegration/src/FSharp.Editor/Options/EditorOptions.fs index d7f43c5a636..1a99870b730 100644 --- a/vsintegration/src/FSharp.Editor/Options/EditorOptions.fs +++ b/vsintegration/src/FSharp.Editor/Options/EditorOptions.fs @@ -45,12 +45,14 @@ type QuickInfoOptions = { DisplayLinks: bool UnderlineStyle: QuickInfoUnderlineStyle + DescriptionWidth: int option } static member Default = { DisplayLinks = true UnderlineStyle = QuickInfoUnderlineStyle.Solid + DescriptionWidth = None } [] @@ -180,6 +182,7 @@ module internal OptionsUI = bindRadioButton view.dot path QuickInfoUnderlineStyle.Dot bindRadioButton view.dash path QuickInfoUnderlineStyle.Dash bindCheckBox view.displayLinks (nameof QuickInfoOptions.Default.DisplayLinks) + bindDescriptionWidthTextBox view.descriptionWidth (nameof QuickInfoOptions.Default.DescriptionWidth) upcast view [] diff --git a/vsintegration/src/FSharp.Editor/Options/UIHelpers.fs b/vsintegration/src/FSharp.Editor/Options/UIHelpers.fs index 6f39c0d8878..51e348b4b7b 100644 --- a/vsintegration/src/FSharp.Editor/Options/UIHelpers.fs +++ b/vsintegration/src/FSharp.Editor/Options/UIHelpers.fs @@ -8,6 +8,7 @@ open Microsoft.VisualStudio.Shell open Microsoft.VisualStudio.ComponentModelHost module internal OptionsUIHelpers = + open System [] type AbstractOptionPage<'options>() as this = @@ -64,9 +65,9 @@ module internal OptionsUIHelpers = //data binding helpers let radioButtonCoverter = { new IValueConverter with - member this.Convert(value, _, parameter, _) = upcast value.Equals(parameter) + member _.Convert(value, _, parameter, _) = upcast value.Equals(parameter) - member this.ConvertBack(value, _, parameter, _) = + member _.ConvertBack(value, _, parameter, _) = if value.Equals(true) then parameter else Binding.DoNothing } @@ -78,3 +79,42 @@ module internal OptionsUIHelpers = let bindCheckBox (checkBox: CheckBox) (path: string) = checkBox.SetBinding(CheckBox.IsCheckedProperty, path) |> ignore + + let bindDescriptionWidthTextBox (tb: TextBox) path = + let intOptionConverter = + { new IValueConverter with + member _.Convert(value, _, _, _) = + try + value :?> int option + |> Option.map Convert.ToString + |> Option.defaultValue "" + |> box + with _ -> + Binding.DoNothing + + member _.ConvertBack(value, _, _, _) = + try + Convert.ToInt32(value) |> Some |> box + with _ -> + None + } + + let binding = + Binding(path, Converter = intOptionConverter, UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged) + + binding.ValidationRules.Add( + { new ValidationRule() with + member _.Validate(value, _) = + try + if String.IsNullOrWhiteSpace(downcast value) then + ValidationResult.ValidResult + else + match Convert.ToInt32(value) with + | n when n >= 20 -> ValidationResult.ValidResult + | _ -> ValidationResult(false, "") + with _ -> + ValidationResult(false, "") + } + ) + + tb.SetBinding(TextBox.TextProperty, binding) |> ignore diff --git a/vsintegration/src/FSharp.Editor/QuickInfo/QuickInfoProvider.fs b/vsintegration/src/FSharp.Editor/QuickInfo/QuickInfoProvider.fs index bd26e5f3c2d..45d24fb9d56 100644 --- a/vsintegration/src/FSharp.Editor/QuickInfo/QuickInfoProvider.fs +++ b/vsintegration/src/FSharp.Editor/QuickInfo/QuickInfoProvider.fs @@ -27,13 +27,14 @@ type internal FSharpAsyncQuickInfoSource statusBar: StatusBar, xmlMemberIndexService: IVsXMLMemberIndexService, metadataAsSource: FSharpMetadataAsSourceService, - textBuffer: ITextBuffer + textBuffer: ITextBuffer, + editorOptions: EditorOptions ) = // test helper - static member ProvideQuickInfo(document: Document, position: int) = + static member ProvideQuickInfo(document: Document, position: int, ?width: int) = asyncMaybe { - let! _, sigQuickInfo, targetQuickInfo = FSharpQuickInfo.getQuickInfo (document, position, CancellationToken.None) + let! _, sigQuickInfo, targetQuickInfo = FSharpQuickInfo.getQuickInfo (document, position, width, CancellationToken.None) return! sigQuickInfo |> Option.orElse targetQuickInfo } @@ -69,12 +70,14 @@ type internal FSharpAsyncQuickInfoSource | true -> let triggerPoint = triggerPoint.GetValueOrDefault() + let width = editorOptions.QuickInfo.DescriptionWidth + asyncMaybe { let document = textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges() let! symbolUseRange, sigQuickInfo, targetQuickInfo = - FSharpQuickInfo.getQuickInfo (document, triggerPoint.Position, cancellationToken) + FSharpQuickInfo.getQuickInfo (document, triggerPoint.Position, width, cancellationToken) let getTooltip filePath = let solutionDir = Path.GetDirectoryName(document.Project.Solution.FilePath) @@ -195,7 +198,8 @@ type internal FSharpAsyncQuickInfoSource type internal FSharpAsyncQuickInfoSourceProvider [] ( [)>] serviceProvider: IServiceProvider, - metadataAsSource: FSharpMetadataAsSourceService + metadataAsSource: FSharpMetadataAsSourceService, + editorOptions: EditorOptions ) = interface IAsyncQuickInfoSourceProvider with @@ -204,4 +208,6 @@ type internal FSharpAsyncQuickInfoSourceProvider [] // It is safe to do it here (see #4713) let statusBar = StatusBar(serviceProvider.GetService()) let xmlMemberIndexService = serviceProvider.XMLMemberIndexService - new FSharpAsyncQuickInfoSource(statusBar, xmlMemberIndexService, metadataAsSource, textBuffer) :> IAsyncQuickInfoSource + + new FSharpAsyncQuickInfoSource(statusBar, xmlMemberIndexService, metadataAsSource, textBuffer, editorOptions) + :> IAsyncQuickInfoSource diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf index a6e8ce8c5ad..0135d1c95ad 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf index 7688161ebc2..d12cfa34972 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf index ee5eaa8672a..759070b96e7 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf index 49e25d14fa6..1094b4529c3 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf index d6bbdc5e461..0081e0ab572 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf index 9c79876cf89..4dbe03a075b 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf index 150528cdb6d..e2d8d933197 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf index 845554e553c..355dbae447f 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf index 6e879f55485..794f33d932f 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf index 84112f23661..2759af321cf 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf index 1a689934594..69dec9a44ff 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf index c8b7910a6d8..75fce885f81 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf index 19ff01fae87..3a689f3b68f 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf @@ -181,12 +181,16 @@ Cache parsing results (experimental) - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; Dash underline; - Navigation links; + Formatting; +Maximum description width in characters; +Navigation links; Show navigation links as; Solid underline; Dot underline; diff --git a/vsintegration/src/FSharp.UIResources/QuickInfoOptionControl.xaml b/vsintegration/src/FSharp.UIResources/QuickInfoOptionControl.xaml index 60d14de3177..528aa32b1cf 100644 --- a/vsintegration/src/FSharp.UIResources/QuickInfoOptionControl.xaml +++ b/vsintegration/src/FSharp.UIResources/QuickInfoOptionControl.xaml @@ -29,6 +29,12 @@ + + + + diff --git a/vsintegration/src/FSharp.UIResources/Strings.Designer.cs b/vsintegration/src/FSharp.UIResources/Strings.Designer.cs index 29bc7a7f87c..c4712eb66bd 100644 --- a/vsintegration/src/FSharp.UIResources/Strings.Designer.cs +++ b/vsintegration/src/FSharp.UIResources/Strings.Designer.cs @@ -240,6 +240,15 @@ public static string Format_on_paste { } } + /// + /// Looks up a localized string similar to Formatting. + /// + public static string Formatting { + get { + return ResourceManager.GetString("Formatting", resourceCulture); + } + } + /// /// Looks up a localized string similar to Inline Hints. /// @@ -303,6 +312,15 @@ public static string Parallelization { } } + /// + /// Looks up a localized string similar to Preferred description width in characters. + /// + public static string Preferred_description_width_in_characters { + get { + return ResourceManager.GetString("Preferred_description_width_in_characters", resourceCulture); + } + } + /// /// Looks up a localized string similar to F# Project and Caching Performance Options. /// @@ -438,6 +456,15 @@ public static string Tooltip_in_memory_cross_project_references { } } + /// + /// Looks up a localized string similar to Format signature to the given width by adding line breaks conforming with F# syntax rules. . + /// + public static string Tooltip_preferred_description_width_in_characters { + get { + return ResourceManager.GetString("Tooltip_preferred_description_width_in_characters", resourceCulture); + } + } + /// /// Looks up a localized string similar to Analyze and suggest fixes for unused values. /// diff --git a/vsintegration/src/FSharp.UIResources/Strings.resx b/vsintegration/src/FSharp.UIResources/Strings.resx index abe4f6b725f..1140a72b7ed 100644 --- a/vsintegration/src/FSharp.UIResources/Strings.resx +++ b/vsintegration/src/FSharp.UIResources/Strings.resx @@ -252,4 +252,13 @@ Enable partial type checking + + Formatting + + + Preferred description width in characters + + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + \ No newline at end of file diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf index 7e865ba61a7..89780f6d6b6 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf @@ -27,6 +27,11 @@ Najít možnosti výkonu odkazů + + Formatting + Formatting + + Inline Hints Vložené nápovědy @@ -87,6 +92,11 @@ Paralelizace (vyžaduje restartování) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Zobrazit nápovědy k názvům vložených parametrů (experimentální) @@ -137,6 +147,11 @@ Přechod myší nad textem + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Odebrat nepoužívané otevřené výkazy diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf index cd6d0a013ad..7451bd7fe2c 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf @@ -27,6 +27,11 @@ Leistungsoptionen für Verweise suchen + + Formatting + Formatting + + Inline Hints Inlinehinweise @@ -87,6 +92,11 @@ Parallelisierung (Neustart erforderlich) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Hinweise zu Inlineparameternamen anzeigen (experimentell) @@ -137,6 +147,11 @@ Texthover + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Nicht verwendete "open"-Anweisungen entfernen diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf index b6919d953d9..f2e1721854a 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf @@ -27,6 +27,11 @@ Buscar opciones de rendimiento de referencias + + Formatting + Formatting + + Inline Hints Sugerencias insertadas @@ -87,6 +92,11 @@ Paralelización (requiere reiniciar) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Mostrar sugerencias de nombre de parámetro insertado (experimental) @@ -137,6 +147,11 @@ Texto al pasar el puntero + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Quitar instrucciones open no usadas diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf index b82f5710ae9..e78bbcf8d1c 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf @@ -27,6 +27,11 @@ Options de performances de recherche de références + + Formatting + Formatting + + Inline Hints Indicateurs inline @@ -87,6 +92,11 @@ Parallélisation (Nécessite un redémarrage) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Afficher les indicateurs de nom de paramètre en ligne (expérimental) @@ -137,6 +147,11 @@ Survol du texte + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Supprimer les instructions open inutilisées diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf index dbc4a57410a..0f34e28dd06 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf @@ -27,6 +27,11 @@ Trovare opzioni prestazioni riferimenti + + Formatting + Formatting + + Inline Hints Suggerimenti inline @@ -87,6 +92,11 @@ Parallelizzazione (richiede il riavvio) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Visualizza suggerimenti per i nomi di parametro inline (sperimentale) @@ -137,6 +147,11 @@ Passaggio del puntatore sul testo + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Rimuovi istruzioni OPEN inutilizzate diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf index 67e974341c3..7e1eb91b4ea 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf @@ -27,6 +27,11 @@ 参照の検索のパフォーマンス オプション + + Formatting + Formatting + + Inline Hints インラインのヒント @@ -87,6 +92,11 @@ 並列化 (再起動が必要) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) インライン パラメーター名のヒントを表示する (試験段階) @@ -137,6 +147,11 @@ テキスト ホバー + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements 未使用の Open ステートメントを削除する diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf index 1dc1cdfe8ed..67a4dacb312 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf @@ -27,6 +27,11 @@ 참조 성능 옵션 찾기 + + Formatting + Formatting + + Inline Hints 인라인 힌트 @@ -87,6 +92,11 @@ 병렬화(다시 시작 필요) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) 인라인 매개 변수 이름 힌트 표시(실험적) @@ -137,6 +147,11 @@ 텍스트 호버 + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements 사용되지 않는 open 문 제거 diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf index 9c621d2cf95..7ca1c623135 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf @@ -27,6 +27,11 @@ Opcje wydajności znajdowania odwołań + + Formatting + Formatting + + Inline Hints Wskazówki w tekście @@ -87,6 +92,11 @@ Równoległość (wymaga ponownego uruchomienia) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Wyświetlaj wbudowane wskazówki dotyczące nazw parametrów (eksperymentalne) @@ -137,6 +147,11 @@ Najechanie kursorem na tekst + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Usuń nieużywane otwarte instrukcje diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf index 2839cf88555..5ded3335b0e 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf @@ -27,6 +27,11 @@ Opções de Localizar Referências de Desempenho + + Formatting + Formatting + + Inline Hints Dicas Embutidas @@ -87,6 +92,11 @@ Paralelização (requer reinicialização) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Exibir dicas de nome de parâmetro embutidas (experimental) @@ -137,6 +147,11 @@ Foco do texto + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Remover instruções abertas não usadas diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf index 1268bcfc84e..a7f235c094e 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf @@ -27,6 +27,11 @@ Параметры производительности поиска ссылок + + Formatting + Formatting + + Inline Hints Встроенные подсказки @@ -87,6 +92,11 @@ Параллелизация (требуется перезапуск) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Отображать подсказки для имен встроенных параметров (экспериментальная версия) @@ -137,6 +147,11 @@ Текст, отображаемый при наведении + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Удалить неиспользуемые открытые операторы diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf index 1e8fbb7ecda..9ed15c7345b 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf @@ -27,6 +27,11 @@ Başvuruları Bul Performans Seçenekleri + + Formatting + Formatting + + Inline Hints Satır İçi İpuçları @@ -87,6 +92,11 @@ Paralelleştirme (yeniden başlatma gerektirir) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) Satır içi parametre adı ipuçlarını göster (deneysel) @@ -137,6 +147,11 @@ Metni vurgulama + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements Kullanılmayan açık deyimleri kaldır diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf index cd8f761b053..88c45e47255 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf @@ -27,6 +27,11 @@ 查找引用性能选项 + + Formatting + Formatting + + Inline Hints 内联提示 @@ -87,6 +92,11 @@ 并行化(需要重启) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) 显示内联参数名称提示(实验性) @@ -137,6 +147,11 @@ 文本悬停 + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements 删除未使用的 open 语句 diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf index eaab491bbcd..a6a50c29ded 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf @@ -27,6 +27,11 @@ 尋找參考效能選項 + + Formatting + Formatting + + Inline Hints 內嵌提示 @@ -87,6 +92,11 @@ 平行處理 (需要重新開機) + + Preferred description width in characters + Preferred description width in characters + + Display inline parameter name hints (preview) 顯示內嵌參數名稱提示 (實驗性) @@ -137,6 +147,11 @@ 文字暫留 + + Format signature to the given width by adding line breaks conforming with F# syntax rules. + Format signature to the given width by adding line breaks conforming with F# syntax rules. + + Remove unused open statements 移除未使用的 open 陳述式