Skip to content

Commit b6fab9e

Browse files
authored
Merge branch 'master' into patch-2
2 parents 0b01317 + f1e9b30 commit b6fab9e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/static/ides.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,19 @@ The below are currently supported - Raise an issue or pull request on `GitHub <h
6868
* Only use the Build (the hammer icon) button with these.
6969
The Run icon tries to run the generated executables, which fails since .8xp files can't be run natively on PC.
7070

71+
.. dropdown:: Visual Studio Code
72+
73+
Open the project using :code:`File > Open Folder`.
74+
75+
.. rubric:: Install Extensions
76+
77+
From the Extensions tab, on the left, install the C/C++, C/C++ Extension Pack, and Makefile Tools extensions.
78+
79+
.. rubric:: Open IntelliSense Configurations Screen
80+
81+
Open the Command Palette (:code:`Ctrl+Shift+P`) and select :code:`C/C++: Edit configurations (UI)`.
82+
83+
.. rubric:: Set Compiler Options
84+
85+
Set the value of the "Compiler path" option to be the path to the :code:`ez80-clang` executable in the :code:`bin` directory of your toolchain installation, e.g. :code:`/home/john/CEdev/bin/ez80-clang`.
86+
Also set the "Include path" option to the path to the :code:`include` directory (e.g. :code:`/home/john/CEdev/include`). Make sure to remove/replace the original value of :code:`${default}`, rather than just adding the path at the end.

0 commit comments

Comments
 (0)