AdaCore / ada_language_server

Server implementing the Microsoft Language Protocol for Ada and SPARK
GNU General Public License v3.0
228 stars 54 forks source link

V511-027: Run PP on completion snippet #1013

Closed AdrienBoulanger closed 2 years ago

AdrienBoulanger commented 2 years ago

Encode snippet in pseudo Ada code, run PP and decode it. Enforce PP switches to have the parameter aligned: it can be disabled via a trace which is used to preserve all the tests checking the snippets' contents. Add a test with the trace disabled to check the PP behavior on snippets.

AdrienBoulanger commented 2 years ago

Moving the patch to master