Skip to content
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

qt-qml: Add -d option to specify kit documentation path #49

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

OrkunTokdemir
Copy link
Collaborator

@OrkunTokdemir OrkunTokdemir commented Feb 13, 2025

  • Add findQtPathsInKitDir() to get Qt paths in kit directory
  • Add qt-qml.qmlls.customDocsPath setting to specify kit documentation path
  • Add -d option to specify kit documentation path
  • Use QT_INSTALL_DOCS from qtpaths as default documentation path

When qt-qml.qmlls.docsPath is specified, it overrides the default in either selected kit or qtpaths.

Fixes: VSCODEEXT-137

* Add `findQtPathsInKitDir()` to get Qt paths in kit directory
* Add `qt-qml.qmlls.customDocsPath` setting to specify kit documentation path
* Add `-d` option to specify kit documentation path
* Use `QT_INSTALL_DOCS` from `qtpaths` as default documentation path

When `qt-qml.qmlls.docsPath` is specified, it overrides the default
in either selected kit or qtpaths.

Fixes: [VSCODEEXT-137](https://bugreports.qt.io/browse/VSCODEEXT-137)
@OrkunTokdemir OrkunTokdemir changed the title qt-qml: qmlls: Add -d option to specify kit documentation path qt-qml: Add -d option to specify kit documentation path Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant