Giter Site home page Giter Site logo

sublimescraps's Introduction

Sublime Scraps

This repository contains a mixed bag of simple Sublime Text 3 plugin examples and customizations that are probably better stored as gists, but what can I say, I'm a rebel.

Some of the contents are customizations that I use myself that others may find useful, possibly as a jumping off point for their own user specific customizations.

Others are small snippets of code that I've worked up in response to other users questions (e.g. on the Sublime forum or Stack Overflow) that I have been keeping in my User package.

Everything provided here is without warranty and with the proviso that as a C programmer and not a Python programmer, much of this is probably ugly to the gurus out there. Also some code is meant to be proof of concept and thus may not cover all use cases or scenarios.

The layout of the files here is:

  • customizations contains files that I keep in my own User package that I use day to day. This does not include my settings, however.

  • macros contains some sample macros (commented with an associated key binding) which illustrate how easy it is to customize Sublime to work your way.

  • snippets contains sample snippets that I have in my user package that others may find useful. Maybe. Probably not.

  • scratch_files is a simple plugin that I use all the time when playing around with code samples. See the README in there for more information.

  • config_popup is another simple plugin I made to make my life easier. It opens a small pop-up with configuration related entries only, including one for editing project specific settings. Handier than using the menu as not all of the options listed are in the command palette by default.

  • indent_test is a simple prototype plugin that performs tests on the indent rules in Sublime in a manner similar to how the internal syntax file testing works.

  • plugins is a bunch of one-off plugin samples that I have worked up in response to helping others (great excuse to learn the Sublime API) to stop them from getting lost in the mists of time, although I'm sure nobody would notice if they did.

  • quick_panel is a list of examples for using the Sublime text quick_panel in more complex ways than just a simple list of text.

  • build_enhancements is similar to plugins except that here the commands are for modifying how a sublime-build file is used. This allows for things like custom variables in command lines and selecting the command to build at runtime instead of hard coding it.

  • session_cleaner is a Python script that cleans the recent workspaces section of the Session.sublime_session file so that projects that no longer exist don't show up in the project switch panel.

  • package_bootstrap is example code that shows how one might construct a Sublime Text dependency that contains Sublime resources and have the dependency bootstrap those resources into a sublime-package package file and keep it up to date.

sublimescraps's People

Contributors

odatnurd avatar keith-hall avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.