sublimetext3

Why can't turn off the Sublime 3 updates notification by adding “update_check”:false in user setting file?

做~自己de王妃 提交于 2019-12-03 23:55:27
I want to turn off the Sublime 3 updates notification, so I go to Preferences -> Settings-User and edited it like this: { "auto_close_tags": true, "font_size": 18, "hot_exit": false, "remember_open_files": false, "show_encoding": true, "update_check": false } but it doesn't work. There is no way to turn this off, unless you have registered your version of Sublime. Sublime Text 3 is still in "beta" status, so it is strongly advised that you upgrade when a new version is available to get the latest features and bug fixes. If you don't want to upgrade quite so often, make sure you are using the

Sublime colorize :javascript block in haml

喜你入骨 提交于 2019-12-03 23:23:58
I have sublime 2/3 and the colorize inside a :javascript block doesn't work fine. The package is this https://sublime.wbond.net/packages/Haml Actually they says that: "Text inside Ruby, ERB, Javascript, Sass, and CSS filters are now properly recognized so you get all the syntax highlighting, snippets, commands, etc." but in sublime it doesn't work. For me, sublime 3, comes installed with Rails package. This also provide "Ruby Haml". If you press ctrl + alt + p and type haml you will probably see two Set Syntax: Ruby Haml . The best solution for me was also install ApplySyntax and in it's user

Unicode Encode Error in Sublime Text 3 console

我只是一个虾纸丫 提交于 2019-12-03 20:41:40
I’m always getting a 'UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in position 0: ordinal not in range(128)' in the sublime text 3 console when trying to print a non-ascii character. I'm using Anaconda Python Builder to build the system. Building the system with the built-in “python” runs perfectly (i.e. prints out non-ascii characters fine) and also running the script from the terminal works fine (i'm running the script on Mac OS Sierra). I assume the problem must have something to do with the Anaconda Python Builder and I thought adding the default encoding to the Anaconda

Sublime Text 3 and Terminal prompt for OS X Mavericks?

≯℡__Kan透↙ 提交于 2019-12-03 18:19:26
问题 I'm trying to set-up Sublime Text 3 on OS X Mavericks and getting levels of frustration. I've followed all of the usual suspects in regards to installation and setup, i.e. Googling the Sublime Text website, and Stack Overflow. Inevitably it's something minor I'm missing, but it's causing me major heartburn. What I've done so far: Downloaded Sublime Text 3, sitting in my /Applications directory Followed the guide Launch Sublime Text 2 from Mac Terminal The problems starts here. I know that the

Sublime Text 3, convert spaces to tabs

一笑奈何 提交于 2019-12-03 18:18:22
问题 I know there are a lot of posts about this, but I couldn´t get it to work. I use tabs for coding. Is there a way, to convert always spaces to tabs? I.e. on open and on Save files? Anyone got an idea? // edit: My desire is to do this automatically ! -> open, save or on the fly Does anyone know how to do? I tried this: import sublime, sublime_plugin, os class ExpandTabsOnSave(sublime_plugin.EventListener): # Run ST's 'expand_tabs' command when saving a file def on_pre_save(self, view): if view

How to enable brackethighlighter plugin in sublime text 3?

戏子无情 提交于 2019-12-03 17:15:51
I am using sublime text 3 build 3059 , brackethighlighter plugin is installed but not working how to make it work ? i tried several solutions but no effect. here is screenshot: The plugin is working - you'll notice in your screenshot that the opening and closing {} brackets are bold underlined in white (the default style), and are also shown in the gutter, next to the line numbers. If you want to customize the display more, first open Preferences -> Package Settings -> Bracket Highlighter -> Bracket Settings - User . It will be blank at first. Next, open ... -> Bracket Settings - Default .

How to run command on save in Sublime Text 3?

隐身守侯 提交于 2019-12-03 17:01:06
问题 Sublime Text offers built-in commands, such as paste , new_window , toggle_comment etc. In addition, some plugins offer their own commands that can be used for key binding. Can I force any of these commands to be ran on file save? The reason I need is because I'd like to run CSScomb on file save instead of / in addition to having key binding for it. The command name is css_comb . 回答1: Sublime-hooks package allows you to run packages based on event (on new, on save, etc.), so you can use it to

Installing multiple packages in sublime text 3

蹲街弑〆低调 提交于 2019-12-03 16:15:14
When installing packages in Sublime Text 3, is there anyway I can tick all the ones I want from a list, and then install them in one go? Or do I have to click Preferences > Package Control > Install Package, for every single package I'd like to install? Notepad++ for instance has a nice list with checkboxes... Just use Preferences > Package Control > Package Control: Advanced Install Package . Then you can enter a comma-separated package list, e.g. ConvertToUTF8,MarkdownEditing,SublimeLinter,SublimeREPL . Also, note that you could just press cmd shift p (on OS X) or ctrl shift p (on Windows)

Is there a way to change the font in the status bar Sublime Text 3?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 14:33:14
I am searching for a method to change the font of status bar of Sublime Text 3.. Is there a way to do it? I tried changing system fonts (I am on Ubuntu 12.04), searching through Google gave me no hints.. Thanks It's only possible to do in the .sublime-theme file: // Status bar label { "class": "label_control", "parents": [{"class": "status_bar"}], "color": [140,140,140], "font.size": 11, "font.face": "Droid Sans Mono" }, If you can't find any .sublime-theme , mentioned in accepted answer : (To make it explicitly clear:) Override any current theme by creating a Default.sublime-theme file under

“Unexpected trailing character” in sublime when trying to edit preferences

点点圈 提交于 2019-12-03 13:18:16
I'm trying to change my sublime theme/colour scheme and i get 'unexpected trailing characters' When I try to save the /User/Preferences.sublime-settings with this config { "theme": "Afterglow-green.sublime-theme", "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme" } { "tabs_small": true } I can't work out why I would be getting that message? Your settings files in Sublime (all of them) need to be valid JSON . Yours should be as follows: { "theme": "Afterglow-green.sublime-theme", "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme", "tabs_small": true } Note that