From 3f8aa8a557d5d1fecf207be2178a08128f0bfd2b Mon Sep 17 00:00:00 2001 From: Davide Bortolami Date: Mon, 9 Mar 2020 16:12:59 +0000 Subject: [PATCH 1/2] Add extensions.json for vscode --- .vscode/extensions.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..0b370274 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,14 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "ms-vscode-remote.remote-containers", + "ms-python.python" + ], + // List of extensions recommended by VS Code that should not be recommended for users of this workspace. + "unwantedRecommendations": [ + + ] +} \ No newline at end of file From 6787aae39a407838838d09b3ec8a4d1f1e6be7a0 Mon Sep 17 00:00:00 2001 From: Davide Bortolami Date: Mon, 9 Mar 2020 16:13:13 +0000 Subject: [PATCH 2/2] fixes in readme --- development/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/development/README.md b/development/README.md index 6c9d708a..229f6004 100644 --- a/development/README.md +++ b/development/README.md @@ -19,15 +19,22 @@ cd frappe_docker For most people getting started with Frappe development, the best solution is to use [ VSCode Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). +VSCode should automatically inquiry you to install the required extensions, that can also be installed manually as follows: + - Install Remote - Containers for VSCode - through command line `code --install-extension ms-vscode-remote.remote-containers` - - clicking on the following link: [install](vscode:extension/ms-vscode-remote.remote-containers) + - clicking on the button at the following link: [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) + - searching for extension `ms-vscode-remote.remote-containers` - Install Python for VSCode - through command line `code --install-extension ms-python.python` - - clicking on the following link: [install](vscode:extension/ms-python.python) + - clicking on the button at the following link: [install](https://marketplace.visualstudio.com/items?itemName=ms-python.python) + - searching for extension `ms-python.python` + +After the extensions are installed, you can: + - Open frappe_docker folder in VS Code. - `code .` -- From Command Palette (Ctrl + Shift + P) Execute Remote Containers : Reopen in Container. You can also click in the bottom left corner to access the remote container menu. +- Launch the command, from Command Palette (Ctrl + Shift + P) `Execute Remote Containers : Reopen in Container`. You can also click in the bottom left corner to access the remote container menu. Notes: