From b4a778722dcd93853f773d5e0d1aaf6a49adb084 Mon Sep 17 00:00:00 2001 From: Junfeng Li Date: Thu, 26 Dec 2024 15:37:10 -0800 Subject: [PATCH] Update instruction on quick start Differential Revision: D67609741 fbshipit-source-id: e0c771f43fc9c871f9d328fdd3b022cfd0b0e933 --- ide_integrations/visual_studio/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ide_integrations/visual_studio/README.md b/ide_integrations/visual_studio/README.md index 1a044a33d..f05aea30e 100644 --- a/ide_integrations/visual_studio/README.md +++ b/ide_integrations/visual_studio/README.md @@ -12,8 +12,11 @@ offers superb performance and handles incremental changes extremely well. ## Quick Start +Use project "buck2/examples/vscode" as an example, + ``` -buck2 bxl prelude/ide_integrations/visual_studio/main.bxl:main -- --target //cpp/hello_world:main +mkdir modes && echo "" > modes/debug # One-time setup. Skip if there is one already exists. +python prelude/ide_integrations/visual_studio/vsgo.py root//:main --mode_files modes/debug ``` This will generate project and solution files for the specific target and output @@ -23,7 +26,7 @@ browse, edit, and run/debug your buck target. To list all options and their help docs, run ``` -buck2 bxl prelude/ide_integrations/visual_studio/main.bxl:main -- --help +python prelude/ide_integrations/visual_studio/vsgo.py --help ``` ## How It Works