* 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
It also fixes a bug where multiple sources could be created if dropped
into the same dragSource button
Moves somes _.bind(fn to fn.bind( in ts code
Closes#2895
* 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>
* Make /api/format handle multiple formatter types
* Ignore preferred style if the formatter is a 'one true style' formatter
* Add tests for base formatter
* Document /api/formats and /api/format/<formatter> usage
* Document adding a new formatter
* Update amazon config
Co-authored-by: Matt Godbolt <matt@godbolt.org>
* 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
* allows favourites to be picked
* replace selectize with tom-select 1.7
Addresses (if not closes) #1917 & #257.
Co-authored-by: Matt Godbolt <matt@godbolt.org>
* Enable the editor to highlight spans in the highlighted line
* Parse and send the column numbers for LLVM AST nodes
* Highlight the part of the line corresponding to a node
For nodes that fit on a single line
* Highlight the nodes directly corresponding to symbol hovered over
Also highlight entire tokens in the source, not just their first character
* Fix the squiggly underline for string literals
It seems like clearSelection is not available anymore (Was it ever?)
Comment it out - The folding does not work as it stands,
so little is being lost as it stands right now
See issue #2561
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>
* just the important bits
* hide arrows by default
* remove share button when in mobileviewmode
* oops
* support executor
* compiler output support, tools, executor, lot of refactoring
* support skipAsm filter
* select extra options in quickbench
* lintfixes
* use regex to determine optimization lvl
* bugfixes + better semver recognition
* fix optimization flags to quickbench
* Also add c++std to cppinsights link