Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
200 stars 48 forks source link

Add `catch` to autocompletions #234

Closed myOmikron closed 2 years ago

myOmikron commented 2 years ago

When writing a block like:

try
{
    doSomething();
}

there's no autocompletion for catch.

There should be at least a suggestion to write catch, but even better would be to autocomplete to the following and set the cursor to CURSOR:

try
{
    doSomething();
}
catch (CURSOR)
{

}