Skip to content

Rewording an error message#14561

Open
bobbrow wants to merge 1 commit into
mainfrom
bobbrow/rewordErrorMessage
Open

Rewording an error message#14561
bobbrow wants to merge 1 commit into
mainfrom
bobbrow/rewordErrorMessage

Conversation

@bobbrow

@bobbrow bobbrow commented Jul 2, 2026

Copy link
Copy Markdown
Member

Fixes: #8227

PR for the native side is in progress

@bobbrow bobbrow requested a review from a team as a code owner July 2, 2026 23:36
@github-project-automation github-project-automation Bot moved this to Pull Request in cpptools Jul 2, 2026
@sean-mcmanus sean-mcmanus requested a review from Copilot July 2, 2026 23:59

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 updates the user-facing messaging shown when #include resolution fails, aiming to address confusion reported in #8227 about “Squiggles are disabled…” wording.

Changes:

  • Rewords the #include errors detected... squiggle-disable messages in nativeStrings.json.
  • Renames three native string localization keys (adds ..._disabled2 variants).
  • Updates the Extension workspace VS Code setting for files.insertFinalNewline (JSON).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
Extension/src/nativeStrings.json Rewords the include-error squiggle-disable messages (and renames the corresponding localization keys).
Extension/.vscode/settings.json Changes JSON editor setting files.insertFinalNewline to true.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"disable_error_squiggles": "Disable error squiggles",
"enable_error_squiggles": "Enable all error squiggles",
"include_errors_update_include_path_squiggles_disables": "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit ({0}).",
"include_errors_update_include_path_squiggles_disabled2": "#include errors detected. Please update your includePath. Syntax errors will not be reported until included files are found.",
"disable_inactive_regions": "Disable inactive region colorization",
"error_limit_exceeded": "Error limit exceeded, {0} error(s) not reported.",
"include_errors_update_compile_commands_or_include_path_squiggles_disabled": "#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit ({0}).",
"include_errors_update_compile_commands_or_include_path_squiggles_disabled2": "#include errors detected. Consider updating your compile_commands.json or includePath. Syntax errors will not be reported until included files are found.",
"intellisense_client_creation_aborted": "IntelliSense client creation aborted: {0}",
"include_errors_config_provider_intellisense_disabled": "#include errors detected based on information provided by the configurationProvider setting. IntelliSense features for this translation unit ({0}) will be provided by the Tag Parser.",
"include_errors_config_provider_squiggles_disabled": "#include errors detected based on information provided by the configurationProvider setting. Squiggles are disabled for this translation unit ({0}).",
"include_errors_config_provider_squiggles_disabled2": "#include errors detected based on information provided by the configurationProvider setting. Syntax errors will not be reported until included files are found.",
"editor.tabSize": 4,
"editor.detectIndentation": true,
"files.insertFinalNewline": false
"files.insertFinalNewline": true

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.

Uh...seems okay to me.

@sean-mcmanus sean-mcmanus 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.

Can you remove the "2" from the keys? There doesn't appear to be a reason for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pull Request

Development

Successfully merging this pull request may close these issues.

confusing message: "Squiggles are disabled for this translation unit ..."

3 participants