Powershell Studio 2012 - XML Intellisense

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
pringtef
Posts: 45
Last visit: Mon Sep 23, 2019 11:00 am

Powershell Studio 2012 - XML Intellisense

Post by pringtef »

I'd love for PS 2012 to be able to enumerate XML namespaces from an XML file included in a project and add it to the intellisense/tab completion in the editor.


pringtef2012-06-04 08:55:48
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Powershell Studio 2012 - XML Intellisense

Post by davidc »

We are not quite sure what you are requesting. Can you give us an example? David
David
SAPIEN Technologies, Inc.
pringtef
Posts: 45
Last visit: Mon Sep 23, 2019 11:00 am

Powershell Studio 2012 - XML Intellisense

Post by pringtef »

It's probably best explained from the powershell console. Create a document test.xml with the following text<?xml version="1.0"?>
<note>
<to>Tim</to>
<from>Sapien</from>
<heading>More details required</heading>
<body>Can you give us an example</body>
</note>Start up Powershell, and go to the directory where the file is.[xml] $testXML = Get-Content .test.xml<Enter>$testXML.Note.Now when you TAB cycle through the options, amongst them are :-BodyFromHeadingToIt would be great if PS Studio 2012 could do this.pringtef2012-06-05 01:14:15
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked