Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

[BUG] Formatter add additional new lines when line break is CRLF #320

Open
Sun-ZhenXing opened this issue Dec 17, 2023 · 3 comments
Open

Comments

@Sun-ZhenXing
Copy link

image

How to reproduce: disable qmlls will result in this


PS: In addition, I have a few more questions:

  1. .qmllint.ini: It doesn't seem to work with me, as I can't set the warning level or QML AdditionalQmlImportPaths
  2. How do I disable warnings? As mentioned in the first point, I have tried various methods but cannot import third-party QML library paths. Qt Creator works properly.
  3. Is there a document or configuration specification, which seems different from Qt Creator.
@Sun-ZhenXing
Copy link
Author

I have discovered a new issue: sometimes qrc files continue to compile without stopping, and are regenerated every second.

And every time the file is saved, it is built twice, which is strange. If these are all new issues, I will report them in the new issue.

@suterberg
Copy link

I have discovered a new issue: sometimes qrc files continue to compile without stopping, and are regenerated every second.

And every time the file is saved, it is built twice, which is strange. If these are all new issues, I will report them in the new issue.

don't use Qt for Python >Rcc>Live Execution this will run rcc auto.

@matsjoyce-refeyn
Copy link

A similar problem was found with the "QML Format" VSCode extension (Delgan/qml-format#2), maybe the fix for this extension is similar?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants