sommerper / filetype-color

Adds colors to file names in the side bar and panes of Atom editor
MIT License
25 stars 14 forks source link

atom.workspaceView is no longer available #13

Open Twintails opened 9 years ago

Twintails commented 9 years ago

Via Deprecation Cop: Atom 0.176.0

atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
FiletypeColorView.toggle (/Users/bob/.atom/packages/filetype-color/lib/filetype-color-view.js:74:24)

and

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11)
FiletypeColorView.initialize (/Users/bob/.atom/packages/filetype-color/lib/filetype-color-view.js:41:20)
jwhitcraft commented 9 years ago

see #36

Twintails commented 9 years ago

:+1:

I gave up on this package due to inactivity and switched to https://github.com/DanBrooker/file-icons

i am able to use my atom styles.less and the class .icon-file-text provided in file-icons

Example: // Sass Colors @hopbush: #c69; @bouquet: #b37399; @venus: #998099; @patina: #699; @nebula: #d2e1dd; .icon-file-text { &[data-name$=".sass"] { color: @bouquet !important; } &[data-name$=".scss"] { color: @hopbush !important; } &[data-name$=".sass"]:before { color: @bouquet !important; } &[data-name$=".scss"]:before { color: @hopbush !important; } }

jwhitcraft commented 9 years ago

@Twintails, thanks for the heads up, I just switched as well and let my friends know as well.