![]() |
|
VS Code and Qb64 pe - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: VS Code and Qb64 pe (/showthread.php?tid=3902) |
VS Code and Qb64 pe - Unseen Machine - 09-02-2025 I need some pointers/info on how to get it to actually compile a loaded project please....anyone got any ideas? John Code: (Select All)
RE: VS Code and Qb64 pe - SMcNeill - 09-02-2025 Try: ./qb64pe.exe -x Don't forget the ./ RE: VS Code and Qb64 pe - Unseen Machine - 09-02-2025 Forgive my ignorance, but where should i put that? RE: VS Code and Qb64 pe - a740g - 09-03-2025 If you're using VS Code with QB64-PE, you might find the QB64-PE extension (https://open-vsx.org/extension/grymmjack/qb64pe) by @grymmjack helpful. Just thought I'd mention it since your topic title says, "VS Code and Qb64 pe". RE: VS Code and Qb64 pe - dbox - 09-03-2025 RE: VS Code and Qb64 pe - grymmjack - 09-03-2025 More extensive help here too: https://github.com/grymmjack/vscode-profiles/blob/main/QB64PE-2025/README.md RE: VS Code and Qb64 pe - grymmjack - 09-03-2025 If you just want a light weight setup with no extension use this: Create a .vscode directory in your workspace. Create a tasks.json file within .vscode directory in the workspace. Change this below: Code: (Select All) ${config:qb64pe.compilerPath}To the path where your QB64pe binary is, e.g. Code: (Select All) C:\QB64pe\qb64pe.exeThat's it, then hit CTRL-B and it will compile and show a little terminal window. Here you can see the warnings, etc. Tasks are under Terminal menu -- Terminal -> Run Task... then you pick what you want. Because we configured this as a BUILD task, it will work with CTRL-B by default. ![]() I HIGHLY RECOMMEND the extension, but wanted to give you the simplest instructions possible to get you going. If you want colors like QB64PE IDE the Dark theme in my theme extension is an option for you: https://open-vsx.org/extension/grymmjack/qb64pe-theme To use it install the vsix file you downloaded, then click the gear icon in bottom left, then Themes, color theme - or press CTRL-K CTRL-T then pick it. Good luck! .vscode/tasks.json Code: (Select All) { |