luwes / luwes/SublimeJsModules
Doesn't ANSI escape codes color highlighting
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description

ANSI colors returned from the node command `cjs-to-es6` are not transformed to their colors.
I tried to make it work with https://github.com/aziz/SublimeANSI but it still didn't output the colors in the console.
```py
window.run_command('exec', {
'shell_cmd': shell_cmd,
"syntax": "Packages/ANSIescape/ANSI.tmLanguage"
})
```
Related
https://github.com/aziz/SublimeANSI/issues/52
https://github.com/aziz/SublimeANSI/issues/28
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
Start at the Python window.run_command('exec') call shown in the issue and trace how cjs-to-es6 output is displayed. Compare the ANSIescape syntax configuration with the related SublimeANSI issues to determine why ANSI color codes are not rendered. Done means the command output visibly preserves its ANSI colors in the console.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100