When `files` is unspecified `input` defaults to `**/*`.
This pattern still only matches valid typescript extensions.
When `outDir` is specified it is implicitly added to `exclude`,
which takes priority over `include` and breaks the build.
Co-authored-by: Matt Godbolt <matt@godbolt.org>
This will convert static/colour.js to typescript (see #2981)
Changes are pretty much the same as with the other conversions I did.
Assumed that param colours in applyColours is of type number[] as this is the only fitting type.
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
Site settings for tab width and tabs vs spaces are now being used when sent to the /api/format APIs.
This patch also includes some tiny internal refactoring on the bits related to the formatting API.
* Implement generic pane skeleton
* Implement abstract Pane class
* Port RustMirView to typescript
* Fix nits in code
* Adjust method names and add override modifiers
* Add remaining settings keys (and fix a bug)
* Use this-binding in registerStandardCallbacks
* Address review comments
* Use utils.updateAndCalcTopBarHeight in base pane
* Add notice about adding an entry in interfaces.ts
* Use .bind instead of context parameter
GoldenLayout has moved away from the context parameter, so .bind is a safer for the future
* [200~Check for editor presence + fix typo~
* Remove trailing comma
Co-authored-by: Patrick Quist <partouf@gmail.com>
* Touches and changes to the UI to make it more consistent
It fixes some problems, improves the UX of certain actions,
and clears some code up
* More minor tweaks to the UI
* Fix class typo
* Add compiler picker opt group header background color in default theme
* Fix conformance view
* Removes some in favour of margins
Removes boostrap-slider, there's a built-in html solution
Fixes tab width setting having a wrong input type
* More UI tweaks
* Remove empty CSS rule
* MVP implementation of Monaco code formatting
* Lint fixes
* Replace Ctrl + F9 keybind with monaco command to invoke formatDocument
* Use window.httpRoot definition from tree.ts
* Add definitions for C and Rust
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>