Learnyoucpp online ide - https://agauniyal.github.io/ide/
- Add more units/chapters
- Add hints for difficult lessons(involves idea for their UI as well)
- Add setting for editor font size
- Add language keywords to monaco editor(provide better completion support)
- Add compile/execute shortcut to monaco editor itself
- Fix maximized window transparent tabbar
- Improve compiler warnings/errors in output window
- clone the repo locally -
git clone https://github.com/agauniyal/ide.git
- change directories -
cd ide
- install all dependencies -
yarn
- make changes inside
src
directory and runyarn build
- (Optional) Format c++ files with
clang-format
:) - Open webserver on
docs/
directory and view in browser
- Follow steps from How to develop
- Make changes to
src/units/
directory only
The structure of src/units/
directory is as follows -
.
└── 1-Introduction
├── chapter-1
│ ├── main.cpp
│ └── readme.md
...
├── chapter-5
│ ├── helper.hpp
│ ├── main.cpp
│ ├── readme.md
│ └── result.txt
...
2-TypesAndVariables
...
- Each unit must have its own top-level directory inside
src/units/
named as{number}-{name}
. - Every chapter must be contained inside its parent unit as a directory and are to be named as `chapter-{number}.
- At minimum, each chapter must contain a
main.cpp
file and areadme.md
file. - A result.txt file, if present, is trimmed and checked for successfull program output to pass the chapters
- Any other
.cpp
or.hpp
files are opened up in different tabs. - All other files are ignored