bruiken / Notepad--

Notepad--, a lightweight web based editor with numerous optional features.
MIT License
3 stars 0 forks source link

Automatically pre-fill the file path in code running with loaded/saved file #24

Closed jwijenbergh closed 3 years ago

jwijenbergh commented 3 years ago

When we load/save a file, we can automatically save the file path and pre-fill it in the code running modal.

Justin-Reniers commented 3 years ago

We adjusted the way running code works. The path of a file no longer needs to be given, only the language. Instead, we now take the text in the current editor (hence it should use the text in the current tab), and run that instead. This limits functionality a tiny bit in the sense that using multi-file code is not supported for running which we could do previously, but this works more nicely with quickly trying to run the code in the editor tab.