Closed Jonas22rr closed 10 months ago
Hi! Thanks for bug report. Could you please provide minimal project example in order to reproduce the issue?
Sorry for the late answer,
unfortunately, I cannot publish an example project.
Nevertheless, I can briefly describe when exactly the error occurs…
As soon as I get an error and it is displayed,
then delete the text again, the linting jumps to the new line
Hi,
Unfortunately I can't reproduce the issue with the steps you provided, everything works fine from my end.
So I will need either clear steps on how to reproduce it, or project minimal example. I will not be able to help if I can't reproduce the issue :)
I don't ask for full project example, it is clear that you can't provide me with real product code, but you can create a new project with minimal files with different naming etc., but which would have the problem you described.
if the linting is active on two attributes, and you change one in the name length, the error happens
example code:
`
</mvc:View>`
I have zero issues with this case. It's hard to tell why do you have it, tried it on MacOS, the result is the same.
can you send me your settings please? perhaps it is due to some setting
can you send me your settings please? perhaps it is due to some setting
I tested it on a virtual machine without any kind of settings, clear installation.
I uninstalled the extension and started it from scratch. Unfortunately, the error came right back. I also had all my other extensions disabled, so I could rule out that there was an error due to another extension.
I have opened the project and it works perfectly fine for me. So probably it is somehow OS related. It's the only thing left. I had troubles with Ubuntu VM, on my PC for some reason I had buggy software installation and I couldn't even install VSCode. I will try to install working ubuntu VM and pray that it's OS related issue, because otherwise I am out of ideas.
I have installed fresh Ubuntu VM and everything works perfectly fine there as well, even faster than in Windows... Soooo, any ideas? Because I have none :(
I have no Idea too :(
I don't really know what here is happening XD / what is causing the problem
So, as I have absolutely no idea why do we have different behavior on the same OS, with absolutely clear VSCode install without any settings configured and using the same project, there are only two things which I think are at least theoretically possible: 1) You could download an extension source code, run it and debug it 2) Remote desktop connection
Yes, if I have a little time, I could debug it.
Thank you for the fast answers :)
Yes, if I have a little time, I could debug it.
Thank you for the fast answers :)
Thanks!
I can guide you a bit:
Chain of XML Linter looks as follows:
DiagnosticsRegistrator
: _updateXMLDiagnostics
-> XMLLinter
(ui5plugin-linter) : getLintingErrors
-> and then every linter gets called sequentially. Obviously, something went wrong with positions of the errors, so maybe that could be checked.
E.g.
TagAttributeLinter
: _getTagAttributeErrors
, position is taken from tag.positionBegin, and tag position is generated in XMLParser
:getTagBeginEndPosition
(ui5plugin-parser), so maybe those places could be checked as well.
Closed because of inactivity
Hi,
First, I want to say that this is an awesome Extension. Good job!!!
So my Problem is…
When I open a normal xml-view there is a Problem with the linting. It shows errors over multiple attributes.
I have to bind my value like this, so normal there should be no error too.
Expected behavior First, I’ve expected, that the error is only on one attribute. Second, there should be no error on my state-model (my state is an object in this case).
Screenshots
Desktop (please complete the following information):
Thank you!
Regards Jonas