You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
I was just thinking, in my workflow I work both at day and night, and depending on the time I prefer my editor to be either black or white, there are usually two sets of themes, but it looks like there isn't any easy and fast method of switching between this modes, so I am just wondering if it would be possible to create profiles for different modes of work and have shortcuts for them, they could also toggle installed packages aswell as selecting a particular theme for syntax and UI.
Reacted by Pablo, Marek Pazik, Vladimir Petrov, Tomislav Simeunovic, 2Cubed, Nahue, Jonas, Jared Reich, Joseph Ribbe, Andrew M. and 25 more
Reacted by Jakub Topic, Rick, Nicolas Godefroy, Ericius, Andre Figueiredo, RB, Lucas Caton, Pavel Gerega, giorgi shengelaia and Rob2me
+1. This might improve editor startup time. My machine is old. So, I have keep some of my plugins disabled. Having profiles to work for different languages would be awesome.
The "loading plugins on demand" part is something that I have been looking into in the past few days.
The idea is that when I'm working on a Ruby project, I don't need the ternjs package and so on.. There could be a file in the project root (maybe .atom-project?) which will specify which plugins get blacklisted/whitelisted for the current project.
The best way to stop loading unnecessary plugins is to edit the core files. Creating a plugin for the task won't be of much help. Although I will check if there's a particular order in which the plugins are loaded and see if I can mess with the package list from there.
The custom init.coffee file is executed after all the plugins have been loaded so it's of no use to us here. Maybe introduce something like pre-init.coffee?
It would be awesome if we can get this to work, because there are still people with old computers with HDDs that can't afford to load unnecessary plugins.
I will continue to look into ways to implement this. I will create a theme in the forums to see what the community thinks about it.
Reacted by Santos Gallegos, tzapu, Roman Kolesnev, Alexander Lang, Willi Eggeling and Angel Alonso
My thought was actually that if you had project-specific configuration (which is something I've been pushing for), then all it would take is adding the "unnecessary packages" to the core.disabledPackages list in the config. When Atom launched, it wouldn't load or activate anything that was listed there.
I was more thinking maybe have it go with a toggle for which way it
works, white list or black list.
That way if you have a python project (like me) you only have it run
python related ones instead of disabling dozen of plugins.
On 05/04/2015 05:53 PM, Lee Dohm wrote:
My thought was actually that if you had project-specific configuration
(which is something I've been pushing for), then all it would take is
adding the "unnecessary packages" to the |core.disabledPackages| list
in the config. When Atom launched, it wouldn't load or activate
anything that was listed there.
—
Reply to this email directly or view it on GitHub #6619 (comment).
@mehcode It's a step in the right direction, but I think the requested feature goes beyond just which packages to load and includes configuration settings as well. In my case, if I'm working on Python code, I will want the Tree View visible and I will turn off the remove trailing whitespace plugin, but if I'm writing a paper in Markdown I want the sidebar off and whitespace on.
+1 . I too would find profiles very useful. In particular, writing code and writing text are such different activities that I want a completely different visual environment.
+1 Need it! Work uses 2 space tabs and I like to use 4 spaced hard tabs for personal work. Currently I have to keep switching back and forth. Could there be some sort of .atomrc file that atom will load depending on the project? This would be great because it can be committed versioning and all developers of a project could easily use the standard settings defined in the .atomrc file.
Some plugins don't play well together. For example RUST tokamak changes quite a bit of the UI. Its apparently a good rust editor, but there is no reason to load it if editing Typescript
@brandoncurtis Do I have reinstall plugins for each profile? It would be nicer to fire up atom, create some profiles, and then choose which installed plugin is on for each profile
I teach a programming class two days a week, where I sometimes project my screen onto the wall. When I do that, I need light UI and Syntax themes (usually I prefer dark). I also need to disable linting and autocomplete, and crank up the font size.
It would be nice to not have to toggle all of these settings every other day.
Reacted by Subramanya Chakravarthi, Ricardo Pérez, Tyler Getsay and Jakub Topic
Thanks for the feedback on this everyone. While we agree that this is something that would be beneficial to a number of workflows, it isn't something that the Atom maintainer team is going to be working on in the near future. With that said, it is something that we would be open to a well-written pull request for. Because of this, I'm going to label this help-wanted and close it.
I was able to get profiles working. I copied everything in ~/.atom to ~/.atom/default and created empty folder for every of my profiles. I then created the following file ~/.atom/atom and aliased it using alias atom=~/.atom/atom
This seems like a hugely overlooked feature to me, especially with Atom's focus on customization and packages. Every IDE has some concept of profiles/workspaces, some text editors do, and everything from iTerm to Chrome to Netflix have this feature. Especially with the dawn of things like nuclide and atom-ide, which require a bunch of troubleshooting and/or disabling of packages and changing settings back and forth. Especially since some packages I DO use with nuclide, so I cant just disable them all without checking a note.
I've seen in other github or atom.io discussions that people may claim that since Atom is trying to add in more loading of stuff only when needed, but that doesn't apply to something like for instance Nuclide. If I have my conflicting package and nuclide enabled, I'm just in broken nuclide. These packages that are total overhauls show the need for this type of feature.
Usually when I see "customizable" I don't take that to mean write a bash/applescript bandage and hack it in by aliasing atom (does that even work when you open it by its icon?)
Reacted by Alexey Alekhin, tzapu, Mike Stop Continues, Nikita Toropov, Anders Øen Fylling, Richard Mands, Tony Habash, Jenna Price, Nick Malezh and Callum Hart
I see this is closed, but I am not sure what the solution was. I want to be able to load different plug ins that would conflict with each other. Like emmet and bootstrap. Sometimes I want one versus the other
Activity
thomasjo commentedon May 3, 2015
This would make for a great package.
zet4 commentedon May 3, 2015
I think I might try making it myself then, I've never done a package before.
I am mostly Python dev :)
vramana commentedon May 3, 2015
+1. This might improve editor startup time. My machine is old. So, I have keep some of my plugins disabled. Having profiles to work for different languages would be awesome.
pockata commentedon May 3, 2015
The "loading plugins on demand" part is something that I have been looking into in the past few days.
The idea is that when I'm working on a Ruby project, I don't need the
ternjspackage and so on.. There could be a file in the project root (maybe.atom-project?) which will specify which plugins get blacklisted/whitelisted for the current project.The best way to stop loading unnecessary plugins is to edit the core files. Creating a plugin for the task won't be of much help. Although I will check if there's a particular order in which the plugins are loaded and see if I can mess with the package list from there.
The custom init.coffee file is executed after all the plugins have been loaded so it's of no use to us here. Maybe introduce something like pre-init.coffee?
It would be awesome if we can get this to work, because there are still people with old computers with HDDs that can't afford to load unnecessary plugins.
I will continue to look into ways to implement this. I will create a theme in the forums to see what the community thinks about it.
lee-dohm commentedon May 4, 2015
My thought was actually that if you had project-specific configuration (which is something I've been pushing for), then all it would take is adding the "unnecessary packages" to the
core.disabledPackageslist in the config. When Atom launched, it wouldn't load or activate anything that was listed there.zet4 commentedon May 4, 2015
I was more thinking maybe have it go with a toggle for which way it
works, white list or black list.
That way if you have a python project (like me) you only have it run
python related ones instead of disabling dozen of plugins.
On 05/04/2015 05:53 PM, Lee Dohm wrote:
mehcode commentedon May 4, 2015
^ Check out #6629 -- wouldn't that solve this in a much more configuration-less fashion
rkingsbury commentedon Aug 21, 2015
@mehcode It's a step in the right direction, but I think the requested feature goes beyond just which packages to load and includes configuration settings as well. In my case, if I'm working on Python code, I will want the Tree View visible and I will turn off the remove trailing whitespace plugin, but if I'm writing a paper in Markdown I want the sidebar off and whitespace on.
happydemic commentedon Oct 17, 2015
+1 . I too would find profiles very useful. In particular, writing code and writing text are such different activities that I want a completely different visual environment.
sunnypatel commentedon Dec 16, 2015
+1 Need it! Work uses 2 space tabs and I like to use 4 spaced hard tabs for personal work. Currently I have to keep switching back and forth. Could there be some sort of .atomrc file that atom will load depending on the project? This would be great because it can be committed versioning and all developers of a project could easily use the standard settings defined in the .atomrc file.
RomFouq commentedon Dec 16, 2015
@sunnypatel
This already exists and it's cross-editor:
https://atom.io/packages/editorconfig
sunnypatel commentedon Dec 16, 2015
@RomFouq Well that's for per file type. I want something similar but per project basis.
16 remaining items
DanielJoyce commentedon Feb 3, 2017
Kinda kludgy.
Some plugins don't play well together. For example RUST tokamak changes quite a bit of the UI. Its apparently a good rust editor, but there is no reason to load it if editing Typescript
@brandoncurtis Do I have reinstall plugins for each profile? It would be nicer to fire up atom, create some profiles, and then choose which installed plugin is on for each profile
brandoncurtis commentedon Feb 3, 2017
@DanielJoyce, Atom Package Manager can simplify this:
export ATOM_HOME=~/.atomapm list --installed --bare > mypackagesexport ATOM_HOME=/path/to/new/atom/profileapm install --packages-file mypackagesAtom.io supports creating a profile that you can use to mark your always-used packages:
apm star <pkg-name>export ATOM_HOME=/path/to/new/atom/profileapm starred --installDanielJoyce commentedon Feb 3, 2017
LaurentGoderre commentedon Feb 6, 2017
I suppose it is a way to do it but setting env var is not as clean as specify an execution flag.
bgschiller commentedon Feb 7, 2017
Commenting with another use case:
I teach a programming class two days a week, where I sometimes project my screen onto the wall. When I do that, I need light UI and Syntax themes (usually I prefer dark). I also need to disable linting and autocomplete, and crank up the font size.
It would be nice to not have to toggle all of these settings every other day.
lee-dohm commentedon Feb 24, 2017
Thanks for the feedback on this everyone. While we agree that this is something that would be beneficial to a number of workflows, it isn't something that the Atom maintainer team is going to be working on in the near future. With that said, it is something that we would be open to a well-written pull request for. Because of this, I'm going to label this
help-wantedand close it.LaurentGoderre commentedon Mar 2, 2017
I was able to get profiles working. I copied everything in
~/.atomto~/.atom/defaultand created empty folder for every of my profiles. I then created the following file~/.atom/atomand aliased it usingalias atom=~/.atom/atomvdun commentedon Jun 29, 2017
Closest thing : https://github.com/deprint/package-switch
LaurentGoderre commentedon Jun 30, 2017
@vdun pretty cool! However profiles can be more than just extensions. It can be settings as well
cucumbur commentedon Sep 14, 2017
This seems like a hugely overlooked feature to me, especially with Atom's focus on customization and packages. Every IDE has some concept of profiles/workspaces, some text editors do, and everything from iTerm to Chrome to Netflix have this feature. Especially with the dawn of things like nuclide and atom-ide, which require a bunch of troubleshooting and/or disabling of packages and changing settings back and forth. Especially since some packages I DO use with nuclide, so I cant just disable them all without checking a note.
I've seen in other github or atom.io discussions that people may claim that since Atom is trying to add in more loading of stuff only when needed, but that doesn't apply to something like for instance Nuclide. If I have my conflicting package and nuclide enabled, I'm just in broken nuclide. These packages that are total overhauls show the need for this type of feature.
Usually when I see "customizable" I don't take that to mean write a bash/applescript bandage and hack it in by aliasing atom (does that even work when you open it by its icon?)
jennaprice commentedon Nov 15, 2017
I see this is closed, but I am not sure what the solution was. I want to be able to load different plug ins that would conflict with each other. Like emmet and bootstrap. Sometimes I want one versus the other
lee-dohm commentedon Nov 15, 2017
@jennaprice See the comment just before the close event.
wlwatkins commentedon Jul 6, 2019
Have there been any advancement on this feature?