Giter Site home page Giter Site logo

kevinch2008 / syncedsidebar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thespyder/syncedsidebar

0.0 2.0 0.0 189 KB

Sublime Text 2 plugin to sync project sidebar (folder view) with currently active file.

JavaScript 20.28% Python 79.72%

syncedsidebar's Introduction

SyncedSideBar

Sublime Text 2 plugin to sync project sidebar (folder view) with currently active file.

Sublime Text 2 highlights only those files that are already expanded. This plugin highlights all files (eg. opened with cmd+p).

Figured out by Mylith at sublimetext.com forum. http://www.sublimetext.com/forum/viewtopic.php?f=2&t=4080

Usage

Note

This plugin works on both Sublime Text 2 and Sublime Text 3 beta. The new capabilities enabled by ST3 are designed to gracefully degrade to the old behaviour on ST2.

When running on ST3 build 3025 or above, the plugin tracks the sidebar visibility. It still forces the sidebar to become visible the first time a window is opened in each Sublime session, but after that the plugin will detect when the sidebar is hidden and stop calling "reveal_in_side_bar" until it is shown again. It will even remember the visible state for each window in a multi-window editing session.

Configuration

SyncedSideBar enables/disables automatic syncing via the setting reveal-on-activate.

If true, syncing will automatically happen. If false, syncing will be disabled.

Helper commands for enabling/disabling automatic syncing are available as 'Side Bar: Enable Sync' and 'Side Bar: Disable Sync'.

This can be found in the Command Palette (Command+Shift+P on Mac, Ctrl+Shift+P on Linux/Windows).

Manually reveal files

Files can be manually revealed via the command 'Side Bar: Reveal File'.

This can be found in the Command Palette (Command+Shift+P on Mac, Ctrl+Shift+P on Linux/Windows).

Installation

Using Package control

This plugin is available through Package Control, which is the easiest way to install it.

Manual installation

Go to your Packages subdirectory under Sublime Text 2 data directory:

  • Windows: %APPDATA%\Sublime Text 2
  • OS X: ~/Library/Application Support/Sublime Text 2
  • Linux: ~/.config/sublime-text-2

Then clone this repository:

git clone git://github.com/sobstel/SyncedSideBar

syncedsidebar's People

Contributors

thespyder avatar sobstel avatar twolfson avatar real34 avatar

Watchers

James Cloos avatar  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.