Atom editor runs slowly on all new projects

Has anyone had problems with the recent Atom slowdown? The mine has become unusually slow, but only for the projects that I have created over the past few days. I can edit old projects without problems, however there is a 5-10 second lag when entering and navigating files in all new projects. The activity monitor shows that Atom Helper often uses 100% CPU.

Steps so far:

  • Uninstall and reinstall Atom
  • Checking that opening projects in different languages ​​(Ruby vs Javascript) matters (it’s not)

Other notes:

  • I have the latest version of Atom (1.18.0) installed. I have been using Atom for a month without any problems.
  • I did not change the settings, nor the packages, nor the plugins.
  • The first projects affected were Javascript and Jasmine for testing (all previous projects were in Ruby using Rspec)
+5
source share
2 answers

Your problem is probably related to a specific package / s, which takes a lot of your processing. I recently had a problem when an atom froze / lagged every 20-30. I would type the text and it just freezes, and then after about 5-10 seconds, each letter that I clicked will appear. I ended up basically trying a few different things and ended up eliminating my problem.

I started by trying to run:

atom --safe 

This command starts an atom without community packages. It is used to troubleshoot if your problem is a community package or an atom package. When working in safe mode, find out if your problem persists. If so, this is not a community package.

After I excluded community packages, I basically went through Atom packages, trying to narrow down the source of my problem. I would disable 10-20 packages at a time, and then try to reproduce my problem. Having done this 3-4 times, my question has stopped. In the end, I found a package with errors and was able to disable it. My question immediately ended.

Atom Debugging Guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/

Note: Make sure the atom is updated with the latest secure build. You can also try to completely remove the atom from your computer, and then reinstall it.

Note: You must also consider that this may be your machine. I recently upgraded from my MacBook Pro to the Samsung Evo 850 SDD. I tried to develop a responsive application, and the simulator was very slow when I could not do anything. Upgrading the hard drive resolves this issue. (Also, the atom has been much faster since the update.)

+1
source

I had similar lag problems because I accidentally initialized the GitHub repository on my desktop (Mac OS 10.13).

Whenever I opened a project with many files, the lag increased. Constantly changing the file names from gray to green was a hint; I was working on a personal project that should not have been associated with Github, so this should not have happened.

In the end, I came across the following link that helped solve the problem.

How to remove the git repository created on the desktop

Remove the .git file from your desktop

  1. In the main panel, go to Go β†’ Home

  2. View hidden files using SHIFT + COMMAND + PERIOD (.)

  3. Find and delete the ".git" file

Warning word

Do not do this if your desktop is your active Github repository.

For me, I accidentally made my desktop a repository when I started using Github. It is easy to make a mistake when initializing a git repo from the wrong folder, so this could happen to you too.

0
source

Source: https://habr.com/ru/post/1270486/


All Articles