Coder Social home page Coder Social logo

ololx / empty-new-file Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 4.0 3.25 MB

This is a simple contextual menu extension for creating new blank files by types

License: MIT License

Swift 100.00%
macos open-source mac tool new-file finder macosx macos-app macos-application finder-extension

empty-new-file's Introduction

Empty New File

The Empty New File is a Finder Extension which allows to create an empty new file via contextual menu on macOS.

tag release

osslifecycle last_commit release_date

licence Contributor Covenant FOSSA Status

repo_size languages_code_size languages_count languages_top

platform

📇 Table of Contents

📖 About

The Empty New File is a Finder Extension which allows to create an empty new file. It could be called by right-clicking on selected folders or files and selecting New File from the contextual menu.

Motivation

Sometimes I just want to create a new file through the context menu as in Windows.

📸 Demo

This GIF demonstrates how the Empty New File allows quite simple to create an empty new file in the current directory.

This PIC demonstrates how the Empty New File allows to select files extensions for the creating an empty new file.

🎚 Features

  • Create an empty new file in a several clicks via the context menu.

To Do

  • For more information on an upcoming development, please read the todo list.

Changelog

  • For more information on releases, features and changes, please read the changelog notes.

🚦 Getting Started

These instructions allow to get a copy of this project and run it on a local machine.

Prerequisites

Before using it, make sure that follows software are installed on the local machine:

  • OS X 10.10+ - the operating system under which the extention is executing.

If any of the listed programs is not installed, then it can be installed by instruction as described below.

  1. OS X 10.10+

    • Install macOS 10.10+ by this instruction.

Installing

In order to install it is quite simple to:

  1. Download executable file from releases (or compile it from the sources).

  2. Go to the directory where you download this tool (optionally):

    • via Finder.
    • via Terminal prompt.
    cd /{path to parent dir with this tool}/
  3. Launch the tool in macOS (optionally):

    • via double-click on empty-new-file.app.
    • via Terminal prompt.
    open empty-new-file.app
  4. Open up System Preferences > Extensions and enable the empty-new-file-menu.

Otherwise, it's possible to install and remove the extention using the actual extension bundled into the app.

  1. To install and approve the extension, run this:
pluginkit -a empty-new-file.app/Contents/PlugIns/empty-new-file-menu.appex/
  1. To remove it, run this:
pluginkit -r empty-new-file.app/Contents/PlugIns/empty-new-file-menu.appex/

Downloading

For the downloading executable file or sources to a local machine, just use the follows link and choose a required release:

https://github.com/ololx/empty-new-file/releases/

Cloning

For the cloning this repository to a local machine, just use the follows link:

https://github.com/ololx/empty-new-file.git

🛠 Built With

  • Xcode - the IDE for the Finder Sync Extension development.

🎉 Contributing

If you want to contribute this project - you are welcome and have fun. Please visit the contributing section for details on this code of conduct, and the process for submitting pull requests.

📝 Code of Conduct

In order to ensure that all is welcoming, please review and abide by the code of conduct.

🗒 Versioning

For the versioning is used Semantic Versioning. For the versions available, see the changelog or the tags on this repository.

©️ Authors

  • Alexander A. Kropotin - Initial work - ololx.

🔏 Licensing

This project is licensed under the MIT license - see the lisence document for details.

FOSSA Status

empty-new-file's People

Contributors

fossabot avatar ololx avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

empty-new-file's Issues

new file template

Здравствуйте, Александр.

  1. Сейчас программа создает пустой файл с указанным расширением. Собираетесь ли вы добавить возможность использования шаблонов для некоторых типов файлов? T.е. чтобы в шаблоне можно было указать для *.zsh
    #!/bin/zsh, плюс какой-то комментарий, для *.sh - #!/bin/sh и т.д.
  2. Т.к. список расширений весьма обширный неплохо было бы добавить возможность поиска и функцию отметить все или не отмечать все.
  3. Сейчас выбираем zsh, сохраняем, закрываем программу. Открываем вновь - zsh не отмечен галкой, но в контекстном меню присутствует. Так и должно быть?
  4. Если закрыть окно со списком расширений, но не саму программу то нет возможности снова показать окошко нужен только перезапуск программы.

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.