confluentinc / confluentinc/vscode
Add "RESOURCES_WITH_TEMPLATES" to values.ts
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 17
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
`values.ts` sets up an enum for ease of registration in `package.json`.
Would be good to explore adding `RESOURCES_WITH_TEMPLATES` for ease of registering resources with templates.
```
export enum ContextValues {
// -- CONTEXT VALUES ONLY SET DURING EXTENSION ACTIVATION --
/** Array of resources that support the "View in CCloud" action. */
CCLOUD_RESOURCES = "confluent.ccloudResources",
/** Array of view IDs that contain Confluent/Kafka resources. */
VIEWS_WITH_RESOURCES = "confluent.viewsWithResources",
/** Array of resources that have an `id` property for enabling the `Copy ID` action. */
RESOURCES_WITH_ID = "confluent.resourcesWithIDs",
/** Array of resources that have a `name` property for enabling the `Copy Name` action. */
RESOURCES_WITH_NAMES = "confluent.resourcesWithNames",
/** Array of resources that have a `uri` property for enabling the `Copy URI` action. */
RESOURCES_WITH_URIS = "confluent.resourcesWithURIs",
/** Array of resources that can be selected for comparison and presented in a diff view. */
DIFFABLE_RESOURCES = "confluent.diffableResources",
```
Contributor guide
Assessment
This issue has not been assessed yet.