question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syntax highlighting Color

See original GitHub issue

Sanity check

  • I certify that the redhat.ansible extension is in use and the language of the document in this bug report shows up as Ansible

Summary

Hello,

i’ve installed the plugin Ansible on vscode,

how do to have this syntaxe color: image

i have theses color: image

thanks

Ben

Extension version

v0.7.1

VS Code version

1.64.1

Ansible Version

AWX 17.1.1

OS / Environment

Windows Visual studio code

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ssbarneacommented, Mar 4, 2022

@Th3Heavy I can confirm your report. I have to confess that for me those colors were not important and I did not observe when the screenshots taken diverged from normal usable of the extension.

For me it was enough to have the keys colors, text. numbers and comments. Even jinja is recognized and highlighted but only as a single string, not as detailed as shown on the screenshots.

The language server is indeed working as auto-complete works as expected, so I am not sure what caused this but I will ping the others to have a look.

0reactions
ssbarneacommented, May 25, 2022

Closing due to lack of clear information about the bug. If you identify colors as not using your theme one, please add a post on the forum and be sure that the current language of the document is Ansible and not something else. It could be as well a bug on another extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is Syntax Highlighting? - MakeUseOf
Syntax highlighting—or syntax coloring—is a technique that text editors use to distinguish parts of source code using color.
Read more >
collection of syntax highlighting colorschemes - GitHub
“DuoTone themes use only 2 hues (7 shades in total ). It tones down less important parts (like punctuation and brackets) and highlights...
Read more >
Syntax Highlighting colorschemes - Atelierbram
Base color for Estuary is yellow-green, no real blue, red or purple in here, (red goes to the orange), only the yellow/greenish colors...
Read more >
Syntax highlighting - Wikipedia
Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as HTML. The feature displays...
Read more >
Syntax highlighting | ReSharper Documentation - JetBrains
Choose Tools | Options from the menu and then go to Environment | Font and Colors page. In Display items, scroll down the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found