-
Notifications
You must be signed in to change notification settings - Fork 64
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
Towards xsd-based auto-completion: An html5 CompletionProvider for XML Literals #527
Comments
And here is the VSIX installer to add this CompletionProvider to your VS as an extension: Give it a tr, but notice it provide auto completion for HTML5 in VB.NET XML literals only inside vbxml tags: Dim x = <vbxml>
<!—auto completion for HTML 5 is available here -->
</vbxml> Note: You can press Ctrl+space after <%= (Function()
Return < />
End Function)()
%> where you can write vb conditions to form dynamic HTML parts as you want. You can also use loops but modify the lambda to be |
To do:
|
I told the whole Vazor story here: https://github.com/VBAndCs/Vazor/blob/master/A-Vazor-story.md |
This doesn't seem to be an issue for the vblang repo. Closing out. |
I added a VbXmlCompletionProvider to this repo
You can add the two files to your Roslyn fork, in the folder
Completion/CompletionProviders
in the projectMicrosoft.CodeAnalysis.VisualBasic.Features
It will provide HTML5 auto completion in VB.NET XML Literals, but only inside the
<vbxml></vbxml>
tag.I did this for two reasons:
I will make a VSIX for this to allow install it as a VS extension (in progress now), but my aim from publishing this, is to allow contributors to build upon to provide a generic XML literals completion provider, based on the xsd that user supplies in the context as this missing feature was described in the docs
The text was updated successfully, but these errors were encountered: