diff --git a/README.md b/README.md index 3bfbefb..5139006 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,7 @@ ###### Useful links [Website](https://plx.rs) - [WHY ?](https://plx.rs/book/why.html) - -[Git repository of PLX](https://github.com/plx-pdg/plx) - -[Git repository of this website](https://github.com/plx-pdg/plx-pdg.github.io) +[Git repository of PLX website](https://github.com/plx-pdg/plx-pdg.github.io) ### Introduction @@ -17,6 +16,10 @@ PLX is a project developed to enhance the learning of programming languages, wit PLX offers a terminal user interface (TUI) developed in Rust and supports multiple languages (currently C and C++). It enables automatic compilation as soon as a file is saved, automated checks to compare program outputs, and instant display of errors and output differences. The solution code can also be displayed. The project draws inspiration from [Rustlings](https://rustlings.cool/) and aims to create a more efficient learning experience, particularly for programming courses at HEIG-VD. +### Docs + +We deploy documentations on [our website](https://plx.rs/book).## Docs + ### Installation #### Prerequisites @@ -38,7 +41,7 @@ Once you have plx installed, you can try it on this repo's example folder > [!WARNING] > The open editor feature is currently unstable, using a terminal based editor causes problems -> The following editors were tested and work fine: `code`, `idea` and `codium` +> The following editors were tested and work fine: `code`, `clion` and `codium` > [!IMPORTANT] > Only C and C++ exercises are valid for now, java and other languages support is comming soon™ diff --git a/src/core/editor/editor.rs b/src/core/editor/editor.rs index 90df064..37cb3bb 100644 --- a/src/core/editor/editor.rs +++ b/src/core/editor/editor.rs @@ -7,7 +7,7 @@ pub fn get_default_editor() -> Option { let valid_editors: Vec = vec![ String::from("code"), String::from("codium"), - String::from("idea"), + String::from("clion"), ]; if valid_editors.contains(&editor) { Some(editor)