gavr123456789 / Niva

Smalltalk like programming language
https://gavr123456789.github.io/niva-site
41 stars 2 forks source link

ASCII WIDGETS! #246

Open gavr123456789 opened 3 months ago

gavr123456789 commented 3 months ago
/// Run
// OR
/// |> // play icon
Test sas = [
  1 assertEqual: 2
]

Run is clickable with ctrl click, which will run the test and print the result in comment

gavr123456789 commented 2 months ago

Even better, what if u can create tables, buttons, switches, scrollbars inside code, clicking on such widget with go to definition action from lsp will make them active, for example:

// - [ ] click // - [X]