mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
parent
2b69c84396
commit
fdbd6bb11a
171 changed files with 419 additions and 29 deletions
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use lsp_types::{
|
||||
CodeActionProviderCapability, CodeLensOptions, CompletionOptions,
|
||||
DocumentOnTypeFormattingOptions, FoldingRangeProviderCapability, GenericCapability,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use ra_ide_api::{FileId, RunnableKind};
|
||||
use ra_project_model::{self, ProjectWorkspace, TargetKind};
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use rustc_hash::FxHashMap;
|
||||
|
||||
use serde::{Deserialize, Deserializer};
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use lsp_types::{
|
||||
self, CreateFile, DiagnosticSeverity, DocumentChangeOperation, DocumentChanges, Documentation,
|
||||
Location, LocationLink, MarkupContent, MarkupKind, Position, Range, RenameFile, ResourceOp,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
#![recursion_limit = "512"]
|
||||
mod caps;
|
||||
mod cargo_target_spec;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use flexi_logger::{Duplicate, Logger};
|
||||
use lsp_server::Connection;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
mod handlers;
|
||||
mod subscriptions;
|
||||
pub(crate) mod pending_requests;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use std::{fmt::Write as _, io::Write as _};
|
||||
|
||||
use lsp_server::ErrorCode;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
use lsp_server::RequestId;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use ra_ide_api::FileId;
|
||||
use rustc_hash::FxHashSet;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
pub(crate) fn format_docs(src: &str) -> String {
|
||||
let mut processed_lines = Vec::new();
|
||||
let mut in_code_block = false;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use lsp_types::{Location, Position, Range, TextDocumentIdentifier, Url};
|
||||
use rustc_hash::FxHashMap;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use std::{
|
||||
path::{Path, PathBuf},
|
||||
sync::Arc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue