Skip to content

Instantly share code, notes, and snippets.

@wwvuillemot
Last active August 29, 2015 14:08
Show Gist options
  • Save wwvuillemot/8f357dd7dc589febd46d to your computer and use it in GitHub Desktop.
Save wwvuillemot/8f357dd7dc589febd46d to your computer and use it in GitHub Desktop.
Make .Meta files for Unity Projects Less Pronounced

Summary

Atom.io is a great text editor for Unity projects. However, having .meta files everywhere is bit annoying. This snippet will allow you either reduce the visual noise of these files to help disambiguate them from your assets and source files, or else entirely hide them in the editor's tree-view.

How To Use

  1. Open Atom Editor
  2. From Atom menu, select Open Your Stylesheet
  3. Add the Less snippet into .tree-view{}
  4. Save
// this will make .meta files less pronounced in the Atom editor
// current styling works with the default background color in the tree-view
.tree-view {
.file.entry.list-item{
span[data-name$='.meta']{
&:before{
content: "";
}
color: #555;
font-size: 9px;
line-height: 9px;
// uncomment the below if you do not want to see .meta files at all
// display: none;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment