4
By syntactically reading a language in a Visual Studio extension project I can already read the following:
<span class="myclass"></span>
It is relatively easy to manage read states InTag
, AttributeNaming
, AttributeValue
(created these states). Make the correct color application by the Colorizer class and everything else.
The problem:
Visual Studio through its API sends me the code line by line waiting for me to return the tokens read. How do I read a broken line?
<span
class="myclass"></span> <!-- Meu parser verá erros e textos apenas -->
Is there any way to group these lines? Code outlining helps in these cases? How do I use it?
In this case for example, reading a more complex language, how could I create the outlining and indetify the states? A; In namespace, B: class name declaration, C: in class, D,: method declaration, E: method name, F: method body, for example.
Nice going there, huh? You’re writing in open source?
– Leonel Sanches da Silva
is an extension project of Visual Studio itself, using its own SDK.
– Leonardo Bosquett