Skip to content

feat: handle LSP ResourceOp#1308

Merged
dzhou121 merged 1 commit intolapce:masterfrom
lukaslihotzki:resource-op
Sep 22, 2022
Merged

feat: handle LSP ResourceOp#1308
dzhou121 merged 1 commit intolapce:masterfrom
lukaslihotzki:resource-op

Conversation

@lukaslihotzki
Copy link
Copy Markdown
Contributor

This PR makes the suggestions I mentioned in #1233 functional. For <modname>/mod.rs, the directory also needs to be created, so I changed the CreateFile implementation to call std::fs::create_dir_all on the directory first. I also changed the CreateDirectory implementation, even if unused by LSP, for consistency.

@dzhou121 dzhou121 merged commit c450587 into lapce:master Sep 22, 2022
@MinusGix MinusGix added the A-lsp Area: LSP, assists and code completion label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lsp Area: LSP, assists and code completion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants