Add a hint on multi-file setup to use token modes

Open
#159 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
devtools

Research direction

Start by locating the multi-grammar-file setup and token mode handling in the repository; the issue does not name specific files or tests. Determine how the toolkit detects separate token declarations across grammar files, then add an informational diagnostic recommending token modes when they are not used. Done when that setup produces the hint and other setups do not.

Written by the indexing model from the issue text.

Description

When the adopter creates a multi-grammar-file language, where each file has its own token declarations, but does not use the token mode feature:
Add a info diagnostic that recommends the usage of token modes.

Dominant language
Go
Stars
33
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from TypeFox/fastbelt

All issues in TypeFox/fastbelt

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.