luwes / luwes/SublimeJsModules

Doesn't ANSI escape codes color highlighting

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

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

screen shot 2018-11-04 at 9 15 33 am

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.