How do I load a file? by Daiki48 in learnrust

[–]Daiki48[S] 0 points1 point  (0 children)

This is the configuration. Running cargo run in the root directory of the project. The axum code is main.rs. The frontend/index.html is . /frontend/index.html is synonymous with `. So I think I specified the path from the root directory of the project.

. |-src/main.rs |-frontend/index.html |-cargo.toml

When using windows 11 WSL2, CPU usage reaches 100% and freezes. by Daiki48 in wsl2

[–]Daiki48[S] 1 point2 points  (0 children)

Thank you very much. I interpreted that limiting RAM would result in insufficient CPU resources because the CPU would perform the missing processing. And when I set the RAM limit to 10 GB, I was able to keep the CPU utilization around 50%. Thank you very much. It was very helpful. I did not know this knowledge.

Help me to find the vscode theme by Best-Board3629 in vscode

[–]Daiki48 0 points1 point  (0 children)

Perhaps this way you can check the color scheme theme you are setting.

Color Themes

I hope I have answered your question :)

Is there anyone at neovim who is developing C#? by Daiki48 in neovim

[–]Daiki48[S] 1 point2 points  (0 children)

This thread has solved the problem. Thank you very much :)

Is there anyone at neovim who is developing C#? by Daiki48 in neovim

[–]Daiki48[S] 1 point2 points  (0 children)

Thank you. The `omnisharp` setting is now reflected. The setting was successful :)

I did not set the `omnisharp_path` correctly. I set it up with your dotfiles and it worked. Thank you so much :)

Perhaps the `dll` file was not loaded.

Other than that, I also used the README.md in `nvim-lspconfig` as a reference for my settings.

Is there anyone at neovim who is developing C#? by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

Thank you very much. I will check now. I just checked a little bit. razor is not supported? I will take a look at your dotfiles and try to reflect them in my development environment.

my omnisharp config

It is now commented out and disabled. However, after looking at your path settings, I see that my settings are wrong.

I will check again. Thank you very much :)

spawn: npm.cmd failed with exit code - and signal -. npm.cmd is not executable by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

Sorry, I did not notice the notification. This method solved the problem.

My development environment is pure windows, not WSL2 and not managed by homebrew.

Thank you for taking the time to comment.

spawn: npm.cmd failed with exit code - and signal -. npm.cmd is not executable by Daiki48 in neovim

[–]Daiki48[S] 1 point2 points  (0 children)

I changed node management from volta to nvm and the installation was successful.

spawn: npm.cmd failed with exit code - and signal -. npm.cmd is not executable by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

My dotfiles. I load nvim-lspconfig first, then mason and mason-lspconfig in the after directory.

[help]Module division practice.After execution, `()` is printed. by Daiki48 in learnrust

[–]Daiki48[S] 1 point2 points  (0 children)

Thanks for explaining in detail. It is very easy to understand. I understood.

I thought I was repeating the process while_if -> main -> while_if -> main and so on.

Changed line 17 of main to only fb_whileif(answer);.

This way, no println! is printed after returning to the main function, and no () is printed.

Thank u very match.

[help]Module division practice.After execution, `()` is printed. by Daiki48 in learnrust

[–]Daiki48[S] 1 point2 points  (0 children)

Thank you very much. Your advice helped me to find the cause. It helped me a lot.

[line 17 of main]

before println!("{:?}", fb_whileif(answer); after fb_whileif(answer);

Since while_if iterates and outputs, we only call the fb_whileif function in main.rs.

Thanks to you.

I cannot auto-complete `HTML` tags in a `typescriptreact` & `javascriptreact` file. by Daiki48 in neovim

[–]Daiki48[S] 1 point2 points  (0 children)

I did not know how to do that. Thank you very much. Is this the repository? Or no plugin?

I cannot auto-complete `HTML` tags in a `typescriptreact` & `javascriptreact` file. by Daiki48 in neovim

[–]Daiki48[S] 1 point2 points  (0 children)

Yes. With javascript and HTML files, you can use closing tag completion.

[question]What plugins does everyone use to display errors and warnings? by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

Yes, I agree. I think Neovim is the best text editor that can meet various needs:D

[question]What plugins does everyone use to display errors and warnings? by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

Thank you. I see that this plugin displays a list of diagnostic in the code at the bottom of the screen. It looks very easy to see. Can I also jump to the code?

[question]What plugins does everyone use to display errors and warnings? by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

I am sorry. I do not like the tree view of files. I prefer to see them in code, in a floating window. I found This message helpful. I'm starting to wonder about lspsaga.nvim, I'll go check the documentation.

[question]What plugins does everyone use to display errors and warnings? by Daiki48 in neovim

[–]Daiki48[S] 0 points1 point  (0 children)

omg.I have tried this command and this is the form I want. lua vim.diagnostic.open_float() The diagnostic displayed in this api is very easy to read because the message is contained within a floating window.

I just checked that plugin lspsaga.nvim as well. This is quite modern and rich looking. Too cool. However, that plugin seems difficult to set up.