Skip to content

Remove restriction to projects#2

Open
e4z9 wants to merge 2 commits into
qt-creator:mainfrom
e4z9:main
Open

Remove restriction to projects#2
e4z9 wants to merge 2 commits into
qt-creator:mainfrom
e4z9:main

Conversation

@e4z9

@e4z9 e4z9 commented Jun 8, 2026

Copy link
Copy Markdown

No description provided.

e4z9 added 2 commits June 8, 2026 09:34
Let it handle any text/plain files, it works fine without a project.

Task-number: QTCREATORBUG-34587
@CLAassistant

CLAassistant commented Jun 8, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread ValeLS/init.lua
initializationOptions = createInitOptions,
settings = Settings,
startBehavior = "RequiresProject",
startBehavior = "RequiresFile",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RequiresProject is necessary if the config file is located in the project.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, so let's postpone this change until we have RequiresProjectOrFile or some other workaround in place.

Comment thread ValeLS/init.lua
showInSettings = false,
languageFilter = {
patterns = { '*' },
mimeTypes = { 'text/plain' },

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that "inheriting" / does it allow other types based on text/plain?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, resolution checks all parent MIME types.

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.

3 participants