Commit Graph
167 Commits
Author SHA1 Message Date
Fred Tingaud 4ea5d4f948 Display tool tags in the editor (#3776) 2022-06-15 23:52:39 +02:00
Patrick Quist 0d41b01158 fix tab selection (#3772) 2022-06-15 14:59:58 +02:00
Jeremy Rifkin 1123f0f58f Fix issue with conformance views (#3758) 2022-06-10 06:03:12 -04:00
Jeremy Rifkin 14ddad0376 Jr/editor font size setting (#3670)
* Two quick code cleanups while I'm here

* Added default font size user setting

* Better addSelector solution

* Fix and clarification, thanks Ruben

* Updated typing

* Added font scale broadcast
2022-05-18 15:31:53 -04:00
Jeremy Rifkin ba76824c6d Clear linked line on mouse move (#3660) 2022-05-15 01:12:18 -04:00
RabsRincon d200e7c064 Center the image logos vertically 2022-05-14 06:06:19 +02:00
RabsRincon b2b2de71f8 Prettier changes 2022-05-12 03:55:21 +02:00
Rubén Rincón Blanco 5087a9ec0d Add icons to languages in dropdown (#3298) 2022-05-12 03:53:40 +02:00
Rubén Rincón Blanco db60af5877 Make tabbed panes active when reveals are sent (#3647)
Closes #3645
2022-05-12 03:19:15 +02:00
Ofek a9b139ce56 Fix #3592 (#3621) 2022-05-08 09:29:16 -05:00
Rubén Rincón BlancoandMatt Godbolt 2dbca646f0 Address some low-hanging fruits from webstorm code inspection (#3582)
* Address some low-hanging fruits from webstorm code inspection
* Change editor code to silence eslint

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-04-29 14:24:29 -05:00
Rubén Rincón Blanco fc001b2d75 Quickbench now supports https (#3581) 2022-04-27 10:53:25 +02:00
Jeremy Rifkin 28890496a6 Updated cppinsights.io link generation (#3469) 2022-04-01 07:43:17 -05:00
Jeremy RifkinandRubén Rincón Blanco 9ab2a3d268 Position of cursor position (#3394)
* Fix cursor position ui bugs

* Better sizing strategy

* Better solution: Put the position in the bottom right

* Update static/explorer.scss

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Update static/panes/editor.js

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-02-24 14:55:35 +01:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Luca Natilla 26cbd6e63c Pane renaming saves the name of the panes into their state (#3364)
* Renaming works for compiler with local storage saving

* Remove closed panes from local storage

* Feature working for almost every pane

* Working except for editor and tool-input-view

* Save pane name into its state instead of local storage

* Remove unnecessary local storage code

* Apply Ruben's suggestions

* Check for CMakeLists.txt always on default name

* Change pane renaming's modal placeholder's text, code cleanup
2022-02-22 00:07:31 +01:00
Rubén Rincón Blanco f83e20af43 Makes notification messages more readable (#3383)
* Makes notification messages more readable

* Fix lint error

* Fix autohide always being false

* Contrast fixes
2022-02-21 22:42:57 +01:00
Rubén Rincón Blanco db229b94bc Add strict tsc flag for the frontend ts code (#3356) 2022-02-12 02:41:01 +01:00
partouf 577feafcb7 disable renaming for editor 2022-02-11 15:36:49 +01:00
Luca Natilla 810cb5ad6f Ability to name panes (#3323) 2022-02-11 15:25:02 +01:00
Luca Natilla 4af294d613 Option to create a short link with Ctrl+s silently (#3305) 2022-01-31 21:28:56 -06:00
Rubén Rincón Blanco d8e580fe17 Update editor.js 2022-01-31 14:06:15 +01:00
Rubén Rincón Blanco fe7eb18408 Reimplement more options for Ctrl-S (#3300) 2022-01-31 14:03:38 +01:00
Mats Larsen 593a727445 Add setting for automatically formatting on compilation (#3302)
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.
2022-01-31 14:01:14 +01:00
Rubén Rincón BlancoandMats Larsen f4315c561b Move static/settings.js to TypeScript (#3297)
* Rename settings.js to ts

* Move Settings to TS

* Remove underscore from settings

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Improve Settings implementation

* Move Settings interfaces to same file

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

Co-authored-by: Mats Larsen <me@supergrecko.com>
2022-01-29 02:00:10 +01:00
Matt Godbolt c1fe085ca2 Revert "Some more Ctrl-S behaviours (#3283)"
This reverts commit be42b2f012.
2022-01-24 21:36:12 -06:00
Rubén Rincón BlancoandMats Larsen be42b2f012 Some more Ctrl-S behaviours (#3283)
* 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>
2022-01-24 21:16:50 -06:00
Matt Godbolt 4eccbf8742 Upgrade monaco and monaco-webpack-plugin (#3204) 2021-12-21 16:09:40 -06:00
Mats Larsen 0b32c7e916 Automatically enable text search for language dropdown (#3162) 2021-12-12 17:43:19 +01:00
RabsRincon 8886821da4 Add a way to ensure no tracking is done and now 3rd party is available 2021-10-26 20:31:38 +02:00
Mats Larsen 025325e6d5 Replace CommonJS default exports with named exports (#3021)
This patch refactors every single CommonJS default export and TypeScript `export =` to use named exports.
2021-10-12 11:30:10 +02:00
Rubén Rincón Blanco b6338e0897 Adds supportsExecute language option (#2963)
* Adds supportsExecute language option

It's recalculated every time the compilers change
2021-10-04 21:47:29 -05:00
partouf ee3370501a always escape 2021-09-27 16:12:36 +00:00
RabsRincon e33a52bfd6 Closes #2967 2021-09-27 17:04:54 +02:00
Mats Larsen 3faf881e95 Bind duplicate selection to Ctrl + D (#2956) 2021-09-22 21:16:36 +02:00
Patrick Quist 902a6a8777 search on cloogle (#2921) 2021-09-10 02:48:52 +02:00
RabsRincon 5525c40bc6 Fix current cursor pos bug 2021-09-07 17:39:24 +02:00
RabsRincon 0e296f27d0 Improve new cursor position label 2021-09-05 13:46:20 +02:00
RabsRincon a779f6005d Add current caret position to source pane 2021-09-04 17:06:28 +02:00
Rubén Rincón Blanco 6a1dbe14f7 Some general UI touches (#2910)
* 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 &nbsp; 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
2021-09-03 05:51:05 +02:00
Patrick Quist e812888b0c tree sometimes doesn't exist anymore 2021-09-01 22:56:57 +02:00
RabsRincon f82b0114d9 Adds drag support for Tree pane
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
2021-08-31 20:16:13 +02:00
partouf 370633e091 fix #2896 2021-08-29 14:21:44 +00:00
Mats LarsenandRubén Rincón Blanco 3f4d18a78a Implement code document formatting through monaco (#2874)
* 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>
2021-08-28 02:01:17 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Mats LarsenandMatt Godbolt 53b9e0ac59 Support multiple formatter types for /api/format (#2818)
* 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>
2021-08-24 18:46:38 -05:00
RabsRincon 7f5099272d Try to guess what CppReference language is best
Closes #2204
2021-08-04 09:40:24 +02:00
Mats Larsen 648ebf9ecf Migrate /static/alert.js to TypeScript (#2829)
* Migrate static/alert.js to TypeScript

* Update copyright and extract interfaces

* Implement @partouf's Alert.enterSomething from Multifile UI
2021-08-01 12:02:34 +02:00
RabsRincon e41fb815d0 Make editor and compilers remember reveal jumps
Closes #2825
2021-07-29 11:33:05 +02:00
RabsRincon 6cd6a37f86 Rename all-editor-modes.js to _all.js 2021-07-27 10:41:16 +02:00