Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Resource-ify diagnostic messages, rename some codes, remove "(...)" - #324

Merged
Jake Bailey (jakebailey) merged 2 commits into
microsoft:masterfrom
jakebailey:diagnostic-message-naming
Oct 30, 2018
Merged

Jake Bailey (jakebailey) merged 2 commits into
microsoft:masterfrom
jakebailey:diagnostic-message-naming

Conversation

@jakebailey

Copy link
Copy Markdown
Member

Closes #299. (Specifically the naming part in the comments.)

Strings have been moved into Resources. (parser) and (analysis) have been removed from the diagnostic source strings. I also renamed one of the codes to be more representative of what it actually means (while we have the ability to change something like this without breaking users).

The tests I modified in LanguageServerTests are not well-written (hardcoded strings rather than a table of actual things to compare), but I just made them pass for now and could fix them later.

@jakebailey
Jake Bailey (jakebailey) merged commit d003732 into microsoft:master Oct 30, 2018
@jakebailey
Jake Bailey (jakebailey) deleted the diagnostic-message-naming branch February 14, 2019 20:12
Jake Bailey (jakebailey) added a commit to jakebailey/python-language-server that referenced this pull request Nov 1, 2019
…icrosoft#324)

Closes microsoft#299. (Specifically the naming part in the comments.)

Strings have been moved into Resources. `(parser)` and `(analysis)` have been removed from the diagnostic source strings. I also renamed one of the codes to be more representative of what it actually means (while we have the ability to change something like this without breaking users).

The tests I modified in LanguageServerTests are not well-written (hardcoded strings rather than a table of actual things to compare), but I just made them pass for now and could fix them later.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect variables which may be undefined in some code paths

2 participants