Skip to content

Commit ad14f44

Browse files
HackerSmackerlcsmuller
HackerSmacker
authored andcommitted
fix: make note about VS Code and Cygwin for Windows users
1 parent f1f4d29 commit ad14f44

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/guides/compiling_on_windows.md

+14
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ It is also possible to use a clang-based compiler, but there is little reason
3535
to do so. Simply pass `make CC=clang` to your Cygwin shell and Clang will be
3636
used in lieu of GNU C.
3737

38+
### Cygwin and Visual Studio Code
39+
40+
Do note that using Cygwin alongside VS Code is extremely easy to do, and is
41+
highly recommended for new users. Once you've installed VS Code, you need to
42+
ensure that it is in your shell path (it is by default, just make sure that
43+
the executable named `code` is in `%PATH%`). Once you've installed VS Code,
44+
you can invoke the editor from Cygwin by typing `code .` from a working
45+
directory. The `.` is VERY important -- you will get a useless default
46+
working directory if you don't specify the dot. Remember, the dot specifies
47+
the working directory, and, it gets set to the one that you invoked the
48+
command from.
49+
50+
51+
3852
## Microsoft Visual C/C++
3953

4054
As it stands right now, MSVC is not supported at all. At the current instant,

0 commit comments

Comments
 (0)