st3-config/Packages/User/LSP-typescript.sublime-settings

45 lines
3 KiB
Text
Raw Normal View History

2022-10-29 19:06:02 +02:00
// Settings in here override those in "LSP-typescript/LSP-typescript.sublime-settings"
{
"settings": {
// Javascript inlay hints options.
"javascript.inlayHints.includeInlayEnumMemberValueHints": true,
"javascript.inlayHints.includeInlayFunctionLikeReturnTypeHints": true,
"javascript.inlayHints.includeInlayFunctionParameterTypeHints": true,
2023-01-07 22:36:35 +01:00
"javascript.inlayHints.includeInlayParameterNameHints": "none", // none | literals | all
2022-10-29 19:06:02 +02:00
"javascript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": true,
"javascript.inlayHints.includeInlayPropertyDeclarationTypeHints": true,
2023-01-07 22:36:35 +01:00
"javascript.inlayHints.includeInlayVariableTypeHints": false,
2022-10-29 19:06:02 +02:00
"javascript.inlayHints.includeInlayVariableTypeHintsWhenTypeMatchesName": true,
// Typescript formatting options.
"typescript.format.insertSpaceAfterCommaDelimiter": true,
"typescript.format.insertSpaceAfterConstructor": true,
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
2023-03-22 13:08:41 +01:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
2022-10-29 19:10:08 +02:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
2022-10-29 19:06:02 +02:00
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": true,
"typescript.format.insertSpaceAfterSemicolonInForStatements": true,
2023-03-22 13:08:41 +01:00
"typescript.format.insertSpaceAfterTypeAssertion": false,
2022-10-29 19:06:02 +02:00
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
2022-10-29 19:10:08 +02:00
"typescript.format.insertSpaceBeforeTypeAnnotation": false,
2022-10-29 19:06:02 +02:00
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
"typescript.format.semicolons": "ignore", // ignore | insert | remove
"typescript.format.trimTrailingWhitespace": true,
// Typescript inlay hints options.
"typescript.inlayHints.includeInlayEnumMemberValueHints": true,
"typescript.inlayHints.includeInlayFunctionLikeReturnTypeHints": true,
"typescript.inlayHints.includeInlayFunctionParameterTypeHints": true,
2023-01-07 22:36:35 +01:00
"typescript.inlayHints.includeInlayParameterNameHints": "none", // none | literals | all
2022-10-29 19:06:02 +02:00
"typescript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": true,
"typescript.inlayHints.includeInlayPropertyDeclarationTypeHints": true,
2023-01-07 22:36:35 +01:00
"typescript.inlayHints.includeInlayVariableTypeHints": false,
2022-10-29 19:06:02 +02:00
"typescript.inlayHints.includeInlayVariableTypeHintsWhenTypeMatchesName": true,
}
}