EthanBrown.SublimeText2.EditorPackages
- Sublime package featuring the best text editing packages - Abacus, Block Cursor Everywhere, Bracketeer, Bracket Highlighter, Clipboard Manager, ExportHtml, FileDiffs, LiveReload, Markdown Preview, Missing Palette Commands, Related Files, SmartMarkdown, Solarized Color Scheme, StringEncode, SublimeTODO, TrailingSpace - Also includes a custom keybinding package hosted on GitHub - Merges in customized settings for User Preferences - Waiting on RelatedFiles plugin update to finish AngularJS settings
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"quote_scope" : "brackethighlighter.all",
|
||||
"curly_scope" : "brackethighlighter.all",
|
||||
"round_scope" : "brackethighlighter.all",
|
||||
"square_scope": "brackethighlighter.all",
|
||||
"angle_scope" : "brackethighlighter.all",
|
||||
"tag_scope" : "brackethighlighter.all"
|
||||
|
||||
// Outline? (solid|outline|underline|none)
|
||||
//"quote_style" : "outline",
|
||||
//"curly_style" : "outline",
|
||||
//"round_style" : "outline",
|
||||
//"square_style": "outline",
|
||||
//"angle_style" : "outline",
|
||||
//"tag_style" : "outline"
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
/*
|
||||
Sets the default parser for converting markdown to html.
|
||||
Warning for github API : if you have a ST2 linux build, Python is not built with SSL o it may not work
|
||||
|
||||
default - Use the builtin python-markdown2 parser
|
||||
github - User github API to convert markdown, so you can use GitHub flavored Markdown, see http://github.github.com/github-flavored-markdown/
|
||||
*/
|
||||
"parser": "github"
|
||||
}
|
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"installed_packages":
|
||||
[
|
||||
"Abacus",
|
||||
"Block Cursor Everywhere",
|
||||
"Bracketeer",
|
||||
"BracketHighlighter",
|
||||
"Clipboard Manager",
|
||||
"ExportHtml",
|
||||
"FileDiffs",
|
||||
"LiveReload",
|
||||
"Markdown Preview",
|
||||
"Missing Palette Commands",
|
||||
"Related Files",
|
||||
"SmartMarkdown",
|
||||
"Solarized Color Scheme",
|
||||
"StringEncode",
|
||||
"SublimeTODO",
|
||||
"TrailingSpaces",
|
||||
"ZZZ.EthanBrown.SublimeKeyMap.Editor"
|
||||
],
|
||||
"package_name_map": {
|
||||
"SublimeKeyMap.Editor": "ZZZ.EthanBrown.SublimeKeyMap.Editor"
|
||||
},
|
||||
"repositories":
|
||||
[
|
||||
"https://github.com/Iristyle/SublimeKeyMap.Editor"
|
||||
]
|
||||
}
|
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"auto_complete_commit_on_tab": true,
|
||||
"caret_style": "phase",
|
||||
"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme",
|
||||
"draw_white_space": "all",
|
||||
"ensure_newline_at_eof_on_save": true,
|
||||
"font_face": "Source Code Pro",
|
||||
"font_size": 14,
|
||||
"highlight_line": true,
|
||||
"ignored_packages":
|
||||
[
|
||||
"Vintage",
|
||||
"HTML Export",
|
||||
"TrailingSpaces"
|
||||
],
|
||||
"indent_guide_options":
|
||||
[
|
||||
"draw_active",
|
||||
"draw_normal"
|
||||
],
|
||||
"rulers":
|
||||
[
|
||||
50,
|
||||
72,
|
||||
80,
|
||||
120
|
||||
],
|
||||
"tab_size": 2,
|
||||
"todo":
|
||||
{
|
||||
"case_sensitive": true,
|
||||
"file_exclude_patterns":
|
||||
[
|
||||
"*.css",
|
||||
"*.po",
|
||||
"*.mo"
|
||||
],
|
||||
"folder_exclude_patterns":
|
||||
[
|
||||
"generated",
|
||||
"static",
|
||||
"vendor",
|
||||
"tmp"
|
||||
],
|
||||
"patterns":
|
||||
{
|
||||
"BUG": "BUG[\\s]*?:+(?P<bug>.*)$",
|
||||
"FIXME": "FIX ?ME[\\s]*?:+(?P<fixme>\\S.*)$",
|
||||
"HACK": "HACK[\\s]*?:+(?P<hack>.*)$",
|
||||
"NOTE": "NOTE[\\s]*?:+(?P<note>.*)$",
|
||||
"TODO": "TODO[\\s]*?:+(?P<todo>.*)$"
|
||||
},
|
||||
"result_title": "TODO Results"
|
||||
},
|
||||
"translate_tabs_to_spaces": true,
|
||||
"trim_trailing_white_space_on_save": true,
|
||||
"wide_caret": true
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
@@ -0,0 +1,45 @@
|
||||
$package = 'EthanBrown.SublimeText2.EditorPackages'
|
||||
|
||||
function Get-CurrentDirectory
|
||||
{
|
||||
$thisName = $MyInvocation.MyCommand.Name
|
||||
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
|
||||
}
|
||||
|
||||
try {
|
||||
$current = Get-CurrentDirectory
|
||||
|
||||
. (Join-Path $current 'JsonHelpers.ps1')
|
||||
. (Join-Path $current 'SublimeHelpers.ps1')
|
||||
|
||||
$sublimeUserDataPath = Get-SublimeUserPath
|
||||
|
||||
#straight file copies
|
||||
'BracketHighlighter.sublime-settings',
|
||||
'MarkdownPreview.sublime-settings',
|
||||
'RelatedFiles.sublime-settings' |
|
||||
% {
|
||||
$params = @{
|
||||
Path = Join-Path $current $_;
|
||||
Destination = Join-Path $sublimeUserDataPath $_;
|
||||
Force = $true
|
||||
}
|
||||
Copy-Item @params
|
||||
}
|
||||
|
||||
$packageControl = Join-Path $current 'Package Control.sublime-settings'
|
||||
Merge-PackageControlSettings -FilePath $packageControl
|
||||
|
||||
$preferences = Join-Path $current 'Preferences.sublime-settings'
|
||||
Merge-Preferences -FilePath $preferences
|
||||
|
||||
if (Get-Process -Name sublime_text -ErrorAction SilentlyContinue)
|
||||
{
|
||||
Write-Warning 'Please close and re-open Sublime Text to force packages to update'
|
||||
}
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user