Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds Codelens and code folding support #665

Merged
merged 10 commits into from
May 10, 2022

Conversation

pedrolamas
Copy link
Member

@pedrolamas pedrolamas commented May 9, 2022

Adds Codelens support to the editor, showing direct links to the Klipper and Moonraker documentation websites!

Also adds code folding support for each section and comments!

Pressing F1 will bring all the enabled commands in Monaco, including "fold all"!

image

image

Clicking on the links above will open the correct documentation website!

I've checked the build outputs and seems there was little impact on the bundle size, but it is something to keep an eye on!

Signed-off-by: Pedro Lamas pedrolamas@gmail.com

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas requested a review from matmen May 9, 2022 16:45
@pedrolamas pedrolamas added the UI - QoL Improvements to the UI label May 9, 2022
@pedrolamas pedrolamas added this to the 1.18.1 milestone May 9, 2022
src/locales/en.yaml Outdated Show resolved Hide resolved
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas changed the title feat: adds Codelens support for linking docs feat: adds Codelens and code folding support May 9, 2022
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
pedrolamas and others added 5 commits May 10, 2022 12:07
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Mathis Mensing <matmen@dreadful.tech>
@pedrolamas pedrolamas merged commit aaddeab into fluidd-core:develop May 10, 2022
@pedrolamas pedrolamas deleted the pedrolamas/codelens branch May 10, 2022 20:08
matmen added a commit to matmen/fluidd that referenced this pull request Jun 27, 2022
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Co-authored-by: Mathis Mensing <matmen@dreadful.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI - QoL Improvements to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants