about summary refs log tree commit diff
path: root/docs/dev
AgeCommit message (Collapse)AuthorLines
2022-07-08Update remaining GitHub URLsJonas Schievink-77/+77
2022-06-11fix typo in style.mdChris Burgess-1/+1
2022-05-30Update commit/PR styleJonas Schievink-2/+2
2022-05-22internal: Allow OnTypeFormatting to send SnippetTextEditFelicián Németh-3/+3
But continue to send TextEdit only.
2022-05-17Update lsp-extensions hashLukas Wirth-1/+1
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-13Update CI for Rust borsDeadbeef-1/+1
2022-04-08Switch to LSP inlay hintsLaurențiu Nicola-31/+1
2022-03-31Add "view file text" command to debug sync issuesJonas Schievink-1/+12
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-12minor: add missing definitions of lsp_ext::InlayHintLabelLukas Wirth-1/+1
2022-03-07Update LSP docsLaurențiu Nicola-6/+9
2022-02-22simplify and documentLukas Wirth-1/+1
2022-02-12fix: documentation of SsrParamsFelicián Németh-0/+2
Fix #11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs.
2022-02-07add missing snake case attribute, update hashMoritz Vetter-1/+1
2022-01-26minor: fix a typo in the style guideWaffle Maybe-2/+2
2021-12-07Update lsp-extensions.mdJonas Schievink-1/+9
2021-11-22doc: document absence of stability guaranteesAleksey Kladov-0/+26
2021-11-12Fix type names in typescript sample codeWilfred Hughes-2/+2
2021-10-12Add link to ECS acronym to clarify.Mirko Rainer-1/+1
2021-10-04Regen docsLukas Wirth-1/+1
2021-09-25internal: add => () rule; emphasize `n_items` ruleAleksey Kladov-1/+21
2021-09-06docs: fix unknown configuration settingDezhi Wu-1/+1
2021-09-04internal: deduplicateAleksey Kladov-0/+23
2021-09-03docs(logging): use `tracing` for loggingDezhi Wu-3/+4
2021-08-30internal: make scheduling control flow more obviousAleksey Kladov-0/+19
There should be only one place where we need to check if we want to start background activities.
2021-08-24internal: use idiomatic form of assertionsAleksey Kladov-1/+3
Ideally, we should just return an InvalidParameter dialog here, but that shows error message to the end user, and we generally avoid that
2021-08-11internal: document that ascription is preferred to a turbo fishAleksey Kladov-0/+20
2021-08-10minor: reword a bitAleksey Kladov-2/+2
2021-08-10internal: document codebase stance on using functional combinatorsAleksey Kladov-0/+25
2021-08-03feat: filter out duplicate macro completionsAleksey Kladov-0/+1
closes #9303
2021-08-02internal: explain that we don't `ref` in style.mdAleksey Kladov-0/+9
2021-08-01Link “DST” to its definitionGunnlaugur Thor Briem-1/+1
Being new to Rust I wasn't familiar with this acronym and found it hard to guess (the context of syntax trees biased me to reading it as a D-something Syntax Tree and trying to guess what the D was), hard to google (in retrospect googling "rust dst" does the job, but I thought it was an abstract structure thing, not Rust-specific), and hard to Github-search, because `dst` is commonly short for “destination” in code. Alternatively `<abbr title="dynamically sized type">DST</abbr>` would be about as helpful.
2021-07-30internal: cleanup lsp-extensions docsAleksey Kladov-16/+18
2021-07-30feat: gate custom clint-side commands behind capabilitiesAleksey Kladov-1/+21
Some features of rust-analyzer requires support for custom commands on the client side. Specifically, hover & code lens need this. Stock LSP doesn't have a way for the server to know which client-side commands are available. For that reason, we historically were just sending the commands, not worrying whether the client supports then or not. That's not really great though, so in this PR we add infrastructure for the client to explicitly opt-into custom commands, via `extensions` field of the ClientCapabilities. To preserve backwards compatability, if the client doesn't set the field, we assume that it does support all custom commands. In the future, we'll start treating that case as if the client doesn't support commands. So, if you maintain a rust-analyzer client and implement `rust-analyzer/runSingle` and such, please also advertise this via a capability.
2021-07-30minor: drop impl-specific stuff from lsp docsAleksey Kladov-9/+9
The lc. prefix is a copy-paste from our typescript code, it doesn't make sense in the impl-agnostic docs.
2021-07-27refactor: Apply PR suggestionsAlexander Gonzalez-0/+2
2021-07-27test: Update lsp_ext.rs hashAlexander Gonzalez-1/+1
2021-07-27docs: Update the lsp-extensions.md with the Hover Range capabilityAlexander Gonzalez-4/+29
2021-07-27Merge #9709bors[bot]-0/+2
9709: fix: add capability for "open cargo.toml" lsp extension r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-07-27fix: add capability for "open cargo.toml" lsp extensionAleksey Kladov-0/+2
2021-07-26docs: Fix several typos and grammar mistakesAlexander Gonzalez-30/+28
2021-07-26Merge #9692bors[bot]-2/+2
9692: Use same cancelled spelling in doc and code. r=matklad a=mattiasgronlund Right thing might be to update the spelling in the code to follow American instead of English spelling, that is using only canceled. But they should at least be aligned. Co-authored-by: Mattias Grönlund <mattias@gronlund.se>
2021-07-26Fix some grammar / spelling mistakesJonas Platte-2/+2
2021-07-25Use same cancelled spelling in doc and code.Mattias Grönlund-2/+2
Right thing might be to update the spelling in the code to follow American instead of English spelling, that is using only canceled. But they should at least be aligned.
2021-07-19docs: publish Explaining Rust Analyzer seriesAleksey Kladov-7/+5
2021-07-19minor: typoAleksey Kladov-1/+1