Repository: mjhea0/sublime-setup-for-python
Branch: master
Commit: fde7f9746236
Files: 11
Total size: 4.2 KB
Directory structure:
gitextract_pe9w_r96/
├── .gitignore
├── dotfiles/
│ ├── Default (OSX).sublime-keymap
│ ├── Package Control.sublime-settings
│ ├── Preferences.sublime-settings
│ ├── Python.sublime-settings
│ ├── close_tabs.py
│ ├── copy_path_to_clipboard.py
│ └── snippets/
│ ├── pdb.sublime-snippet
│ └── unittest.sublime-snippet
├── readme.md
└── requirements.txt
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.DS_Store
================================================
FILE: dotfiles/Default (OSX).sublime-keymap
================================================
[
// advanced new file
{ "keys": ["super+n"], "command": "advanced_new_file_new"},
// Copy file name
{
"keys": ["super+shift+c"],
"command": "copy_path_to_clipboard"
},
// Close all other tabs
{
"keys": ["super+alt+w"],
"command": "close_tabs"
}
]
================================================
FILE: dotfiles/Package Control.sublime-settings
================================================
{
"installed_packages":
[
"AdvancedNewFile",
"Anaconda",
"Djaneiro",
"Emmet",
"GitGutter",
"Markdown Preview",
"requirementstxt",
"SideBarEnhancements",
"SublimeLinter",
"SublimeLinter-csslint",
"SublimeLinter-html-tidy",
"SublimeLinter-jshint",
"SublimeLinter-json",
"SublimeLinter-pep8",
"SublimeLinter-pyflakes",
"SublimeLinter-pyyaml",
"Theme - Flatland",
"Theme - Soda",
"Tomorrow Color Schemes"
]
}
================================================
FILE: dotfiles/Preferences.sublime-settings
================================================
{
"auto_complete": false,
"auto_complete_commit_on_tab": true,
"auto_match_enabled": true,
"bold_folder_labels": true,
"caret_style": "solid",
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme",
"detect_indentation": true,
"draw_indent_guides": true,
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
"*.DS_Store",
"*.pyc",
"*.git"
],
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
],
"font_face": "Menlo",
"font_options":
[
"no_round"
],
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"indent_to_bracket": true,
"line_padding_bottom": 0,
"line_padding_top": 0,
"match_brackets": true,
"match_brackets_angle": false,
"match_brackets_braces": true,
"match_brackets_content": true,
"match_brackets_square": true,
"new_window_settings":
{
"hide_open_files": true,
"show_tabs": true,
"side_bar_visible": true,
"status_bar_visible": true
},
"remember_open_files": true,
"remember_open_folders": true,
"save_on_focus_lost": true,
"scroll_past_end": false,
"show_full_path": true,
"show_minimap": false,
"tab_size": 2,
"theme": "Flatland Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_simple_full_screen": true,
"vintage_start_in_command_mode": false,
"wide_caret": true,
"word_wrap": true
}
================================================
FILE: dotfiles/Python.sublime-settings
================================================
{
// editor options
"draw_white_space": "all",
// tabs and whitespace
"auto_indent": true,
"rulers": [79],
"smart_indent": true,
"tab_size": 4,
"trim_automatic_white_space": true,
"use_tab_stops": true,
"word_wrap": true,
"wrap_width": 80
}
================================================
FILE: dotfiles/close_tabs.py
================================================
import sublime_plugin
class CloseTabs(sublime_plugin.TextCommand):
def run(self, edit):
window = self.view.window()
group_index, view_index = window.get_view_index(self.view)
window.run_command(
'close_others_by_index',
{'group': group_index, 'index': view_index}
)
================================================
FILE: dotfiles/copy_path_to_clipboard.py
================================================
import sublime
import sublime_plugin
class CopyPathToClipboard(sublime_plugin.TextCommand):
def run(self, edit):
line_number, column = self.view.rowcol(self.view.sel()[0].begin())
line_number += 1
sublime.set_clipboard(self.view.file_name() + ':' + str(line_number))
================================================
FILE: dotfiles/snippets/pdb.sublime-snippet
================================================
<!-- Type pdb and press tab to insert `import pdb; pdb.set_trace` -->
<snippet>
<content><![CDATA[
import pdb; pdb.set_trace()
]]></content>
<tabTrigger>pdb</tabTrigger>
<scope>source.python</scope>
</snippet>
================================================
FILE: dotfiles/snippets/unittest.sublime-snippet
================================================
<!-- Type testcase and press tab to insert a unittest.TestCase class -->
<snippet>
<content><![CDATA[
class ${1:ClassTestName}(unittest.TestCase):
def setUp(self):
${2:pass}
def tearDown(self):
${3:pass}
]]></content>
<tabTrigger>testcase</tabTrigger>
<scope>source.python</scope>
<description>Adds a unittest TestCase skeleton at current pointer</description>
</snippet>
================================================
FILE: readme.md
================================================
## Setting up Sublime Text 3 for Full Stack Python Development
Check out the blogpost here - **https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/**
================================================
FILE: requirements.txt
================================================
gitextract_pe9w_r96/ ├── .gitignore ├── dotfiles/ │ ├── Default (OSX).sublime-keymap │ ├── Package Control.sublime-settings │ ├── Preferences.sublime-settings │ ├── Python.sublime-settings │ ├── close_tabs.py │ ├── copy_path_to_clipboard.py │ └── snippets/ │ ├── pdb.sublime-snippet │ └── unittest.sublime-snippet ├── readme.md └── requirements.txt
SYMBOL INDEX (4 symbols across 2 files)
FILE: dotfiles/close_tabs.py
class CloseTabs (line 4) | class CloseTabs(sublime_plugin.TextCommand):
method run (line 6) | def run(self, edit):
FILE: dotfiles/copy_path_to_clipboard.py
class CopyPathToClipboard (line 5) | class CopyPathToClipboard(sublime_plugin.TextCommand):
method run (line 7) | def run(self, edit):
Condensed preview — 11 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5K chars).
[
{
"path": ".gitignore",
"chars": 9,
"preview": ".DS_Store"
},
{
"path": "dotfiles/Default (OSX).sublime-keymap",
"chars": 280,
"preview": "[\n // advanced new file\n { \"keys\": [\"super+n\"], \"command\": \"advanced_new_file_new\"},\n // Copy file name\n {\n \"keys"
},
{
"path": "dotfiles/Package Control.sublime-settings",
"chars": 569,
"preview": "{\n \"installed_packages\":\n [\n \"AdvancedNewFile\",\n \"Anaconda\",\n \"Djaneiro\",\n \"Emmet\",\n "
},
{
"path": "dotfiles/Preferences.sublime-settings",
"chars": 1647,
"preview": "{\n \"auto_complete\": false,\n \"auto_complete_commit_on_tab\": true,\n \"auto_match_enabled\": true,\n \"bold_folder_"
},
{
"path": "dotfiles/Python.sublime-settings",
"chars": 286,
"preview": "{\n // editor options\n \"draw_white_space\": \"all\",\n\n // tabs and whitespace\n \"auto_indent\": true,\n \"rulers\""
},
{
"path": "dotfiles/close_tabs.py",
"chars": 329,
"preview": "import sublime_plugin\n\n\nclass CloseTabs(sublime_plugin.TextCommand):\n\n def run(self, edit):\n window = self.vie"
},
{
"path": "dotfiles/copy_path_to_clipboard.py",
"chars": 298,
"preview": "import sublime\nimport sublime_plugin\n\n\nclass CopyPathToClipboard(sublime_plugin.TextCommand):\n\n def run(self, edit):\n"
},
{
"path": "dotfiles/snippets/pdb.sublime-snippet",
"chars": 227,
"preview": "<!-- Type pdb and press tab to insert `import pdb; pdb.set_trace` -->\n\n<snippet>\n <content><![CDATA[\nimport pdb; pdb."
},
{
"path": "dotfiles/snippets/unittest.sublime-snippet",
"chars": 418,
"preview": "<!-- Type testcase and press tab to insert a unittest.TestCase class -->\n\n<snippet>\n <content><![CDATA[\nclass ${1:Cla"
},
{
"path": "readme.md",
"chars": 194,
"preview": "## Setting up Sublime Text 3 for Full Stack Python Development\n\nCheck out the blogpost here - **https://realpython.com/b"
},
{
"path": "requirements.txt",
"chars": 0,
"preview": ""
}
]
About this extraction
This page contains the full source code of the mjhea0/sublime-setup-for-python GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 11 files (4.2 KB), approximately 1.5k tokens, and a symbol index with 4 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.