Skip to content

Reduce config switches for meta output - #50

Merged
Rider-Linden merged 2 commits into
secondlife:developfrom
WolfGangS:change/less-meta-config
Jan 20, 2026
Merged

Reduce config switches for meta output#50
Rider-Linden merged 2 commits into
secondlife:developfrom
WolfGangS:change/less-meta-config

Conversation

@WolfGangS

Copy link
Copy Markdown
Contributor

This removes one of the config switches for the meta output.

it required the other switch to work and causes confusion by being separated.

…ng and outputing it causes confusion

Signed-off-by: WolfGangS <flamin2k8@gmail.com>
Signed-off-by: WolfGangS <flamin2k8@gmail.com>

@Rider-Linden Rider-Linden left a comment

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.

Looks good. Thanks.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates two related configuration switches for file meta information into a single switch, simplifying the configuration and eliminating user confusion. The feature both outputs meta information and uses it for file matching, so requiring two separate switches was redundant.

Changes:

  • Removed FileMetaInfoUseForMatching config key and consolidated its functionality into the existing FileMetaInfoInOutput config key
  • Updated the single config switch to control both meta output generation and file matching behavior
  • Minor code cleanup including trailing whitespace removal and unused parameter marking

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/interfaces/configinterface.ts Removed the redundant FileMetaInfoUseForMatching config key from the enum
src/synchservice.ts Updated file matching logic to use the consolidated FileMetaInfoInOutput config key
package.json Removed the separate configuration entry and updated the description of the consolidated config to explain both behaviors
src/shared/luadefsgenerator.ts Cleaned up trailing whitespace (formatting-only change)
src/shared/languagetransformer.ts Marked unused parameter with underscore prefix and removed trailing whitespace
data/syntax_def_default.json Removed trailing whitespace (formatting-only change)

Comment thread package.json
"type": "boolean",
"default": false,
"description": "Wether the file matcher should use script meta info for matching file"
"description": "Wether the output script should include some meta information about the file, this info is also used to match file on next edit"

Copilot AI Jan 20, 2026

Copy link

Choose a reason for hiding this comment

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

Spelling error: "Wether" should be "Whether"

Copilot uses AI. Check for mistakes.
@Rider-Linden
Rider-Linden merged commit 6ccac3b into secondlife:develop Jan 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants