We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dev new
1 parent 9459eef commit 47f8a0cCopy full SHA for 47f8a0c
src/dev/new.rs
@@ -6,7 +6,7 @@ use std::{
6
process::Command,
7
};
8
9
-use crate::CURRENT_FORMAT_VERSION;
+use crate::{init::RUST_ANALYZER_TOML, CURRENT_FORMAT_VERSION};
10
11
// Create a directory relative to the current directory and print its path.
12
fn create_rel_dir(dir_name: &str, current_dir: &str) -> Result<()> {
@@ -62,6 +62,8 @@ pub fn new(path: &Path, no_git: bool) -> Result<()> {
62
63
write_rel_file("README.md", &dir_path_str, README)?;
64
65
+ write_rel_file("rust-analyzer.toml", &dir_path_str, RUST_ANALYZER_TOML)?;
66
+
67
create_rel_dir(".vscode", &dir_path_str)?;
68
write_rel_file(
69
".vscode/extensions.json",
0 commit comments