-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol outline / search: Customizable display text #220
Comments
@photasm indeed it should be nice. The main reason why we have not implemented that is that when XML is too big, outline crashes the vscode. But since we have added a symbol settings to disable it, I think it's a good idea to add a new settings to add attributes in the outline. |
Great, thank you in advance. |
I would like to expand on that. There should be several attributes to configure, which get tested for in sequence.
|
See redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
I did a quick POC for this issue. Given the <Element1>
<Element2 id="id1" />
<Element2 id="id2" />
<Element2 id="id3" name="name3"/>
<Element2>ABCD</Element2>
</Element1> we want to show :
To manage this configuration, I introduce a new settings "xml.symbols.filters": [
{
"pattern": "test.xml",
"expressions" :[
{
"xpath": "//text()",
"excluded": false
},
{
"xpath": "//@id",
"excluded": false
}
]
}
]
Any feedback are welcome! |
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#220 Signed-off-by: azerr <azerr@redhat.com>
See redhat-developer/vscode-xml#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes #220 Signed-off-by: azerr <azerr@redhat.com>
It would be nice to have the option to customize how symbol outline / search will be displayed.
This could be done by using the attribute on the displayed element.
In my case my symbol outline looks like this:
It would be nice, if it could look sth like this:
Thx. :)
The text was updated successfully, but these errors were encountered: