mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Add on-enter handler
Now, typing doc comments is much more pleasant
This commit is contained in:
parent
82447ecace
commit
2b956fd3a8
12 changed files with 630 additions and 401 deletions
|
@ -119,6 +119,14 @@ pub struct JoinLinesParams {
|
|||
pub range: Range,
|
||||
}
|
||||
|
||||
pub enum OnEnter {}
|
||||
|
||||
impl Request for OnEnter {
|
||||
type Params = TextDocumentPositionParams;
|
||||
type Result = Option<SourceChange>;
|
||||
const METHOD: &'static str = "m/onEnter";
|
||||
}
|
||||
|
||||
pub enum Runnables {}
|
||||
|
||||
impl Request for Runnables {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue