Code Monkey home page Code Monkey logo

favoritefiles's People

Contributors

facelessuser avatar jostyee avatar mg979 avatar phillipkoebbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

favoritefiles's Issues

More convenient way to add to favorites

Now adding to favorites is implemented very inconveniently.
I ask you to implement a method of adding to favorites by clicking on the file on the tab (1) and in the file tree (2).
this is done by changing a few lines in the settings, it's easy to implement, and the benefits are enormous.

add_fav

Toggle project specific favorites gets reset on Sublime Text restart

Hi! Thanks for a great plugin.

I'm experiencing one issue on every Sublime Text restart: the "Toggle project specific favorites" option gets reset to general non project specific favorites even though I don't close the project when restarting and it gets reopened in the same state. The expected result could be that you toggle that option once per project and then it gets remembered.

add the list of favorite files to a "virtual" folder

Hi, excellent your plugin, I ask a question, you can add the list of favorite files to a "virtual" folder within the project, something like this:

example

thank you very much, sorry for the translation, use Google Translate

[Question] "Quick" add to favorites - keyboard shortcut

Hallo,

Any way to add a file to favorites providing default answers for the default questions?

For example:

{
    "keys": [
      "super+shift+a"
    ],
    "command": "favorite_files_add",
    "args": {
      "Add current file": "true",
      "No group": "true"
    }
  }

Thanks!

Relative paths in per project favorites

It would be nice to have a possibility to have relative paths in per project favorites. Thus we could copy a *-favs.json file from one project to another without a need for manually refavoriting all the files.

For example, many of my projects reuse composer.json, package.json, .gitignore located in the same folders with the same relative paths. With such a feature I could simply copy the favorites file from an old project to a new one or even commit the favorites file to a project boilerplate repo.

Loose of focus after opening a file

I am using FavoriteFiles plugin with Sublime Text 3 and noticed that there is no cursor after opening a favorite file. I need to use a mouse each time. Is this a common behaviour or is it just my configuration?

Favorites created in Windows fail in MacOS and vice-versa

I work cross-platform Mac/Windows these days, and have my Sublime User dir synced via Dropbox. This means that when I create a new Favorite, it shows up on all my computers -- great!

But: if a favorite was created on a Mac, its path gets saved with forward slashes (/Users/thundt/Downloads/foo.txt) and if saved on Windows, it's saved with backslashes (C:\Users\thundt\Downloads\foo.txt).

When I go to open these, there is no error, but rather (if opening a Mac favorite on Windows) presents me with an empty file, marked as modified, or (if opening a Win file on Mac) silently fails (no console output).

Any ideas? Looking at the code, it appears you're just doing this, and letting Sublime worry about any conversion:

                for n in names:
                    if os.path.exists(n):
                        view = self.window.open_file(n)
                        if view is not None:
                            focus_view = view
                            if active_group >= 0:
                                self.window.set_view_index(view, active_group, count)
                            count += 1
                    else:
                        error("The following file does not exist:\n%s" % n)
                if focus_view is not None:
                    # Horrible ugly hack to ensure opened file gets focus
                    def fn(focus_view):
                        """Ensure focus of view."""
                        self.window.focus_view(focus_view)
                        self.window.show_quick_panel(["None"], None)
                        self.window.run_command("hide_overlay")
                    sublime.set_timeout(lambda: fn(focus_view), 500)

One issue is probably the drive letter... silly Windows. It doesn't look like there's a hook I could easily patch into to add a little conversion routine, which is probably what I'd need.

Thanks

Open favorite files no longer works

After taking the update to 3077, the favorite files plugin no longer works. After working around #7 and adding a favorite, I get the following message when I try to open the saved favorite:

screen shot 2015-03-20 at 9 16 03 am

Change group name

Is it possible to edit the name of a favorites group once it's been created? Thanks for this incredibly helpful plugin.

Cheers

Show in sidebar

Bookmarks management, and usage would be greately enhanced if they are in the sidebar.

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.