microsoft / microsoft/vscode-cpptools

Add some automated check in import_edge_strings.js to check if the loc string count is correct

Open
#11,349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

internal Language Service reliability
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

It seems like it might be possible to add a check in import_edge_strings.js to check if the number loc strings in message.json matches the count of English strings that EDG expects in error_msg.txt. That would prevent crashes like https://github.com/microsoft/vscode-cpptools/issues/11336 .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in import_edge_strings.js and inspect how it reads message.json and the English strings in error_msg.txt. Add an automated count comparison so mismatches are reported before the generated data can cause the EDG crash described in issue 11336; done means an incorrect count is detected clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.