Giter VIP home page Giter VIP logo

file-ops's Introduction

Hi ๐Ÿ‘‹, I'm Mehul Lakhanpal

A passionate Full-stack developer from India

Side projects

  • Devbox - A UI for local storage
  • E Feed - Emails in the form of feed
  • Array Builder - A free tool to visualize the output of array operations
  • Fireboard - A work tracker for software developers
  • File Ops - A VS Code extension to easily tag/alias files & quick switch between files
  • Note Box - A chrome extension to add notes/todos based on URL
  • Github Marker - A chrome extension to Favorite, Bookmark & Mark link as Read in Github

  • Octon - Manage expenses, todos, goals, progress & personal timeline
  • Codedrops - Micro-blogging on Web development
  • React UI - Custom UI components library for React.js
  • Lib - Custom utils, helpers, hooks & services
  • Notebase - A customizable app for tracking & maintaing notes
  • Templates - Ready to use next-app, next-landing, react-extension, UI library wrappers, dynamic UI generator
  • Bubblegum - All-in-one Node server

Blogs posts

Languages & Tools

javascript mongodb nodejs react redux

Connect with me

Linkedin Dev.to Twitter Medium PH

file-ops's People

Contributors

318097 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

file-ops's Issues

DFS, BFS - file/folder search

  • Search the current folder & children only
  • Search in all folders except the current folder
  • Find the nearest file. ex., if 'header' is typed then show me the nearest 'header' file from the currently opened file

Allow suffix with dots in quickSwitchPairs

It would be great if quickSwitchPairs can accept suffixes including other letters beside [a-z], like dots(.)

I am working with SvelteKit and this looks like a great extension to navigate between svelte page components and server files. This is how my typical folder looks like:

.
โ””โ”€โ”€ nodes
    โ””โ”€โ”€ [nodeId]
        โ”œโ”€โ”€ +page.server.ts
        โ”œโ”€โ”€ +page.ts
        โ”œโ”€โ”€ +page.svelte
        โ”œโ”€โ”€ +error.svelte
        โ”œโ”€โ”€ Node.svelte
        โ””โ”€โ”€ idRefs_action.ts  

(You can find detailed explanations about svelte kit's directory structure on Svelte kit document)

My usage is simple: navigate between the +page* files.
I tried to set fileOps.fileSwitch.quickSwitchPairs as ".svelte/.server.ts,.server.js", but it turns out that it is an unaccepted pattern. The extension specifically tests if the input matches the pattern (extension.ts:L231):

/^(\.[a-z]+)(,(\.[a-z]+))*\/(\.[a-z]+)(,(\.[a-z]+))*$/

which translates to briefly:

  1. comma separated extension(.[a-z]*)s
  2. a slash
  3. comma separated extension(.[a-z]*)s

According to the pattern, .server.ts is invalid because it contains a dot.

I can imagine that you particularly had 'extension' in mind, but this can easily meet further extensions, like 'an extension with numbers, or capital letters'.

My direct request is to "make it accept suffixes, not extensions", so I could match *.server.ts files. Adding a more elaborate patterns would also be a good idea, like accepting regexes in the first place -- that way I could actually confine to "files that start with +page..

What do you think?

Cannot tag non-plain text files

I love this extension and would like to use it for file management.
It seems that I can only create tags for plain text files like .md etc.
Is this the original design of the extension? Thank you.

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.