Sublime Forum

Dev Build 2174

#1

Dev Build 2174 is out now.

Settings have been simplified in this build: the distinction between Base File.sublime-settings and Global.sublime-settings is gone, now thereā€™s just Preferences.sublime-settings. This should help to reduce the confusion about where to place a given setting. When 2174 is first run, it will merge your previous settings files into Preferences.sublime-settings. If you have a plugin that asks for one of the old settings files, itā€™ll receive a handle to Preferences.sublime-settings instead.

The default font on Windows has changed to Consolas. Personally I prefer Courier New, but Consolas is the future, and it doesnā€™t have rendering artifacts where italic and normal text appear to have a different baseline, unlike Courier New. Also on the Windows text rendering side of things, Direct Write rendering (via the hidden ā€œdirectwriteā€ font option) should be improved now, too. Iā€™d like to hear from whoā€™s still having issues with the Direct Write output.

Finally, I believe the remaining automatic indenting issues are resolved now, again, please let me know if this isnā€™t the case.

0 Likes

#2

+1 for consolas as new default
+1 for merged settings file

:smiley:

0 Likes

#3

Yes, Itā€™s much better now :smile:

Is there any update regarding this feature?
https://forum.sublimetext.com/t/auto-complete-box-settings-for-width-and-font-size/3844/1

Thanks a lot, and sorry for my insistence.

0 Likes

#4

Python seems less quirky :smile:

0 Likes

#5

What does the change to the global/file settings mean for plugin authors? Do we need to update all the plugin-specific settings files to be Preferences.sublime-settings ? Will Base File.sublime-settings still work for the time being?

0 Likes

#6

If youā€™re using sublime.load_settings(), you wonā€™t need to change anything.

If youā€™ve provided a Base File.sublime-settings file in your plugin, however, it wonā€™t be picked up any longer.

0 Likes

#7

Great work!

Also, Mac owners can install Consolas too - wezm.net/technical/2009/03/i ā€¦ as-mac-osx - itā€™s a great looking font on the Mac too

0 Likes

#8

Linux: ā€œWord Wrapā€ mode is always enabled and can not be turned off.
Solution settings: ā€œword_wrapā€: ā€œfalseā€ or ā€œtrueā€ and not ā€œautoā€.

0 Likes

#9

[quote=ā€œtanepiperā€]Great work!

Also, Mac owners can install Consolas too - wezm.net/technical/2009/03/i ā€¦ as-mac-osx - itā€™s a great looking font on the Mac too[/quote]

What about Linux users?

0 Likes

#10

[quote=ā€œgourā€]
What about Linux users?[/quote]

A quick google search leads to: romej.com/archives/571/conso ā€¦ de-editing

0 Likes

#11

I love the fact that settings are merged. Some times it was pain when youā€™re in a rush to get them in the right place!

0 Likes

#12

thanks for the update. it looks like the formatting for setting the theme has changed. any suggestions for getting the Soda theme working again? thanks again

0 Likes

#13

Nevermind, figured it out. Added the ā€˜themeā€™ line to the Preferences > Settings ā€“ Users

{
ā€œcolor_schemeā€: ā€œPackages/Color Scheme - Default/Twilight.tmThemeā€,
"theme": ā€œSoda Dark.sublime-themeā€,
ā€œfont_faceā€: ā€œConsolasā€,
ā€œfont_sizeā€: 11.0
}

0 Likes

#14

[quote=ā€œtanepiperā€]Great work!

Also, Mac owners can install Consolas too - wezm.net/technical/2009/03/i ā€¦ as-mac-osx - itā€™s a great looking font on the Mac too[/quote]

If you have a recent version of Office Mac installed, you already have it.

Also, check this out: http://hivelogic.com/articles/top-10-programming-fonts/

0 Likes

#15

OSX: when the default settings have the entry ā€œword_wrapā€: ā€œautoā€ then word wrap canā€™t be activated, neither through the user settings or the menu.

0 Likes

#16

I just came across this as well.

0 Likes

#17

Appreciate the update as always. However this build has been pretty buggy for our team. We noticed that our settings for ignored files and folders (ā€œfolder_exclude_patternsā€ and ā€œfile_exclude_patternsā€) were blown away, presumably something to do with merging User and Global settings. Another things weā€™ve noticed is that weā€™re seeing word wrapping, even though ā€œword_wrapā€: false in Settings - User. We can change it in Settings - Default and it works, but when using Settings - User like before, it does not override it. Sounds like this one has been mentioned a couple times.

0 Likes

#18

On OSX I canā€™t get word_wrap to work any longer.

0 Likes

#19

Nope, JavaScript and JSON auto-indent is still broken. I must revert to 2172 to fix.

Hereā€™s a nice little animation for you.

EDIT: here is my Preferences file. When I delete all packages & restart, the indent seems to work, so it must be one of these settings.

{
	"auto_complete_commit_on_tab": true,
	"auto_complete_with_fields": true,
	"auto_match_enabled": true,
	"color_scheme": "Packages/User/colors/DanroST2.tmTheme",
	"detect_indentation": true,
	"draw_indent_guides": true,
	"fade_fold_buttons": false,
	"folder_exclude_patterns":
	
		".svn",
		".git",
		".hg",
		"CVS",
		"dist"
	],
	"font_face": "Monaco",
	"font_options":
	
		"no_antialias"
	],
	"font_size": 11.0,
	"ignored_packages":
	
		"Vintage"
	],
	"jshint_options":
	{
		"asi": true,
		"browser": true,
		"eqnull": true,
		"evil": true,
		"expr": true,
		"laxcomma": true,
		"loopfunc": true,
		"trailing": true,
		"undef": true,
		"validthis": true
	},
	"line_padding_top": 1,
	"match_selection": false,
	"open_files_in_new_window": false,
	"scroll_past_end": true,
	"scroll_speed": 0,
	"sublimelinter_delay": 1,
	"tab_size": 2,
	"theme": "Soda Dark.sublime-theme",
	"translate_tabs_to_spaces": true,
	"tree_animation_enabled": false,
	"trim_automatic_white_space": false,
	"word_separators": "./\\()\"'-:,.;<>~!#%&^*|+=]{}`~?"
}
0 Likes

#20

Not sure when, but ā€œtab characterā€ is not working as expected. ā€œtabā€ should insert a ā€œtabā€ and nothing more.

In the following example cursor is at the end

[code]
class nada:

def nada():
	hoola()

|[/code]

When I hit ā€œTABā€ cursor changes to :

[code]
class nada:

def nada():
	hoola()

	|[/code]

ā€œTABā€ should work as a tab character, instead of trying to guess

0 Likes