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.

Python string color inconsistency

See original GitHub issue

Extension Ver: 2.10.8 VSCode Ver: 1.15

In Python, when enclosed by parentheses, certain strings like %e, %f, %d and others are colored differently from the rest of the string. This is annoying for things like datetime format strings.

capture

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
noelleleighcommented, Aug 15, 2017

Snippet:

'abc%dbfd'
('abc%dbfd')
0reactions
jens1ocommented, Sep 3, 2017

Ah, good ping. It works again since a week, and I forgot about it. Will look into this now. 😃 Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - The histograms' color and its labels are inconsistent
But for some histogram, its label and its color are inconsistent. For example, the fourth one's label is (4,white), while its color is...
Read more >
How to Print Colored Text in Python - Javatpoint
In this tutorial, we will learn how to print colored text in Python. The command line applications get the same color as the...
Read more >
PEP 663 – Standardizing Enum str(), repr(), and format ...
Towards that goal, the str() output of each should be its inherent value; e.g. if Color is an IntEnum : >>> Color.RED <Color....
Read more >
ArcMap 10.1 Python split inconsistent string
ArcGIS 10 Python split string. The problem is that the nothing is consistent about the information in the fields except for the delimiter....
Read more >
Python - Color Inversion using Pillow - GeeksforGeeks
Color Inversion (Image Negative) is the method of inverting pixel values ... Therefore, image inversion would lead to inconsistent results.
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