mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 20:56:42 +00:00
refactor: refactor hover, analysis/global, and docs crates (#755)
* dev: refactor hover.rs * refactor refactor AnalysisContext * refactor: refactor docs crate
This commit is contained in:
parent
1c1bc19caf
commit
8f3566366e
44 changed files with 694 additions and 790 deletions
|
|
@ -30,14 +30,14 @@ pub struct GotoDeclarationRequest {
|
|||
impl SemanticRequest for GotoDeclarationRequest {
|
||||
type Response = GotoDeclarationResponse;
|
||||
|
||||
fn request(self, _ctx: &mut AnalysisContext) -> Option<Self::Response> {
|
||||
fn request(self, _ctx: &mut LocalContext) -> Option<Self::Response> {
|
||||
let _ = find_declarations;
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
fn find_declarations(
|
||||
_ctx: &AnalysisContext,
|
||||
_ctx: &LocalContext,
|
||||
_expr_info: Arc<crate::syntax::ExprInfo>,
|
||||
_deref_target: DerefTarget<'_>,
|
||||
) -> Option<Vec<Range<usize>>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue