AdaCore / Ada-IntelliJ

Support for Ada and SPARK languages in IntelliJ IDEA
Apache License 2.0
21 stars 8 forks source link

Adds the AdaFoldingBuilder and AdaFoldingBuilderTest #75

Closed benconvey closed 4 years ago

benconvey commented 4 years ago

Adds folding ranges to Ada documents 🥳

Adds a callback within the BusyEditorAwareScheduler that re triggers a fold analysis pass. The AdaFoldingBuilder calls the ALS for folding regions or if the DocumentChangeConsumerOperation still has events to flush, simply builds them from the existing document.

Here's a video

setton commented 4 years ago

Great stuff @benconvey! Will take a bit of time to review :+1: