microsoft / microsoft/language-server-protocol

Clarification on integers and enums

Open
#1,900 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification
Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

As the language server protocol is based on JSON, is 1.0 valid for an integer or enum value?

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files or tests. Review the LSP protocol's integer and enum definitions alongside JSON number handling, determine whether 1.0 is valid for each, and document the answer in the relevant protocol guidance.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.