genericptr / pascal-language-server

LSP server implementation for Pascal
GNU General Public License v3.0
53 stars 15 forks source link

* Implement detection of inactive regions in code #74

Closed mvancanneyt closed 1 year ago

mvancanneyt commented 1 year ago

Ryan, This implements detection of inactive regions in code, meaning that


{$IFDEF SOMETHING}
  DoSomething;
{$ENDIF}

Will render 'DoSomething' greyed out if SOMETHING is not defined.

It requires client-side support, the patch implementing that in VS-Code will be submitted as soon as I finish this PR.