Skip to content

Allow suppression of warning for single colon in var#8400

Merged
sovdeeth merged 4 commits intoSkriptLang:dev/patchfrom
sovdeeth:patch/disable-warn-for-colon-in-var
Jan 29, 2026
Merged

Allow suppression of warning for single colon in var#8400
sovdeeth merged 4 commits intoSkriptLang:dev/patchfrom
sovdeeth:patch/disable-warn-for-colon-in-var

Conversation

@sovdeeth
Copy link
Copy Markdown
Member

Problem

With namespaced keys being more common in skript, users have been using them as indices into variable lists and running into the "did you mean to use ::" warning when it is not desired.

Solution

Adds a config option to disable this warning globally, as well as a local suppression option.

Testing Completed

variable colon warning.sk

Supporting Information


Completes: Fixes #8190
Related: none
AI assistance: none

@sovdeeth sovdeeth added enhancement Feature request, an issue about something that could be improved, or a PR improving something. 2.14 Targeting a 2.14.X version release. labels Jan 24, 2026
@sovdeeth sovdeeth requested review from a team as code owners January 24, 2026 22:41
@sovdeeth sovdeeth requested review from TheMug06 and UnderscoreTud and removed request for a team January 24, 2026 22:41
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jan 24, 2026
@sovdeeth sovdeeth linked an issue Jan 24, 2026 that may be closed by this pull request
1 task
@sovdeeth sovdeeth moved this to In Review in 2.14 Releases Jan 24, 2026
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.14 Releases Jan 25, 2026
@skriptlang-automation skriptlang-automation bot added patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. and removed needs reviews A PR that needs additional reviews labels Jan 25, 2026
@sovdeeth sovdeeth merged commit 2d56e18 into SkriptLang:dev/patch Jan 29, 2026
9 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.14 Releases Jan 29, 2026
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. labels Jan 29, 2026
@sovdeeth sovdeeth moved this from Done - Awaiting Release to Done - Released in 2.14 Releases Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.14 Targeting a 2.14.X version release. completed The issue has been fully resolved and the change will be in the next Skript update. enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

list warning

3 participants