rescript-lang / rescript-lang/rescript-vscode

How to disable type checking for a file and leave only syntax highlighting?

Open
#1,068 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
ReScript
Stars
354
Forks
63
Avg merge
11h 29m
Merged PRs (30d)
1

Description

Before I start developing the package, I want to create a test file and sketch out a basic script for interacting with the package. Using functions, modules and types that don't exist, because I make them up as I go along. And I can't figure out how to do it without getting tons of type errors but leaving syntax highlighting.

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

The issue names no file, test, or entry point. Start by locating how the VSCode extension controls ReScript type checking and syntax highlighting, then determine the supported way to disable diagnostics while preserving highlighting. Done means a documented or implemented workflow that lets a scratch file use undefined functions, modules, and types without type errors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.