diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ed98d33..d5cb613 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,6 +4,8 @@ ARG VARIANT="buster" FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} +RUN sudo apt install gnupg2 -y + # ** [Optional] Uncomment this section to install additional packages. ** # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # && apt-get -y install --no-install-recommends diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4880f42..945d23f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,7 +14,8 @@ // Add the IDs of extensions you want installed when the container is created. "extensions": [ - "rust-lang.rust-analyzer" + "rust-lang.rust-analyzer", + "LeetCode.vscode-leetcode" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. diff --git a/.gitignore b/.gitignore index c41cc9e..f07393c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -/target \ No newline at end of file +/target +Cargo.lock +Cargo.toml \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..2a8169e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "leetcode.filePath": { + "default": { + "folder": "${kebab-case-name}", + "filename": "sol.${ext}" + } + } +} \ No newline at end of file