proton

https://github.com/dvcrn/proton
katy 2016-02-04T15:32:56.000449Z

will Proton touch my custom Atom stylesheet, or is there a way to customise that within .proton?

katy 2016-02-04T15:33:00.000450Z

(I'm new to Atom and Proton btw)

2016-02-04T15:33:59.000451Z

Proton does not touch your stylesheet

2016-02-04T15:34:32.000452Z

SPC f e s will get you to your stylesheet

katy 2016-02-04T15:34:58.000453Z

awesome, thank you

2016-02-04T15:36:32.000455Z

No problem. Keep in mind that it does overwrite your config.cson unless you set ["proton.core.wipeUserConfigs" false] in your .proton file

2016-02-04T15:36:47.000456Z

Shouldn't be a problem for you since you're new to Atom

katy 2016-02-04T15:37:07.000457Z

Yeah, I'm not touching any Atom config files, aiming to have a fully portable Proton config all in the .proton file

katy 2016-02-04T15:37:50.000458Z

but it's no problem to add the styles.css to my dotfile repo too :simple_smile:

2016-02-04T15:38:11.000459Z

Yep, that's what I do 😄

2016-02-04T15:38:20.000462Z

If you want to check it out

katy 2016-02-04T15:39:44.000463Z

oh nice

katy 2016-02-04T15:39:54.000464Z

lots of options I didn't know about in here

2016-02-04T15:39:55.000465Z

Btw, my styles(win).less file is just one I use on Windows because fonts suck on Windows.

katy 2016-02-04T15:42:31.000466Z

my dotfiles repo is a bit of a mess atm as i'm trying out different editors but here's my current config https://github.com/kmoe/dotfiles/blob/master/.proton

katy 2016-02-04T15:42:54.000468Z

I use it to keep track of themes I've tried - still haven't found one I like

katy 2016-02-04T15:43:02.000469Z

going to have to write some CSS 😢

2016-02-04T15:44:54.000470Z

Another tip for finding a packages settings names. You can open up dev tools and type atom.packages.config.defaultSettings to get a list of the default settings for all installed packages

2016-02-04T15:45:23.000471Z

I should probably write document that somewhere in the proton repo. 😛

katy 2016-02-04T15:45:31.000472Z

awesome

katy 2016-02-04T15:46:02.000473Z

my workflow is currently: set options in Atom GUI to my liking, look at generated config file, copy settings over to .proton

2016-02-04T15:46:48.000474Z

Ah, that's probably better :simple_smile:

2016-02-04T15:47:29.000475Z

As for themes, I've found it's beneficial to get accustomed to solarized-dark because it's available damn-near everywhere

2016-02-04T15:47:45.000476Z

I've yet to find an editor that doesn't support it

katy 2016-02-04T15:47:47.000477Z

good point, I was spoilt for choice a bit with Sublime and went very custom

katy 2016-02-04T15:47:51.000478Z

I need high contrast though

katy 2016-02-04T15:47:58.000479Z

and most Atom themes are really low contrast

katy 2016-02-04T15:48:04.000480Z

I can't read comments in the default theme!

2016-02-04T15:48:32.000481Z

Yeah, comments aren't quite as readable in solarized either

katy 2016-02-04T16:13:36.000482Z

So now I'm trying to get rid of the file icons in the tab bar. I understand file-icons is part of the core layer - is there a way of disabling it in my config?

2016-02-04T16:23:00.000483Z

You don't like file icons??

2016-02-04T16:23:02.000484Z

Let me look

2016-02-04T16:24:25.000485Z

So in atom there are ways to disable packages that are installed

2016-02-04T16:24:55.000486Z

Atom Settings -> Packages -> File Icons Then press the "Disable" button

2016-02-04T16:25:12.000487Z

Now to find if there's an option to do that in the .proton

katy 2016-02-04T16:26:45.000488Z

file icons take up valuable horizontal space - I tend to have lots of tabs open at once...

katy 2016-02-04T16:26:49.000489Z

thank you btw :simple_smile:

2016-02-04T16:27:09.000490Z

["core.disabledPackages" ["file-icons"]]

katy 2016-02-04T16:27:13.000491Z

yes!!!!!

katy 2016-02-04T16:27:14.000492Z

awesome

🎉 1
katy 2016-02-04T16:28:03.000493Z

how did you find that option, btw? is it documented somewhere?

2016-02-04T16:28:18.000494Z

Oh, but you can just disable the file-icons on the tab

katy 2016-02-04T16:28:22.000495Z

I tried that

2016-02-04T16:29:10.000496Z

so to just disable them on the tab, I would assume it would be ["file-icons.tabPaneIcon" false]

katy 2016-02-04T16:29:33.000497Z

yeah, that didn't work for some reason

katy 2016-02-04T16:29:49.000498Z

but it's pretty much perfect with the package disabled

katy 2016-02-04T16:30:02.000499Z

I'm glad that option exists as proton would have been a bit inflexible without it

2016-02-04T16:30:13.000500Z

I opened dev-tools and typed atom.packages.config.defaultSettings, browsed the core structure and saw that there was a disabledPackages array

👍 1
2016-02-04T16:31:42.000501Z

That's one of the few settings that isn't available on the Core Settings page of Atom, presumably because you disable them from the Packages page

katy 2016-02-04T16:42:20.000502Z

hmm, ["core.disabledPackages" ["file-icons"]] seems to have broken my config

katy 2016-02-04T16:42:26.000503Z

lines after that are getting ignored

katy 2016-02-04T16:43:51.000504Z

oh no, it's just relative line numbers

2016-02-04T17:03:52.000505Z

You mean that the relative line numbers are being messed up? Mine still works with that line in my .proton

katy 2016-02-04T17:05:21.000506Z

it seems I was wrong - other stuff does work. but I tried turning relative line numbers off and it seems to have no effect

katy 2016-02-04T17:05:24.000507Z

I'm still investigating though

katy 2016-02-04T17:05:29.000508Z

sorry for rubber-ducking 😛

2016-02-04T17:06:11.000510Z

No problem, I'm happy to help

2016-02-04T17:06:24.000511Z

Who created your github icon, btw?

katy 2016-02-04T17:12:33.000512Z

it's from my previous job at Kahoot! (http://getkahoot.com) - they have an artist who does avatars of all the employees

katy 2016-02-04T17:12:40.000513Z

they very kindly let me keep it after I left

katy 2016-02-04T17:12:47.000514Z

unfortunately I don't have the artist's name

katy 2016-02-04T17:57:17.000515Z

okay so I've found that if you reload Atom using SPC _ R the core.disabledPackages setting sometimes doesn't get applied

katy 2016-02-04T17:57:40.000516Z

possibly happens for other settings too - trying to reproduce consistently

2016-02-04T19:08:08.000517Z

That's such a cool idea!

2016-02-04T19:08:49.000518Z

I've also noticed that after three or four reloads that way, I'm no longer able to go into sub-menus. I have to restart Atom entirely.

lucien.knechtli 2016-02-04T19:11:24.000519Z

I've noticed the same thing when using the autoreload on save for proton

2016-02-04T19:13:01.000520Z

I've looked into this briefly, but not enough to figure anything out