¯\(ツ)/¯
I had previously installed and then removed proton, then re-installed again. Not sure if that could be related. Other than that I can’t think of anything out of the ordinary I was trying.
any ruby people here? Would love some feedback on this https://github.com/dvcrn/proton/pull/139
You doing linters in lang layers?
added rubocop, thanks!
@jessejanderson: no, lang layers hook into :tools/linter
and specify packages to be installed when the linter layer is enabled
if you disable :tools/linter
, it will wipe all linter packages in all langs
Ahh, sweet.
rubocop seems really good
great way to get started with ruby
Yah, it’s pretty solid.
https://atom.io/packages/highlight-selected whoa. How come we don't have that in proton yet
need to add that right away
regarding ruby layer I was hoping on https://github.com/ypresto/robe-atom but looks like author doesn't support it any more(
robe mode for emacs is awesome
what about
https://atom.io/packages/ruby-bundler
and bind to SPC m b i
also
https://atom.io/packages/rubocop-auto-correct
and bind to SPC m L f
mnemonic to Linter fix
@dvcrn: I have that installed, but I haven't really found a good use for it. Other than looking kinda cool, what do you see as the benefit of this package/
@dvcrn and @geksilla: I have some concerns about packages being added to the core layer. Each package adds load time to Atom (maybe small, but still there) and there have already been incidents of people wanting to disable packages.
Do you think the goal of the core package should be to stay slim, at least until a way to disable packages is available? In the example of the highlight-selected
plugin, I don't feel it really adds much to the development experience, and it'd be very easy to just add it to the additional plugins.
Yeah load time may be an issue, but I remember one comment from issue related to some package "Do you often reload your editor?" :simple_smile:
we can provide config option to disable any package, even from core
layer
actually proton itself take about 500ms to load first time
keep in mind that it has to reopen every time you switch to a different project
yeah (
just wondering, can you post your atom's startup time? my total 17666ms
Window load time17666ms Shell load time1548ms Workspace load time431ms Project load time234ms Window state load time32ms
where can I find that info?
from Command Palette type timecop
Window load time18383ms Shell load time1373ms Workspace load time915ms Project load time997ms Window state load time74ms
Startup Time Window load time5729ms Shell load time814ms Workspace load time0ms Project load time0ms Window state load time1ms
I think @austincrft on mac? :simple_smile:
Windows, actually!
(
without the project (which is a pretty massive one) I get Window load time1918ms Workspace load time0ms Project load time0ms Window state load time0ms
nice
Yeah, that was me loading our webpages folder
that project I've got like 7 buffers open, an expanded file tree, and probably several thousand lines of code to render between all those buffers
so guess that makes sense lol
Yeah, that's quite a bit. What's weird to me is that I opened the base project directory (that contains folder I just opened for the timecop), and it took less time
Maybe they get cached or something?
I know that the filenames get indexed for the fuzzy-finder
weird. my project buffer state seems to not be updating when I restart atom. keeps reverting to an earlier set
That seems strange
Do you guys know if there's a way to set project-specific settings?
Yeah, is that supported natively?
that's just in project.cson
Oh, cool
and yes it works. its actually in one of the examples
or well
Well, I guess that would've been the intelligent place for me to look 😛
wait not sure it actually works with proton - I have the editor default set to 4 also. lemme see
ack nope. its overwritten by proton settings looks like
yea overwritten
probably workaround is to open project.cson and hit save
I was talking to someone on reddit about project support in Atom and they said this
It doesn't reset original settings when you swap project. So if you have custom settings per project (and I do), those "leak" to other projects when you swap. In addition, it opens a new window whenever you change project, which is really bad since i want to alt tab easily.
I don't use it enough to know how true this is.we need to handle this on proton side using project-manager
provided service
I concur with everything that person said