aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.41k stars 352 forks source link

As a developer I want to configure the task definition suffix #2936

Open schophil opened 1 year ago

schophil commented 1 year ago

Problem

Currently to enable task definition IntelliSense we need to suffix the task definition files with "ecs-task-def.json". This is not possible in all development environments. We have specific pipelines and processes in place that expect task definitions files to have a specific name. Hence we cannot use the task definition IntelliSense

Expected behavior

Allow developers to configure in vscode the suffix or naming scheme needed to activate the task definition IntelliSense.

examples: "aws.ecs.taskDefinitionPattern": "*-def.json" "aws.ecs.taskDefinitionPattern": "FixedName.json"

or support many: "aws.ecs.taskDefinitionPatterns": ["*-def.json", "FixedName.json"]

justinmk3 commented 1 year ago

Would it work for you if this could be done manually per-file, by selecting the vscode "language mode"?

image
schophil commented 1 year ago

Yes that would already be useful!