about summary refs log tree commit diff
path: root/docs
AgeCommit message (Collapse)AuthorLines
2022-07-11Fix obsolete `diagnostics.experimental.enable`TonalidadeHidrica-1/+1
2022-07-11Fix obsolete `loadOutDirsFromCheck` configsTonalidadeHidrica-3/+9
2022-07-11Fix config keys regarding imports in docsTonalidadeHidrica-3/+5
2022-07-08Update remaining GitHub URLsJonas Schievink-89/+89
2022-07-04Improve documentation for buildScripts.overrideCommand / ↵Florian Diebold-8/+11
checkOnSave.overrideCommand
2022-06-11fix typo in style.mdChris Burgess-1/+1
2022-05-30Update commit/PR styleJonas Schievink-2/+2
2022-05-28fix: add an option to show inlay hint for return type of closures without blockharpsword-2/+2
2022-05-26typo: missing commaJoël Kuijper-1/+1
2022-05-25internal: Make autoclosing angle brackets configurable, disabled by defaultLukas Wirth-0/+5
2022-05-22internal: Allow OnTypeFormatting to send SnippetTextEditFelicián Németh-3/+3
But continue to send TextEdit only.
2022-05-20feat: hide type inlay hints for initializations of closuresandylizi-0/+6
2022-05-20remove duplicate 'to' in `cachePriming.numThreads` option descriptionEquinox-1/+1
2022-05-17Update lsp-extensions hashLukas Wirth-1/+1
2022-05-16Show inlay hints after a `}` to indicate the closed itemJonas Schievink-0/+11
2022-05-16Auto merge of #12253 - Veykril:bm, r=Veykrilbors-0/+5
feat: Add binding mode inlay hints ![image](https://user-images.githubusercontent.com/3757771/168427387-2f299438-a0cc-496b-a9a5-d689ef6a2b55.png)
2022-05-14Update package.jsonLukas Wirth-0/+5
2022-05-14internal: Make VSCode config more GUI edit friendlyLukas Wirth-1/+2
2022-05-13fix: Fix incorrect hover actions config keysLukas Wirth-5/+5
2022-05-13feat: Change VSCode extension publisher to `rust-lang`Lukas Wirth-3/+3
2022-05-12Auto merge of #12226 - Veykril:reborrow-inlay-hints, r=Veykrilbors-1/+1
feat: Allow reborrow inlay hints to be restricted to mutable reborrows only
2022-05-12feat: Allow reborrow inlay hints to be restricted to mutable reborrows onlyLukas Wirth-1/+1
2022-05-12internal: Rename primeCaches config keysLukas Wirth-10/+10
2022-05-10fix typo in `inlayHints.renderColons` option descriptionElliot Roberts-1/+1
2022-05-10Auto merge of #12010 - Veykril:r-a-config, r=Veykrilbors-195/+210
Config revamp Fixes https://github.com/rust-lang/rust-analyzer/issues/11790 Fixes https://github.com/rust-lang/rust-analyzer/issues/12115 This PR changes a lot of config names, and a few ones are being merged or split apart. The reason for this is that our configuration names currently are rather inconsistent and some where poorly chosen in regards to extensability. This PR plans to fix that. We still allow the old config names by patching them to the new ones before deserializing to keep backwards compatability with other clients (the VSCode client will auto update the config) but ideally we will get rid of that layer in the future. Here is a list of the changes: These are simple renames `old_name | alias1 | alias2 ... -> new_name` (the vscode client will fix these up automagically): ``` assist_allowMergingIntoGlobImports -> imports_merge_glob assist_exprFillDefault -> assist_expressionFillDefault assist_importEnforceGranularity -> imports_granularity_enforce assist_importGranularity | assist_importMergeBehavior | assist_importMergeBehaviour -> imports_granularity_group assist_importGroup -> imports_group_enable assist_importPrefix -> imports_prefix cache_warmup -> primeCaches_enable cargo_loadOutDirsFromCheck -> cargo_buildScripts_enable cargo_runBuildScripts | cargo_runBuildScriptsCommand -> cargo_runBuildScripts_overrideCommand cargo_useRustcWrapperForBuildScripts -> cargo_runBuildScripts_useRustcWrapper completion_snippets -> completion_snippets_custom diagnostics_enableExperimental -> diagnostics_experimental_enable experimental_procAttrMacros -> procMacro_attributes_enable highlighting_strings -> semanticHighlighting_strings_enable highlightRelated_breakPoints -> semanticHighlighting_breakPoints_enable highlightRelated_exitPoints -> semanticHighlighting_exitPoints_enable highlightRelated_yieldPoints -> semanticHighlighting_yieldPoints_enable highlightRelated_references -> semanticHighlighting_references_enable hover_documentation -> hover_documentation_enable hover_linksInHover | hoverActions_linksInHover -> hover_links_enable hoverActions_debug -> hoverActions_debug_enable hoverActions_enable -> hoverActions_enable_enable hoverActions_gotoTypeDef -> hoverActions_gotoTypeDef_enable hoverActions_implementations -> hoverActions_implementations_enable hoverActions_references -> hoverActions_references_enable hoverActions_run -> hoverActions_run_enable inlayHints_chainingHints -> inlayHints_chainingHints_enable inlayHints_closureReturnTypeHints -> inlayHints_closureReturnTypeHints_enable inlayHints_hideNamedConstructorHints -> inlayHints_typeHints_hideNamedConstructorHints inlayHints_parameterHints -> inlayHints_parameterHints_enable inlayHints_reborrowHints -> inlayHints_reborrowHints_enable inlayHints_typeHints -> inlayHints_typeHints_enable lruCapacity -> lru_capacity runnables_cargoExtraArgs -> runnables_extraArgs runnables_overrideCargo -> runnables_command rustcSource -> rustc_source rustfmt_enableRangeFormatting -> rustfmt_rangeFormatting_enable ``` These are configs that have been merged or split apart, which have to be manually updated by the user: ``` callInfo_full -> signatureInfo_detail, signatureInfo_documentation_enable cargo_allFeatures, cargo_features -> cargo_features checkOnSave_allFeatures, checkOnSave_features -> checkOnSave_features completion_addCallArgumentSnippets completion_addCallParenthesis -> completion_callable_snippets ```
2022-05-01Fix up config docsLukas Wirth-16/+37
2022-05-01Final fixupsLukas Wirth-4/+4
2022-05-01Adjust signature info and enum variant lensesLukas Wirth-5/+5
2022-05-01Update docs and configLukas Wirth-191/+185
2022-04-27Reload project on .cargo/config[.toml] changesunknown-1/+1
Fixes #11024
2022-04-21Auto merge of #12015 - arjo129:master, r=jonas-schievinkbors-1/+1
[Documentation]: Update developer documentation link. Just noticed the docs links broken. The current doc link was broken. replaced with the updated version as found on the front page. Should the rest of the links be updated?
2022-04-19Allows triggering commands after an assist editJonas Schievink-1/+1
2022-04-19Fix typo "GreeNode" in syntax.mdHongxu Xu-2/+2
2022-04-17Update docs linkArjo Chakravarty-1/+1
The current doc link was broken. replaced with the updated version as found on the front page.
2022-04-16Remove old inlay hints settingsLaurențiu Nicola-3/+3
2022-04-13Auto merge of #11956 - fee1-dead:master, r=flodieboldbors-0/+7
feat: allow customizing the command for running build scripts I have tested this locally and it fixed #9201 with some small changes on the compiler side with suggestions from https://github.com/rust-analyzer/rust-analyzer/issues/9201#issuecomment-1019554086. I have also added an environment variable `IS_RA_BUILDSCRIPT_CHECK` for crates to detect that it is a check for buildscripts, and allows defaulting to bogus values for expected environment variables.
2022-04-13Update CI for Rust borsDeadbeef-1/+1
2022-04-13feat: allow customizing the command for running build scriptsDeadbeef-0/+7
2022-04-11Merge #11935bors[bot]-31/+1
11935: feat: Switch to LSP inlay hints r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2022-04-11Fix typo in the manualOKURA Masafumi-1/+1
The -> There
2022-04-08Switch to LSP inlay hintsLaurențiu Nicola-31/+1
2022-04-03Merge #10802bors[bot]-0/+7
10802: Allow clients to configure the global workspace search limit r=Veykril a=knutwalker Playing around with [helix](https://helix-editor.com) I realized that the global worksapce symbol search works different compared to vs-code. Helix requires all possible symbols in one query and does no subsequent refinement searched. This PR adds a configuration option to override the default search limit with the default being the currently hardocded value. Helix users can increment this limit for their instance with a config like ```toml [[language]] name = "rust" language-server = { command = "rust-analyzer" } [language.config] workspace = { symbol = { search = { limit = 65536 }}} ``` Other editors are not affected by this change. Co-authored-by: Paul Horn <dev@knutwalker.engineer>
2022-03-31Add "view file text" command to debug sync issuesJonas Schievink-1/+12
2022-03-30docs(auto_import): change by_self -> self and by_crate -> crateGibson Fahnestock-1/+1
Keep things consistent with the package.json , which uses `self` and `crate` instead of `by_self` and `by_crate`. Both names are in fact allowed as aliases, but we should be consistent so that people reading the docs and using a schema do not see red squiggles.
2022-03-27Fix typo in the style documentationMarius Ungureanu-1/+1
Was going through the documentation itself and found this typo just waiting to be fixed
2022-03-24Disable experimental diagnostics by defaultJonas Schievink-1/+1
2022-03-22fix: Fix lifetime elision hint configuration keyLukas Wirth-1/+1
2022-03-20feat: Visualize compiler inserted reborrows via inlay hintsLukas Wirth-0/+5
2022-03-19Change skip trivial behaviourLukas Wirth-2/+2
2022-03-19Add option to skip trivial casesLukas Wirth-0/+10