Sublime Forum

When writing pauses for 2 seconds

#1

When I’m writing, it pauses for 2 seconds and then continues.
I already reinstalled everything again, only with some packages, not all and the problem continues.

I use sublime text 3 dev, 3208, licensed.
Use fedora 30 x86_64.

The list of packages is as follows:

  • A File Icon
  • Agila Theme
  • Alignment
  • All Autocomplete
  • BracketHighlighter
  • CSS Format
  • DocBlockr
  • Formatter
  • HTMLBeautify
  • HTMLEntity Snippets
  • HTML Extended
  • HTML Page Snippets
  • Indent and braces
  • JsFormat
  • MonokaiC
  • MultiEditUtils
  • Package Control
  • PHPIntel
  • Theme - Hero
  • Theme - Seti Monokai

Everything was working correctly 2 weeks ago.

Using now, I noticed that the problem arises after making a save, followed by pressing ctrl+s, there is a delay.

0 Likes

#2

If I were you, I would try no package then. And post the full package lists.

Just to test whether there is something wrong with packages or not.

0 Likes

#4

The list of packages is as follows:

  • A File Icon
  • Agila Theme
  • Alignment
  • All Autocomplete
  • BracketHighlighter
  • CSS Format
  • DocBlockr
  • Formatter
  • HTMLBeautify
  • HTMLEntity Snippets
  • HTML Extended
  • HTML Page Snippets
  • Indent and braces
  • JsFormat
  • MonokaiC
  • MultiEditUtils
  • Package Control
  • PHPIntel
  • Theme - Hero
  • Theme - Seti Monokai

Everything was working correctly 2 weeks ago.

0 Likes

#5

This plugin list seems to be fine. But I may still try a clean environment to make sure this is ST’s problem rather than caused by other applications on your machine.

Assuming ST is installed via the official repo. ST’s config files are in ~/.config/sublime-text-3 (on my Lubuntu. Federa may be the same place?). So, steps are below.

  1. Close ST.
  2. Rename ~/.config/sublime-text-3 to ~/.config/sublime-text-3-backup.
  3. Open ST. Now ST should be default and clean. Try whether the 2-second pause persists or not.
  4. After trying, close ST and rename the config directory back.
0 Likes

#6

Okay, I’ll try that right now.

0 Likes

#7

It works without the packages, but I need those packages.

0 Likes

#8

In that case, I may keep a copy of ~/.config/sublime-text-3-backup and then install those packages back one-by-one to find out the culprit. No worry to make your ST messy, you can always easily rollback to your current setup once you have ~/.config/sublime-text-3-backup.

0 Likes

#9

oooh, it was my last option, because I already reinstalled, the stable version, the dev version, and the problem persists.

Thank you, I will be notifying you as soon as it happens.

0 Likes

#10

The problema its the package * A File Icon.

0 Likes

#11


It did has some new releases about 20 days ago. Maybe the author @deathaxe has some clue?

https://github.com/braver/FileIcons can be a similar alternative.

1 Like

#12

I was already using version 3.4.1, and it coincides with the update dates, it started to crash about two weeks ago.

0 Likes

#13

What means “started to crash”? Do you see any error messages in ST’s console?

You could set `“dev_mode”: true" in the _A File Icon.sublime-settings to enable some debugging logs. Maybe they help finding the issue.

You could also try to run the A File Icon: Revert to a Freshly Installed State command from the Command Pallette, which deletes all caches and temporary files and recreates everything.

Normally, once the icons and alias syntaxes are created in the Packages/zzz A File Icon zzz package, the plugin goes idle. There is only an EventListener to track the A File Icon.sublime-settings for changes.

0 Likes

#15

I reinstalled everything again, and the problem persisted, there is no error message, I also tried to trace the error, but it didn’t work.

0 Likes

#16

With “dev_mode”: true" set viaPreferences: A File Icon Settings` the console would show something as follows, when doing a revert.

ignored packages updated to: ["Vintage", "zzz A File Icon zzz"]
generating syntax summary
A File Icon: Cleaning up
A File Icon: Cleaned up successfully
A File Icon: Initializing settings
A File Icon: Initializing icons
A File Icon: Getting installed themes
         >>> {'Theme - DAneo': ['DAneo Classic.sublime-theme', 'DAneo Elegant.sublime-theme', 'DAneo Minimal.sublime-theme', 'DAneo Origin.sublime-theme', 'DAneo Sodish.sublime-theme', 'DAneo Sublime.sublime-theme'], 'Theme - Default': ['Adaptive.sublime-theme', 'Default.sublime-theme']}
A File Icon: Getting the list of theme packages with customization support
         >>> {'Theme - DAneo'}
A File Icon: Preparing general patch
         >>> [{'layer0.opacity': 0.75, 'content_margin': [8, 8], 'class': 'icon_file_type'}, {'layer0.opacity': 0.5, 'class': 'icon_file_type', 'parents': [{'class': 'tree_row', 'attributes': ['hover']}]}, {'layer0.opacity': 1.0, 'class': 'icon_file_type', 'parents': [{'class': 'tree_row', 'attributes': ['selected']}]}]
A File Icon: Preparing specific patch
         >>> []
A File Icon: Patching themes
A File Icon: Checking icons for Theme - DAneo...
A File Icon: Patched `DAneo Classic.sublime-theme`
A File Icon: Patched `DAneo Elegant.sublime-theme`
A File Icon: Patched `DAneo Minimal.sublime-theme`
A File Icon: Patched `DAneo Origin.sublime-theme`
A File Icon: Patched `DAneo Sodish.sublime-theme`
A File Icon: Patched `DAneo Sublime.sublime-theme`
A File Icon: Patched `Adaptive.sublime-theme`
A File Icon: Patched `Default.sublime-theme`
A File Icon: Removing obsolete theme patches
A File Icon: Enabling aliases
ignored packages updated to: ["Vintage"]
generating syntax summary

After that, it goes idle.

The only other reason for poor performance - in case it was caused by A File Icon - I can guess from the available information might be the alias syntaxes, which are used to provide more icons. You could try to disable them via "aliases": false.

If ST doesn’t get stuck anywhere while patching the themes, I doubt A File Icon can have any impact on performance.

0 Likes