question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Version 4] SublimeLinter.sublime-settings is NOT generated/created after upgrading or even clean installing SL4

See original GitHub issue

Using ST 3 dev build 3157, SublimeLinter 4, SublimeLinter-eslint 4.0, ESlint 4.18.1 in win10x64

I had SL 3.10.10. The settings I had were the following SublimeLinter (old).sublime-settings.

After upgrading to SL 4.0 no SublimeLinter.sublime-settings file is generated: 2018-03-02_145100 2018-03-02_144919 Even if I remove SL and SL-eslint and re-install them, the file is not automatically generated.

Shouldn’t the settings (at least some of them) be migrated from the previous settings, on upgrade? Or, after removing+reinstalling SL4, shouldn’t a minimal SublimeLinter.sublime-settings file be created?

Should I manually copy the settings from SublimeLinter (old).sublime-settings to a new SublimeLinter.sublime-settings file? (removing ‘user’ and un-indent one level)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bravercommented, Mar 2, 2018

From the upgrade info message:

Default settings are no longer copied to the user settings.

To migrate your settings, first remove the “user” level and un-indent/flatten everything a level. Check the default settings to remove settings that don’t exist anymore:

  • mark_style
  • error_color
  • gutter_theme_excludes
  • passive_warnings
  • show_errors_on_save
  • tooltip_fontsize, tooltip_theme, tooltip_theme_excludes, tooltips
  • warning_color
  • wrap_find
  • python_paths

You can keep the “linters” settings block if it contains customizations that you need. It’s also safe to remove it otherwise.

If you use the ${project} settings token you should change that to ${folder}.

There is no need to populate your user settings with anything. Your old settings doesn’t seem to contain any customisations, so you can probably keep it as is?

0reactions
darkredcommented, Mar 2, 2018

I misunderstood in the following phrase the ‘new settings’ part as ‘the migrated settings’, instead of ‘the new default settings’:

Your old settings will be backed up to SublimeLinter old.sublime-settings. You may want to compare them to the new settings and check if you want to migrate anything.


So, keeping it as it is, works fine. Thanks for replying, @braver, and to all involved for making this great new release!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Version 4] Sublime Linter not working after upgrade #1100
After the upgrade I haven't been able to get sublime linter to show up under tools menu or to lint files. Have done...
Read more >
Troubleshooting — SublimeLinter 4.0.0 documentation
Be sure to install the linter as documented in the linter plugin's README. The linter binary is installed, but its path is not...
Read more >
Troubleshooting — SublimeLinter 3.4.24 documentation
Upgrading to the latest version should fix the problem. A python-based linter binary is installed, but it does not work with python 2...
Read more >
Installation — SublimeLinter 3.4.24 documentation
Upgrading from previous versions¶ · Linters are not included, you must install them — and the linter binaries they depend on — separately....
Read more >
Usage — SublimeLinter 3.4.24 documentation
When a file is opened in Sublime Text 3, SublimeLinter checks the syntax assigned to the file (Python, JavaScript, etc.), and then uses...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found