Skip to content

Add vscode-cpp-essentials.sh script #12

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions vscode-cpp-essentials.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/bash

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por que tantos espaços em branco?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Não sei, eu só voltei com o script que já existia mas tinha sido removido






if [ -z "$(which code)" ]; then


echo -e "\x1B[31m[ERROR] This script requires Visual Studio Code installed.\n"


echo -e "\033[0mYou can install using snap with the following command:\n"


echo -e "\x1B[01;93m $ apt install code\n"


else


code --install-extension xaver.clang-format --force


code --install-extension ms-vscode.cpptools --force


code --install-extension ms-vscode.cpptools-extension-pack --force


code --install-extension llvm-vs-code-extensions.vscode-clangd --force


code --install-extension streetsidesoftware.code-spell-checker --force


code --install-extension wayou.vscode-todo-highlight --force


code --install-extension cschlosser.doxdocgen --force


code --install-extension akiramiyakoda.cppincludeguard --force


code --install-extension tdennis4496.cmantic --force


code --install-extension tonka3000.qtvsctools --force


code --install-extension zxh404.vscode-proto3 --force


# todo: new class template
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue para esses dois todos?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eu não entendi o que seria esse todo



# todo: static check


fi