Adds a new checkbox setting for automatically formatting the code upon compilation request. I added a note in the setting text indicating that it only runs for languages that have a formatter set up.
* Adds more behaviours for Ctrl-S'ing an editor
It keeps backwards compatibility with the old setting
Fixes#3266
* Fix quotes
The new Node version did not run the commit checks
* Update static/panes/editor.js
Co-authored-by: Mats Larsen <me@supergrecko.com>
Co-authored-by: Mats Larsen <me@supergrecko.com>
Small refactoring for handling -Zunpretty calls:
- reuse options from main compiler invocation instead of crafting new ones.
- factor out common part.
Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.
fixes#2567
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
This change only gets the GNAT Debug expanded generated code (-gnatD).
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Mats Larsen <me@supergrecko.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
* Makes the two buttons (stage/unstage) separate so the template
file has all the title etc in it.
* Hides/unhides to show the appropriate button only.
* Some initial sketchs for fixing conf view
* Fix problems regarding Conformance View pane
The fav issue on #2824 is still there though
Fixes#2841
* Update CompilerPicker.lastCompilerId on compiler change
Fixes#2824
* Extract device code from assembly files.
This commit by itself does not actually add any viewing panes for the
extracted device code, nor does it provide any means to provide
device-specific postprocessing steps.
* Add a rudimentary device view.
This doesn't handle multiple device outputs correctly at the moment, and
it provides no opportunity to view device code differently from
non-device code for now.
* Lint issues
* Some more WIP getting it working.
* Add device extraction code
* More fixes, and keep state
Co-authored-by: Joshua Cranmer <joshua.cranmer@intel.com>
Co-authored-by: Patrick Quist <partouf@gmail.com>
* Allow a tool to have a separate monaco editor for it's stdinput
* Fix bugs identified during code review.
- Selection wasn't being persisted in state.
Needed to do some kind of ugly things to make this work...
- Closing and re-opening the panel wasn't persisting the input!
- getToolInputViewWith -> getToolInputView
- remove _currentDecoration
* Create a seperate window for editing compiler flags
If you have a lot of compiler flags, you don't want to be editing
them in the tiny text box. So add a menu option above
'Popular Arguments' that lets you break out the flags into a
separate window, where you can edit them; one-per-line.
When this happens, the regular flags text box becomes disabled,
and the popular arguments dropdown is not populated.
* Fix the bug where the pane would not reappear upon a refresh, and would not contain the flags
* Use placeholder property instead of the value property
* Simplify timing char handling
It also removes some duplicated code concerning the settings
while at it
* No need to make Timing a "class" anymore
* Address @partouf PR review
* Extract a compiler picker and fix up edge cases
* Use it across the three places that let you pick compilers.
* Fix a number of minor UI issues.
* When reloading a page, prefer the 'favorite' compiler selection in the selectize. Thanks @oyejorge
Co-authored-by: RabsRincon <ruben@rinconblanco.es>
Co-authored-by: partouf <partouf@gmail.com>
With huge thanks to @oyejorge