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.

File colouring not working

See original GitHub issue

Prerequisites

  • Plugin is in the latest version
  • Issue was not reported yet
  • Stack trace (if provided) contains mobi.hsz.idea.gitignore package name

Description

Running the latest phpstorm eap and the latest version of the plugin the file colours no longer work (ignored files still show with default colours in file tree).

I feel it may actually be an issue with the identification of the ignored files rather than the colouring as the “Hide ignored files” also has no effect.

There is no exception being thrown. I have tried disabling the setting and invalidating cache + restart, then enabling and invalidating cache + restart to no avail so it does not appear to be a project issue (also occurs over all projects).

I will note however that after invalidating the cache and restarting, during indexing for the last ~5 seconds the colours do work, but only in the last part of the indexing and they stop working again after it has completed.

Versions

Plugin: Version: 2.1.1

IDE: PhpStorm 2017.2.1 EAP Build #PS-172.3968.23, built on August 26, 2017 JRE: 1.8.0_152-release-915-b11 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.8.0-59-generic

OS: Kubuntu 64bit 16.10

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:54 (10 by maintainers)

github_iconTop GitHub Comments

6reactions
xpert13commented, Sep 6, 2017

I have install version 2.2.0 and it’s seems to work fine but only till first restart of IDE. After restart of IDE it doesn’t coloring again. If I remove the plugin and install it again it will work fine till next restart.

Please fix it.

5reactions
julienfalquecommented, Nov 29, 2017

I don’t have the issue anymore with plugin version 2.3.2 on PhpStorm 2017.3, even with rules from my global ignore file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notepad++ stopped color-coding my source code... How to ...
I have since found that if I close Notepad++ without closing the file first this happens. Try closing the file first then close...
Read more >
8 common mistakes when working with color and how to fix ...
1. Working with an old or cheap monitor · 2. Not calibrating your monitor · 3. Messing with color profiles · 4. Designing...
Read more >
Sometimes code coloring is not working for a part of .java file
Most of files written in .java have own colors so that it's easy for me to review, however, sometimes there is a file...
Read more >
VS2022 Release: Blazor editor will occasionally fail to color a ...
If I restart VS the coloring comes to both files correctly. Rebuilding, closing file and opening doesn't fix the problem. Only restarting VS...
Read more >
Text editor color theme not working in large files
Large C# files (15k+ lines) does not have the text editor color theme correctly applied. See not working >> image2.png and working >>...
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