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.

In Goland test files are not applying icon

See original GitHub issue

Describe the bug

When a open the project tab the _test.go icons is the default one. I tried to change the regex in the Association menu, but nothing seems to work.

To Reproduce

  1. Open the project tab in Goland
  2. Navigate to a *_test.go file

Expected Behavior

The test icon should be the same of the association menu.

Environment

OS: Linux 5.15.7-1-MANJARO x86_64 GNU/Linux Product: Goland 2021.3.2 Plugins Version:

  • Atom Material Icons 53.0.0
  • Material Theme UI 6.12.2

Screenshots

image

image

image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mallowigicommented, Dec 31, 2021

You have the same problem Python files have, e.g. one of the Go plugins override the icons provided by the plugin to supply their own. Here in this case it involves *_test.go files, which is why it has the gopher icon instead of the test or the -GO icon

Please follow https://github.com/mallowigi/a-file-icon-idea/issues/125 , I’ve started working on a refactor to overcome this issue, but at the moment I’m on project hiatus due to other projects dragging around.

0reactions
hrozancommented, Jan 3, 2022

Thanks! I will follow the other issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No test files : r/golang - Reddit
Does anyone knows why go test mentions the fact that there are no test files in a directory when there are no files...
Read more >
Run tests | GoLand Documentation - JetBrains
Click the gutter Run Test icon, select Run, and then select the fuzz testing configuration (for example, go test -fuzz FuzzTest).
Read more >
Visual Studio Code's "Run Test | Debug Test" option missing ...
Check your options to confirm that the Go test explorer is enabled: Preferences > Settings > User Settings > find "go test enable...
Read more >
How To Write Unit Tests in Go - DigitalOcean
The job of unit tests is to check the correctness of an application, and they are a crucial part of the Go programming...
Read more >
testing - Go Packages
Package testing provides support for automated testing of Go packages. It is intended to be used in concert with the "go test" command,...
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