Skip to content

Commit

Permalink
Adress review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasHelming committed May 15, 2024
1 parent c1dacb3 commit 7c107e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/contribution_filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class SampleFilteredCommandContribution implements CommandContribution {

### Step 2: Register Filters

Now, we register the filters to remove specific contributions, in our case the example command we just registered.
Now, we register the filters to remove specific contributions, in our case the example command we just registered. The filter below is scoped to be only applied to `CommandContribution`, you can use '*' to filter any type of contribution. In the filter implementation, we additionally check for the specific type `SampleFilteredCommandContribution` in the example.

```typescript
import { FilterContribution, ContributionFilterRegistry, CommandContribution } from '@theia/core/lib/common';
Expand Down

0 comments on commit 7c107e2

Please sign in to comment.