Short summary of what is going on or to provide context.
Steps To Reproduce:
This is step 1.
This is step 2. All steps should start with '1.'
tag should be auto suggested when creating a fresh web component
2. I am creating fresh lwc coponent using LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"
@thunderpycode Can you run Developer: Show Running Extensions in the command palette and send us a screenshot of what's there? We would like to ensure you have the latest version of the extensions installed and activated.
Can you also send us any error messages you see in the following places?
Problems tab
Output tab under the LWC Extension dropdown option
Run Developer: Toggle Developer Tools from the command palette
@thunderpycode Ah, I see the problem now. XML autocompletion in .js-meta.xml files requires the Red Hat XML extension, which is included in the Salesforce Extension Pack Expanded but not the Salesforce Extension Pack. When I didn't have the Red Hat XML extension installed, I had the same problem of target not populating in suggestions.
I went to the Output tab, selected LWC Extension from the dropdown, and found this:
After I installed the Red Hat XML extension and reloaded the VSCode window, the autocompletions appeared. 🙂
Please install/enable the Red Hat XML extension and let us know if your issue is now resolved!
@thunderpycode As an aside, the problem with the created LWC test file that you showed in that screenshot is a known issue. We already have a bug logged for that, and we are hoping to get the issue fixed soon. 🙂
Hi @thunderpycode, The issue is that your Red Hat XML extension is stuck on Activating. You will only see the autocompletions if the Red Hat XML extension is in Activated state.
Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:
@thunderpycode Can you run
Developer: Show Running Extensions
in the command palette and send us a screenshot of what's there? We would like to ensure you have the latest version of the extensions installed and activated.Can you also send us any error messages you see in the following places?
LWC Extension
dropdown optionDeveloper: Toggle Developer Tools
from the command paletteHello @daphne-sfdc , Below are the screenshots for:
1. Developer : Show Running Extensions
**2. Developer : Toggle Developer Tools**
**3. Problem with created testfile**
@thunderpycode Ah, I see the problem now. XML autocompletion in
.js-meta.xml
files requires the Red Hat XML extension, which is included in the Salesforce Extension Pack Expanded but not the Salesforce Extension Pack. When I didn't have the Red Hat XML extension installed, I had the same problem oftarget
not populating in suggestions.I went to the Output tab, selected
LWC Extension
from the dropdown, and found this:After I installed the Red Hat XML extension and reloaded the VSCode window, the autocompletions appeared. 🙂
Please install/enable the Red Hat XML extension and let us know if your issue is now resolved!
@thunderpycode As an aside, the problem with the created LWC test file that you showed in that screenshot is a known issue. We already have a bug logged for that, and we are hoping to get the issue fixed soon. 🙂
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.
@daphne-sfdc The Red Hat XML is still not working. lets follow the issue.
@thunderpycode just curious what is the list of all the extensions active for this project?
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.
@peternhale I have already shared: https://github.com/forcedotcom/salesforcedx-vscode/issues/5567#issuecomment-2092309052
@peternhale
Hi @thunderpycode, The issue is that your Red Hat XML extension is stuck on Activating. You will only see the autocompletions if the Red Hat XML extension is in Activated state.
Can you try the solution provided at https://github.com/redhat-developer/vscode-xml/issues/909 to reinstall the Visual C++ redistributable?
Sure @daphne-sfdc . Will try and let you know. Thanks
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.