Indentation/highlighting issues in student languages when first line is hash comment
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 516
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
When trying to use one of the student languages via the selector at the bottom, if a #; comment appears before any other uncommented code, the ide interprets it incorrectly and formats the entire section as a comment. It seems to only be a highlighting/indentation issue since running a file with this issue works normally as intended.,
What happens normally/expected when setting language via #lang:
What happens if a student language is set:
It appears to be that the ide is treating the text as if no language was set
Same test with no language set:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in DrRacket by selecting a student language and placing a #; comment before any uncommented code, then compare the highlighting and indentation with #lang and no-language cases. Trace the editor's language-selection and syntax-highlighting behavior; done means the first-line comment is highlighted and indented correctly without changing successful program execution.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100