Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env: Basic VSCode Extension Recommendations and Settings #80

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

da2ce7
Copy link
Contributor

@da2ce7 da2ce7 commented Sep 9, 2022

Recommendations:

Settings:

  • Workspace Spelling Ignore List
  • Format on save for Rust Code
  • Check with Clippy on Save

@da2ce7 da2ce7 changed the base branch from develop to main September 11, 2022 13:45
@da2ce7 da2ce7 changed the base branch from main to develop September 11, 2022 13:45
@josecelano
Copy link
Member

In my user settings, I have:

"rust-analyzer.checkOnSave.command": "clippy"

That runs: cargo clippy instead of cargo check. Clippy shows you the same errors and warnings as cargo check with extra recommendations.

@da2ce7 da2ce7 changed the title Basic vscode extension recommendations and settings. Env: Basic VSCode Extension Recommendations and Settings Sep 21, 2022
Co-authored-by: Jose Celano <josecelano@gmail.com>
@da2ce7
Copy link
Contributor Author

da2ce7 commented Sep 21, 2022

ACK 2b294dd

@da2ce7 da2ce7 merged commit 8da9963 into torrust:develop Sep 21, 2022
@josecelano josecelano mentioned this pull request Sep 22, 2022
da2ce7 added a commit that referenced this pull request Oct 9, 2022
a9df618 fix: vscode setting, remove default formatter (Jose Celano)

Pull request description:

  The VSCode settings added on [PR 80](#80) are not working for me:

  ```
  "[rust]": {
      "editor.defaultFormatter": "matklad.rust-analyzer",
      "editor.formatOnSave": true
  },
  ```

  @da2ce7 edit. Now removed the line.

  ```
  "[rust]": {
      "editor.formatOnSave": true
  },
  ```

ACKs for top commit:
  da2ce7:
    ACK a9df618

Tree-SHA512: 8e46357adf3dbe0b3b7eb71fc5d30ff11fc44aeea89c7568db15efe9c24eec26166f94286f8c52f3b62e5dff174ec258b8b4c46266fe38eaba5a73eecfcab9c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants