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.52k stars 447 forks source link

fix(amazon q): add pl/1 and bms extensions as a recognized code file type #6067

Open scottwritescode opened 5 days ago

scottwritescode commented 5 days ago

Problem

The codefileExtensions does not contain an extension type for .pli which is the common extension for PL/1, or for .bms which is Basic Mapping Support and common for screen definition files in IBM mainframe. Because of this, the files and code in them are not accessible in the workspace context for Amazon Q using the /dev quick action.

When using the Q quick action '\dev' for .pli or .bms files, Q responds with the following message

This appears to be an empty program or workspace with no source files present. There is nothing to explain at this time since no code or files are available for analysis.

Solution

No tests were updated as there are none exclusively for filetype extensions


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

github-actions[bot] commented 5 days ago