Error loading colour scheme in Sublime Text 3
Menu > Sublime Text > Preferences > Settings – User> remove the line with `”color_scheme”`. After saving the line was regenerated for me with a reference to a theme that actually exists.
Menu > Sublime Text > Preferences > Settings – User> remove the line with `”color_scheme”`. After saving the line was regenerated for me with a reference to a theme that actually exists.
The package RawLineEdit is pretty good for this. It toggles on-and-off a mode where you view and can edit line endings by selecting Raw Line Edit: Toggle from the Sublime ctrlshiftp command prompt. This is good if you want to be able to flick line endings visibility on and off on the occasions when you … Read more
To disable lints for specific errors, go to the Anaconda.sublime-settings file (Preferences > Packages Settings > Anaconda > Settings). There you will find several options depending on which linter you are using. For example, to disable linting for “line too long” for pep8, fill in the following: “pep8_ignore”: [ “E501” ], Also, the easiest way … Read more
You don’t need a plugin to do this, a simple regex search and replace will do. First, select the text where you’d like to delete the blank lines. Then, select Find → Replace… (or, hit CtrlH on Windows/Linux, ⌘⌥F on OS X). Make sure the “Regular Expression” and “In selection” buttons are selected: In Find … Read more
You probably installed Anaconda package. If so, you need to go to Preferences → Package Settings → Anaconda → Settings-User. Then paste the following code and save. Those boxes should be gone. { “anaconda_linting”: false, }
Create a new text document with notepad and save it on your desktop Rename it to OpenWithSublime.bat Put this inside: @echo off SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe rem add it for all file types @reg add “HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3” /t REG_SZ /v “” /d “Open with Sublime Text 3” /f @reg add “HKEY_CLASSES_ROOT\*\shell\Open … Read more
That’s quite simple in Sublime. Just Ctrl+Shift+P (or Command+Shift+P on MacOS) to open the tools pallet, type reindent, and pick Indentation: Reindent Lines. It should reindent all the file you are in, just remember to save before running the command, or it may not appear.
edited My original answer works, but there’s a much better way of doing this, by creating your own build system. This use case is exactly why the feature is there. Go to Tools → Build System → New Build System… (all the way at the bottom) and enter the contents below. Save as C++ 11 … Read more
Using the Sublime Text 3 menu, you can find EDIT -> Code Folding -> which exposes the folding methods and will helpfully tell you the default keyboard shortcuts they are assigned to. By default you press Ctrl+K, then Ctrl+1 to fold all subroutines. Then, to unfold all I would press Ctrl+K then Ctrl+J. If this … Read more
Go to Preferences -> Settings-User and add there: “update_check”: false EDIT : If it’s not working then add this line 127.0.0.1 www.sublimetext.com in your host file File Location Windows : c:/windows/system32/drivers/etc/hosts Linux : /etc/hosts