Code Monkey home page Code Monkey logo

vscode-file-bunny's Introduction

animated image showing a typewriter typing out the following message: leave your mark on the world and dont be afraid to color outside of the lines. The word outside goes outside of the piece of paper

Latest articles ๐Ÿ—ž๏ธ

You can subscribe to my RSS Feed.

Support my work

Did I make something that helped you?

You can consider supporting my work. You can buy me a coffee, or make a regular donation. ๐ŸŒˆ๐Ÿช™

Thanks! ๐Ÿ™

vscode-file-bunny's People

Contributors

gyorgyferenc avatar robole avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

gyorgyferenc

vscode-file-bunny's Issues

Use file icons for Quickpick Items

Currently, it is only possible to use product icons in the label of a QuickPickItem.

Product icons are the built-in icons that are used throughout the editor. The product icons that ship with VS Code are contained in the Codicon icon font and form the default product icon theme. I use the file, symbolic link, and folder icons from this font in the labels.

There is an open issue for adding support for file icons to the QuickPick API. File icons are used next to file names in the UI, and are defined in a file icon theme.

option to not open duplicated file

When I duplicate a file, it's almost always because I want a backup of the file and I do not want to view or edit this duplicate file. It would be great if there were an option to not open a duplicate file.

Thanks for this cool extension! ๐Ÿฐ ๐Ÿ‡

Open File Under Cursor

Very simple feature request is to have File Bunny open the file under cursor. Please include the open to left or right options if possible, otherwise, I'd still be extremely grateful to be able to open the file under the cursor.

Thank you!

Enhancement Idea: After moving a file to a new folder, leave the focus in the source folder

When deleting, this behaviour is an option:

"After the file is deleted, focus is switched to the next open file. This way you can carry on editing without needing to switch view to return to an active state. Other extensions don't do this!"

But after moving a file to another folder, focus moves to the target folder. When cleaning up a folder and moving lots of files around, it would be more efficient to leave the focus on the next file in the source folder.

I guess it's tricky to do, with a few edge cases - have to figure out the name of the file to return to, before the move happens, and what if that's the last file in a folder, or it's removed while the move is happening?

      // return focus to editor
      await vscode.window.showTextDocument(newUri);

But the delete active file does this instead:

      // give focus to next editor
      await vscode.commands.executeCommand("workbench.action.nextEditorInGroup");

Can't install file bunny on VS Code 1.82

Describe the bug

Can't install file bunny on VS Code 1.82. i get the error "Error: Unable to install extension 'robole.file-bunny' as it is not compatible with VS Code '1.82.0'."

To Reproduce

Install robole.file-bunny-2.2.0.vsix fil into VS Code 1.82.

Expected behavior

File Bunny should install without problems. I don't think File Bunny uses very new features of VS Code.

Platform info (please complete the following information):

RHEL 7 Linux

Additional context

I cannot upgrade VS Code on that machine, because of glibc issues.

"open external" commands are now only opening local files in VS Code

It appears VS Code has introduced a bug in vscode.env.openExternal() since v1.56. There is an appropriate fix in the Insiders edition v1.58, therefore the issue should be solved in the next stable release.

Affected commands

  • File Bunny: Open Workspace Folder Externally
  • File Bunny: Open Folder Externally
  • File Bunny: Open File in External App

Expected Behavior

Open folder in OS file manager, or open file in default app.

Actual Behavior:

File/Folder opens in VS Code.

Unable to rename active file

Choosing File Bunny: Rename Active File from the command palette results with an error.

Screenshot
image

Platform info (please complete the following information):
Windows 11 23H2
Visual Studio Code 1.85.0
Electron: 25.9.7
NodeJS: 18.15.0

Add commands for actions (duplicate file, delete file) without opening the file

Currently, there are the following commands that operate on the active file:

  1. File Bunny: Duplicate Active File: Copy the active file and place it somewhere in the current workspace.
  2. File Bunny: Move Active File: Move the active file to another location in the current workspace.
  3. File Bunny: Rename Active File
  4. File Bunny: Delete Active File: Delete the active file. The file is put into the trash (recycle bin).

If you are interested in having an alternate version of these commands where you can choose a file to perform this action on, instead of needing to open the file first, give this issue a ๐Ÿ‘ and specify which ones you are interested in.

Add a custom shortcut to open all Bunny commands directly

Hey there,

Normally if you want to search for a specific command first you need to type ctrl+p then type >bunny. It would be nice to be able to skip that and go directly to the search options.

I've been using the shortcut bellow to achieve that

{ "key": "shift+Space", "command": "workbench.action.quickOpen", "args": ">bunny " }

Of course, people could just add it on their own but it would be nice to have by default to make things a little smoother.

Deleted Files can not be found in Trash (Recycle Bin).

Describe the bug

After I clicked the command Delete File or Delete Active File in VS Code Command Palette,

The deleted files can not be found in Trash (Recycle Bin).

Additional context

  • OS = Windows 10

  • VS Code Version = 1.85.1

Picker does not have focus for certain commands

The picker does not get focus initially for certain command:

  • `Create New Folder
  • `Duplicate Folder
  • Duplicate active file
  • `Move file
  • `Open folder

It appears something has changed in VS Code to cause this.

Not sure if this an issue in Linux only.

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.