Code Monkey home page Code Monkey logo

folder-aliaser's Introduction

Folder Aliaser

Alias your project folders quickly and easily! Right-click on any top-level folder in the Side Bar and choose "Alias Folder...". It's helpful to resolve name collisions or to provide friendlier names for folders.

This plugin works by modifying your current sublime-project file. Specifically, it edits the name property of items in the folders array. If this is an issue, then the current version of this plugin won't work for you, but please let me know so I can look at alternative solutions!

There exists a similar project (FolderAlias, see Thanks below) that is no longer maintained. This project exists to be simpler (from both user and code perspectives) and maintained.

Installation

Install via Package Control (installation instructions and usage guide).

Open the Goto Anything palette, run Package Control: Install Package, and select Folder Aliaser.

Usage

Right-click on any top-level folder in the Side Bar, choose "Alias Folder", and type the alias you want. Simple!

Contributions, issues, questions, etc.

Please feature branch from master and submit a pull request. And please submit any issues you find!

This is my first Sublime Text plugin so there are a ton of comments; should be pretty easy to follow.

Thanks

This project was inspired by rablador's FolderAlias plugin and a desire to provide an easier way to alias folders without having to manually edit a JSON file.

License

The code is free to use.

folder-aliaser's People

Contributors

tedmiston avatar tmelot2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

folder-aliaser's Issues

Invalid syntax in save()

Specifically the dictionary unpacking on line 58 of the plugin. The syntax being used was added in Python 3.5 and Sublime runs on 3.3.6.

From the console:

>>> import sys
>>> sys.version_info
sys.version_info(major=3, minor=3, micro=6, releaselevel='final', serial=0)

See this comment in the PR for more context. I saw this thread where it is mentioned that they backport 3.4 patches to their own maintained 3.3.

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.